npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

unicorne

1.0.1 • Public • Published

Unicorne

Convert a unicode string to a string of Javascript escape sequences.

Installation

Install via npm.

npm install unicorne

Usage

var unicorne = require('unicorne');
 
unicorne('La proprietà [{0}] della classe [{1}] con valore [{2}] non è un URL valido');
// > La propriet\\u00e0 [{0}] della classe [{1}] con valore [{2}] non \\u00e8 un URL valido

install

npm i unicorne

Downloadsweekly downloads

8

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability