arnweb-chat/node_modules/entities
2019-08-24 22:42:58 +02:00
..
lib Removed HTML tags and added Markdown support. 2019-08-24 22:42:58 +02:00
maps Removed HTML tags and added Markdown support. 2019-08-24 22:42:58 +02:00
test Removed HTML tags and added Markdown support. 2019-08-24 22:42:58 +02:00
.travis.yml Removed HTML tags and added Markdown support. 2019-08-24 22:42:58 +02:00
index.js Removed HTML tags and added Markdown support. 2019-08-24 22:42:58 +02:00
LICENSE Removed HTML tags and added Markdown support. 2019-08-24 22:42:58 +02:00
package.json Removed HTML tags and added Markdown support. 2019-08-24 22:42:58 +02:00
readme.md Removed HTML tags and added Markdown support. 2019-08-24 22:42:58 +02: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