New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started
p

pieterbotes

npm

3.56K

total weekly downloads

Packages

Current Co-maintainers

Former Co-maintainers

18 packages

@aria-framework/ai

Aria App Framework — AI module. A dependency-injected model seam (createAiClient) over several providers (LM Studio / OpenAI-compatible / Anthropic), with a fact-preservation guard, generic Polish and Generate writing engines, and a browser polish widget.

@aria-framework/api-auth

Aria App Framework — api-auth module. Bearer-token authentication for mobile/API clients: a short-lived access JWT plus an OPAQUE refresh token stored only as a hash, single-use rotation in one transaction, reuse detection that revokes the family, an opti

@aria-framework/ask

Aria App Framework — ask module. "Ask anything": a read-only question box over an app's own records — plan, run the app's tools in the asker's own request, answer from fenced results, check every figure and link, audit. Ships the loop, the answer check, t

@aria-framework/auth

Aria App Framework — auth module. An injectable RBAC permission resolver (createRbac) and an Express staff-session guard + permission gates (createAuth). Catalog, DB loader, session hooks, and views all injected; no app-specific content baked in.

@aria-framework/backup

Aria App Framework — backup core. Streaming authenticated archive envelope (scrypt + AES-256-GCM, framed), filename contract, grandfather-father-son retention, local + SFTP destinations with host-key pinning, compatibility guards, and the boot-time restor

@aria-framework/db-worker

Aria App Framework — db-worker module. Async RPC bridge over synchronous better-sqlite3: a worker-thread dispatcher (runWorker), a main-thread client with per-call timeouts and crash handling (DbClient), and a SQLite layer with WAL pragmas + a numbered-mi

@aria-framework/email

Aria App Framework — outbound email module. Outbound provider dispatcher (SMTP via nodemailer, Microsoft 365 via Graph /me/sendMail with msal-node) behind one send interface, plus inbound intake (IMAP) delivering a normalised message to an app handler; ap

@aria-framework/kit

Aria App Framework — kit module. Small dependency-free server utilities: open-redirect guard (safeReturnTo), SQL LIKE escaping, magic-byte upload validation (fileSniff), Crockford base32 tracking IDs, and person-name compose/split helpers.

@aria-framework/mentions

Aria App Framework — mentions module. @-mention parsing and picker rules: emails in prose are not mentions, a picked name is rewritten to its username collision-proof, and the browser half matches on username, display name or email.

@aria-framework/mobile

Aria App Framework — mobile module. The phone half of an Aria app (Expo / React Native): an API client for the shared /api/v1 contract (tokens in SecureStore, single-flight refresh, Entra PKCE sign-in, authed downloads + cache, multipart upload), an AuthP

@aria-framework/notify

Aria App Framework — notify module. In-app notifications: ownership-scoped rows, a per-process SSE hub for live delivery (with topics, caps per session, user, audience and process, and a per-event authorise hook for live pages), and a fire-and-forget emit

@aria-framework/oidc-client

Aria App Framework — oidc-client module. Signs an app's staff in through the hub as OpenID Connect provider: discovery, authorization code + PKCE S256 with state and nonce, id_token checks with a bounded clock skew, an app-supplied user hook, RP-initiated

@aria-framework/report

Aria App Framework — report rendering. CSV serialisation (RFC-4180, BOM, formula-injection guard with the plain-number exemption), the pdfmake report document as a mechanism with injected cell/total rendering and theme, normaliseSvg, and a CSP-safe inline

@aria-framework/secure-keystore

Aria App Framework — secure-keystore module. 256-bit key management (OS keychain via keytar, secure file fallback), AES-256-GCM field encryption, and a schema-driven SQLite-backed credential store.

@aria-framework/server

Aria App Framework — server module. Process lifecycle spine: graceful shutdown coordinator, the DB-worker death policy (exitCode + graceful SIGTERM), crash handlers, and an HTTPS-or-HTTP listen helper. Handlers register before the worker spawns; the serve

@aria-framework/testkit

Aria App Framework — test infrastructure. The ✓/✗ micro test-harness (createHarness — which counts the ASSERTIONS a check executed rather than merely that its callback returned, refuses a raw ok() that carries no condition or declared reason, and fails a

@aria-framework/theme

Aria App Framework — theme module. Field Ops Console design system: tokens.json single source of record + a generator that emits a Bootstrap 5.3 web theme (theme.css + self-hosted fonts) and a React Native palette/provider/primitives. Light + dark.

@aria-framework/uploads

Aria App Framework — uploads module. The safe half of accepting a file over HTTP: the multer gate bound to a CSRF check that cannot be omitted, orphan cleanup on rejected requests, magic-byte verification, and MIME presets. The destination stays the app's