unicodechar-string

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i unicodechar-string

Weekly Downloads

71

Version

1.0.0

License

MIT

Unpacked Size

3.78 kB

Total Files

9

Last publish

Collaborators

  • rishi