Pug Trusted Types Plugin Monorepo
This is an umbrella project. ./packages/plugin is the best place to get started.
Hooks into Pug to add Trusted Types checks to key attributes to reduce the risk of XSS.
Security-relevant metadata about HTML elements and attributes
Homepage Repository npm JavaScript Download
npm install pug-contracts-trusted-types@1.0.5-alpha
This is an umbrella project. ./packages/plugin is the best place to get started.
Hooks into Pug to add Trusted Types checks to key attributes to reduce the risk of XSS.