# sproto-js **Repository Path**: zwguang/sproto-js ## Basic Information - **Project Name**: sproto-js - **Description**: No description available - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-11 - **Last Updated**: 2021-02-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # sprotojs [云风的 c语言版 sproto](https://github.com/cloudwu/sproto) [KAndQ js版sproto](https://github.com/KAndQ/sproto-js.git) #### 功能 --- - [x] 普通字符串 string - [x] 二进制字符串binary - [x] 最大52位整数integer - [x] 符点数integer(n) - [x] 布尔类型 boolean - [x] 数组类型 *integer, *boolean, *string, *struct - [x] 带索引的数组类型 *struct(key) - [x] host 函数 (add by [KAndQ](https://github.com/KAndQ/sproto-js.git)) - [x] attach 函数 (add by [KAndQ](https://github.com/KAndQ/sproto-js.git)) - [x] dispatch 函数 (add by [KAndQ](https://github.com/KAndQ/sproto-js.git)) - [x] 代码可读性, 格式化修改 (add by [KAndQ](https://github.com/KAndQ/sproto-js.git)) - [x] 示例 **(node test.js)** (add by [KAndQ](https://github.com/KAndQ/sproto-js.git)) - [x] typescript 支持 **(import * as sproto from "./sproto")** (add by [KAndQ](https://github.com/KAndQ/sproto-js.git)) - [x] sproto_dump 实现, sproto 对象增加 dump 方法 (add by [KAndQ](https://github.com/KAndQ/sproto-js.git)) #### spb 文件生成工具 [sprototool](https://github.com/zhangshiqian1214/sprototool.git) [spbtool](https://github.com/zhangshiqian1214/spbtool.git)