José Quiñones Flores 4564da0130 Added Laravel project and removed sensitive data | il y a 4 ans | |
---|---|---|
.. | ||
lib | il y a 4 ans | |
maps | il y a 4 ans | |
test | il y a 4 ans | |
.travis.yml | il y a 4 ans | |
LICENSE | il y a 4 ans | |
index.js | il y a 4 ans | |
package.json | il y a 4 ans | |
readme.md | il y a 4 ans |
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