Files
regorus/bindings/wasm/README.md
T
Anand Krishnamoorthi 055bdd295f WASM binding (#114)
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
2024-01-27 22:14:29 -08:00

29 lines
529 B
Markdown

# regorus-wasm
**Regorus** is
- *Rego*-*Rus(t)* - A fast, light-weight [Rego](https://www.openpolicyagent.org/docs/latest/policy-language/)
interpreter written in Rust.
- *Rigorous* - A rigorous enforcer of well-defined Rego semantics.
See [Repository](https://github.com/microsoft/regorus).
`regorus-wasm` is Regorus compiled into WASM.
## Usage
In nodejs,
``javascript
var regorus = require('regorus-wasm')
// Create an engine.
var engine = new regorus.Engine();
// Add Rego policy.
engine.add_policy()
```