caoge c760052ff9 机车状态修改 il y a 8 mois
..
lib c760052ff9 机车状态修改 il y a 8 mois
maps c760052ff9 机车状态修改 il y a 8 mois
test c760052ff9 机车状态修改 il y a 8 mois
.travis.yml c760052ff9 机车状态修改 il y a 8 mois
LICENSE c760052ff9 机车状态修改 il y a 8 mois
index.js c760052ff9 机车状态修改 il y a 8 mois
package.json c760052ff9 机车状态修改 il y a 8 mois
readme.md c760052ff9 机车状态修改 il y a 8 mois

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