Package: wnpp Severity: wishlist Owner: Edward Betts <[email protected]> X-Debbugs-Cc: [email protected]
* Package name : node-cssfilter Version : 0.0.11 Upstream Author : Zongmin Lei <[email protected]> * URL : https://github.com/leizongmin/js-css-filter * License : MIT Programming Lang: JavaScript Description : CSS declaration sanitizer with configurable allowlist This library parses CSS property declarations, removes comments and filters properties and values against a default or custom allowlist. . Rules can allow or reject individual properties, match values with regular expressions or validate them with callback functions. Additional callbacks can replace the output for allowed or rejected declarations and customize value filtering. This library is a dependancy of Home Assistant, the Python smart home platform. I plan to maintain it as part of the Home Assistant team. Also this library is required for the xss node package (RFP: #892826).

