1.0.0 • Published 6 years ago

unicodechar-string v1.0.0

Weekly downloads
390
License
MIT
Repository
github
Last release
6 years ago

unicodechar-string Build Status

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