prc b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
..
lib b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
maps b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
test b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
.travis.yml b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
LICENSE b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
index.js b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
package.json b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
readme.md b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ

readme.md

entities NPM version Downloads Build Status Coverage

En- & decoder for XML/HTML entities.

How to…

…install entities

npm i entities

…use entities

var entities = require("entities");
//encoding
entities.encodeXML("&");  // "&"
entities.encodeHTML("&"); // "&"
//decoding
entities.decodeXML("asdf & ÿ ü '");  // "asdf & ÿ ü '"
entities.decodeHTML("asdf & ÿ ü '"); // "asdf & ÿ ü '"

License: BSD-2-Clause