Isomorphic HTML sanitize HTML sanitizer for Node and the browser Install npm install isomorphic-html-sanitize Usage const sanitize = require('isomorphic-html-sanitize'); sanitize('A hacky HTML piece of code') License MIT