mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 18:05:20 +00:00
.. | ||
.npmignore | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md | ||
test.js |
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'