@decionis/presence-node
v0.2.0
Published
Official server-side Node.js SDK for the Presence verification API.
Readme
Human Presence Verification for Node.js
Presence SDK — verify human presence before consequential actions execute.
Applications send intent and context. Presence verifies the person. Decionis decides whether execution proceeds.
Install
npm install @decionis/presence-nodeexport PRESENCE_API_KEY='presence_sk_…'Thirty seconds to a verdict
import { randomUUID } from "node:crypto";
import { PresenceClient } from "@decionis/presence-node";
const presence = new PresenceClient({
baseUrl: process.env.PRESENCE_API_URL ?? "https://presence.decionis.com",
apiKey: process.env.PRESENCE_API_KEY,
});
const result = await presence.runSandboxScenario("allow", `quickstart-${randomUUID()}`);
console.log(result.policy_verdict);The fixture is signed with evidence_class: sandbox_fixture and always runs in Shadow
Mode. Tenant credentials belong on trusted servers only.
What happens
Application
↓
Intent + Context
↓
Presence
↓
Biometrics
↓
Liveness
↓
Presence Record
↓
Decionis Verdict
↓
ContinueEvery Presence Check produces a signed Presence Record — portable evidence of who approved what, where, when, and on which device.
Quickstart
Install
↓
Configure
↓
Send Intent
↓
Receive Presence Result
↓
Verify Signature
↓
DoneFive minutes: docs/quickstart.md.
Supported scenarios
Wire Transfer
Treasury
Password Reset
Executive Meeting
Vendor Change
AI ApprovalExamples
| Example | What it proves | | ----------------------------- | ----------------------------------------------------- | | simple | Your first Presence Check. | | banking | A wire transfer with a verified Presence Record. | | zoom | An executive meeting instruction held for review. | | treasury | A treasury wire read through Shadow Mode enforcement. |
Documentation
Product documentation lives at presence.decionis.com.
Support
License
Apache-2.0. Use of the hosted Presence service is governed separately.
