JSPM

unicodechar-string

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 62
  • Score
    100M100P100Q78755F
  • License MIT

Convert unicode escape sequence to a character!

Package Exports

  • unicodechar-string

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (unicodechar-string) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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