← nopea.tech
ScaneaConsenteaMaskeaBundlesPricing

Docs

@nopeatech/maskea — everything checked against the actual shipped code.

← Back to Maskea

Getting started

npm install @nopeatech/maskea
import { Maskea, retries, budget, secrets, pii, logging } from "@nopeatech/maskea";
import OpenAI from "openai";

const openai = new OpenAI();

const maskea = new Maskea()
  .use(retries({ max: 3, backoff: "exponential" }))
  .use(budget({ maxMonthlyUsd: 50 }))
  .use(secrets({ mode: "mask" }))
  .use(pii({ mode: "mask" }))
  .use(logging({ format: "pretty" }));

const chat = maskea.wrap(
  openai.chat.completions.create.bind(openai.chat.completions)
);
Middleware Reference →
Every option for retries(), budget(), secrets(), pii(), validation(), and logging() — with the actual defaults and behavior, not just the type signature.
CLI Reference →
Every command — init, doctor, inspect, stats, explain, simulate, benchmark, dashboard, telemetry — what it does and what its output actually looks like.
Local Dashboard →
Architecture, storage, security, and troubleshooting for maskea dashboard.
Nopea Studio →
Build your pipeline visually and export a real maskea.config.ts — runs entirely in your browser.
Recipes →
27 copy-paste-ready code examples across providers, frameworks, and patterns.
Privacy & Telemetry →
Exactly what the SDK's anonymous telemetry sends, what it never sends, and how to disable it.