@nodora/client
v0.0.3
Published
Nodora platform client for ruleset evaluation
Downloads
363
Readme
@nodora/client
A lightweight client for the Nodora platform. Evaluate business rules in your application with built-in caching, event batching, and multi-environment support.
Installation
npm install @nodora/clientQuick start
import { NodoraClient } from "@nodora/client";
const client = new NodoraClient({
apiKey: "apikey_abc123...",
});
const checkout = client.ruleset("Checkout");
const result = await checkout.evaluate("IsDiscountEligible", {
total: 100,
pastCustomer: true,
});For detailed information, see the official documentation.
License
MIT
