google-caja

0.0.2 • Public • Published

node-caja-sanitizer

Port of the google caja html sanitizer library.

Use

Require the library and go

var sanitize = require('html-css-sanitizer').sanitize;
var result = sanitize('test<script>console.log("hi there");</script>');

More info

https://code.google.com/p/google-caja/wiki/JsHtmlSanitizer

Readme

Keywords

none

Package Sidebar

Install

npm i google-caja

Weekly Downloads

859

Version

0.0.2

License

Apache 2.0

Last publish

Collaborators

  • kumobuta