wazuh-kibana-app/node_modules/xml-escape
2016-06-28 19:30:19 -07:00
..
.npmignore Initial commit 2016-06-28 19:30:19 -07:00
index.js Initial commit 2016-06-28 19:30:19 -07:00
LICENSE Initial commit 2016-06-28 19:30:19 -07:00
package.json Initial commit 2016-06-28 19:30:19 -07:00
README.md Initial commit 2016-06-28 19:30:19 -07:00
test.js Initial commit 2016-06-28 19:30:19 -07:00

xml-escape

Escape XML in javascript (NodeJS)

npm install xml-escape

// Warning escape is a reserved word, so maybe best to use xmlescape for var name var xmlescape = require('xml-escape');

xmlescape('"hello" 'world' & false < true > -1')

// output // '"hello" 'world' & true < false > -1'