Hacker News new | ask | show | jobs
New Secure-Filters NPM Module for Simpler Output Sanitization (goinstant.com)
12 points by adamdennis 4586 days ago
2 comments

Always happy to see new input sanitization libraries, but most don't deal with the especially difficult problem of safe subsets of HTML. i.e. How to accept html from an untrusted source, apply whitelisted tag/attribute combinations, and ensure safe output.
The github repo can be found at https://www.github.com/goinstant/secure-filters