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>');
Port of the google caja html sanitizer library.
Require the library and go
var sanitize = require('html-css-sanitizer').sanitize;
var result = sanitize('test<script>console.log("hi there");</script>');
npm i google-caja
811
0.0.2
Apache 2.0