Fast schema parser using C++ under the hood for performance.
In order to use this package, an architecture of windows-x86_64
,
linux-x86_64
, macos-x86_64
or macos-aarch64
is required.
jsr
registry:deno add @hello/blueprint
import { b } from "@hello/blueprint";
using handle = await b.init();
const schema = b.object({ name: b.string(), age: b.number().min(18), });
const data = { name: "Javi", age: 21, };
const result = b.parse(schema, data);
Add Package
deno add jsr:@hello/blueprint
Import symbol
import * as blueprint from "@hello/blueprint";
---- OR ----
Import directly with a jsr specifier
import * as blueprint from "jsr:@hello/blueprint";