Convert Unicode characters to HKSCS-2016
npm install hkscs_unicode_converter
const hkscsConverter = require('hkscs_unicode_converter');
const str = hkscsConverter.convertCharacter('');
const str2 = hkscsConverter.convertString('香');
Output should be 港
and 香港
npm test
or yarn test
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.