Skip to content

lepture/sanitize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sanitize

sanitize html for safety.

Build Status Coverage Status

Installation

Component install with:

$ component install lepture/sanitize

SPM install with:

$ spm install lepture/sanitize

API

var sanitize = require('sanitize')
var html = sanitize('<script>alert('foo')</script><div>bar</div>')

License

MIT

About

sanitize html for safety.

Resources

Stars

Watchers

Forks

Packages

No packages published