Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 718 Bytes

README.md

File metadata and controls

27 lines (14 loc) · 718 Bytes

hkscs_unicode_converter

Build Status

Convert Unicode characters to HKSCS-2016

Installation

npm install hkscs_unicode_converter

Usage

const hkscsConverter = require('hkscs_unicode_converter');

const str = hkscsConverter.convertCharacter('');
const str2 = hkscsConverter.convertString('香');

Output should be and 香港

Tests

npm test or yarn test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.