@steerprotocol/matador-core
v0.0.2
Published
Programmatic compiler and bytecode encoder for Matador policies
Downloads
0
Readme
@steerprotocol/matador-core
Programmatic compiler and bytecode encoder for Matador policies.
Install
npm install @steerprotocol/matador-coreCompile a policy
import { compile } from '@steerprotocol/matador-core';
const result = await compile(`
fn main() -> bool {
return true;
}
`);The package includes TypeScript declarations and uses ES modules. See the repository documentation for the supported policy syntax and compiler API.
