Snow 1d0b9c5323 增加了node环境 il y a 1 mois
..
lib 1d0b9c5323 增加了node环境 il y a 1 mois
maps 1d0b9c5323 增加了node环境 il y a 1 mois
test 1d0b9c5323 增加了node环境 il y a 1 mois
.travis.yml 1d0b9c5323 增加了node环境 il y a 1 mois
LICENSE 1d0b9c5323 增加了node环境 il y a 1 mois
index.js 1d0b9c5323 增加了node环境 il y a 1 mois
package.json 1d0b9c5323 增加了node环境 il y a 1 mois
readme.md 1d0b9c5323 增加了node环境 il y a 1 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