UNPKG

encodehtml

Version:

escaping and unescaping HTML entities – commonly needed utils to prevent XSS attacks when rendering user generated content

30 lines (29 loc) 747 B
{ "name": "encodehtml", "version": "0.1.0", "description": "escaping and unescaping HTML entities – commonly needed utils to prevent XSS attacks when rendering user generated content", "main": "index.js", "scripts": { "test": "mocha" }, "repository": { "type": "git", "url": "git+https://github.com/jsjaskaran/encodehtml.git" }, "keywords": [ "filter", "html", "XSS", "prevention" ], "author": "Jaskaran <jaskarans13@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/jsjaskaran/encodehtml/issues" }, "homepage": "https://github.com/jsjaskaran/encodehtml#readme", "devDependencies": { "chai": "^3.5.0", "mocha": "^3.1.0" } }