Simplifies authoring JS template tags like foo`...`
string template tags for safely composing shell strings
Allow projects control over which dependencies can create objects that encapsulate security guarantees.
A simple LRU Cache, a Map that has a maximum number of entries and which discards the least recently used items first.
Module identity as a basis for privilege separation for ESM & CommonJS modules
XSS mitigation for Polymer webcomponents that uses safe html type contracts
Monkeypatch JSON to distinguish parsed objects from those that originate in user code.
infer class types for bags of properties
string template tags for safely composing MySQL and PostgreSQL query strings
XSS prevention for Pug templates with typesafe exceptions
Contract types for common web application languages: HTML, JS, CSS, URL
Security-relevant metadata about HTML elements and attributes
Relates type enums to guard function names
Scrubs attribute blocks at PUG render time
Load Pug templates via require()