unicodechar-string
v1.0.0
Published
Convert unicode escape sequence to a character!
Downloads
532
Maintainers
Readme
unicodechar-string
Convert unicode escape sequence to a character!
Install
$ npm install --save unicodechar-string
Usage
const unicodestring = require('unicodechar-string');
const str = unicodestring('I wish I were a \ud83e\udd84, so I could stab idiots with my head!');
console.log(str)
// => 'I wish I were a 🦄, so I could stab idiots with my head!'
License
MIT © Rishi Giri