Fundamental policies alleviate the developer of the burden of correctly writing security policies, and the built-in composability mechanisms provides the flexibility of imperative specifications.
GG().onCall(document, "createElement") .with(GG().arg(GG.equals, GG().targ(0, String), 'iframe')) .deny();
Guardia installation requires almost no effort. The unique requirement that you need to use Guardia is inlude its implementation in your code. This can be done by using an script tag in an HTML page or by requiring Guardia's npm package.
const GG = require('guardia');