José Quiñones Flores 4564da0130 Added Laravel project and removed sensitive data | 4 年前 | |
---|---|---|
.. | ||
lib | 4 年前 | |
maps | 4 年前 | |
test | 4 年前 | |
.travis.yml | 4 年前 | |
LICENSE | 4 年前 | |
index.js | 4 年前 | |
package.json | 4 年前 | |
readme.md | 4 年前 |
En- & decoder for XML/HTML entities.
entities
npm i entities
entities
var entities = require("entities");
//encoding
entities.encodeXML("&"); // "&"
entities.encodeHTML("&"); // "&"
//decoding
entities.decodeXML("asdf & ÿ ü '"); // "asdf & ÿ ü '"
entities.decodeHTML("asdf & ÿ ü '"); // "asdf & ÿ ü '"
License: BSD-like