Content Security Policy
Write your Content-Security-Policy header in JavaScript.
This package will validate your CSP directives and compute a crypographic hash for each CSS/JS snippet that you inlined in your HTML.
🔗 https://github.com/jackdbd/content-security-policy