google-caja
v0.0.2
Published
Node wrapper for the Google Caja HTML/CSS sanitizer
Downloads
4,998
Readme
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>');