sanitize html for safety.
Component install with:
$ component install lepture/sanitize
SPM install with:
$ spm install lepture/sanitize
var sanitize = require('sanitize')
var html = sanitize('<script>alert('foo')</script><div>bar</div>')
MIT
| Name | Name | Last commit date | ||
|---|---|---|---|---|