~/Projects/fast-gbk
git clone https://code.lsong.org/fast-gbk
fast-gbk
encode and decode utf8 to 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.