encode and decode utf8 to gbk string as fast as possible
$ npm install fast-gbk
const { encode, decode } = require('fast-gbk');
const str = '你好,世界!';
const arr = encode(str);
console.log(decode(arr));
- 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
This work is licensed under the MIT license.