NewsBlur/node/node_modules/entities
2020-06-15 18:45:05 -04:00
..
lib Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00
maps Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00
test Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00
.travis.yml Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00
index.js Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00
LICENSE Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00
package.json I don't know why mercury parser is being so persnickity but it is. 2020-06-15 18:45:05 -04:00
readme.md Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00

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