npm.io
0.0.1 • Published 7 years ago

fast-gbk

Licence
MIT
Version
0.0.1
Deps
0
Size
152 kB
Vulns
0
Weekly
0
Stars
3

fast-gbk 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.


Keywords