Skip to content

v0.3.1

Released 3 July 2026. Available on npm as orino-cli and @bynaree/orino.

Terminal window
npm install @bynaree/orino
  • auditToJson() programmatic entry point. A new library export runs the full audit pipeline and returns the same JSON payload as --json, without printing to stdout, prompting, or calling process.exit — so you can embed Orino in a web app, a job runner, or any long-lived Node process instead of shelling out to the CLI.

    import { auditToJson } from '@bynaree/orino'
    const result = await auditToJson({ url: 'https://example.com', pages: 10 })
    console.log(result.score.value, result.score.band)

    It accepts a focused options subset — url, dir, framework, pages, psiKey, psiStrategy, noCodebase, noUrl, ignore, severity, and thresholds — and, unlike the CLI’s runAudit, never touches stdout or exits the process. A bare url scan defaults to URL-only (no codebase on disk), and psiKey falls back to the ORINO_PSI_KEY environment variable. This is the entry point the Orino dashboard uses to run audits server-side.