utf8-binary
A fast UTF-8 encoding and decoding.
Future works (not implemented yet)
- Web browsers
Installation
# npm npm install utf8-binary # yarn yarn add utf8-binary
Usage
const utf8toBin binToUtf8 = ; const bin = ; // '\xc2\x80' const buf = Buffer;; // '\u0080'
Tests
Run tests as follows:
npm run test
License
Copyright © 2018-present Alex Masterov <alex.masterow@gmail.com>
utf8-binary is licensed under MIT and can be used for any personal or commercial project.