0.0.1 • Published 5 years ago
fast-gbk v0.0.1
fast-gbk
encode and decode gbk string as fast as possible
Installation
$ npm install fast-gbk
Example
const { encode, decode } = require('fast-gbk')();
const str = '你好,世界!';
const arr = encode(str);
console.log(decode(arr));
Contributing
- Fork this Repo first
- Clone your Repo
- Install dependencies by
$ npm install
- Checkout a feature branch
- Feel free to add your features
- Make sure your features are fully tested
- Publish your local branch, Open a pull request
- Enjoy hacking <3
MIT
This work is licensed under the MIT license.