npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ajnas-browser-research

v0.1.4

Published

Governed browser research harness with deterministic step logs, citation capture, policy hooks, approvals, and provenance exports for Ajnas agent infrastructure.

Readme

Ajnas Browser Research

ajnas-browser-research is an MIT-licensed browser research harness for enterprise agent infrastructure. It wraps browser, search, crawl, and note adapters with deterministic policy decisions, replayable step logs, citation capture, human approval gates, and hash-chained provenance receipts.

The package is not a browser engine and does not depend on Playwright, Crawlee, hosted browsers, or a model provider. Those tools can be registered behind the adapter interface; Ajnas records the governed run around them.

What Ships

  • BrowserResearchHarness for running declarative browser research plans.
  • ReplayBrowserAdapter for deterministic tests, fixtures, and audit replay.
  • validateBrowserResearchPlan and deterministic plan digests for ajnas.browser.research.plan.v1.
  • Per-step policy decisions for allowed origins, allowed actions, blocked origins, step ceilings, required citations, and approval-required actions.
  • Human approval request objects that bind the run id, plan id, step id, input digest, and policy digest.
  • Citation normalization for search results, opened pages, extraction claims, crawled pages, and notes.
  • BrowserResearchAuditLedger with hash-chained receipts.
  • Report and provenance bundle verification helpers.
  • Optional signed provenance bundles.
  • ajnas-browser-research CLI with validate, digest, run, verify-report, and provenance.

Install

npm install ajnas-browser-research

Basic Use

import {
  ReplayBrowserAdapter,
  runBrowserResearchPlan,
  verifyBrowserResearchReport
} from "ajnas-browser-research";

const report = await runBrowserResearchPlan(plan, {
  adapter: new ReplayBrowserAdapter(replayRecords),
  runId: "run_release_fixture"
});

console.log(report.status);
console.log(verifyBrowserResearchReport(report).valid);

CLI

ajnas-browser-research validate fixtures/release-browser-plan.json
ajnas-browser-research digest fixtures/release-browser-plan.json
ajnas-browser-research run fixtures/release-browser-plan.json fixtures/replay-adapter-records.json > report.json
ajnas-browser-research verify-report report.json
ajnas-browser-research provenance report.json > provenance.json

Plan Shape

Plans use ajnas.browser.research.plan.v1:

{
  "schema": "ajnas.browser.research.plan.v1",
  "id": "release-research",
  "objective": "Collect public release evidence",
  "policy": {
    "allowedOrigins": ["https://github.com", "https://www.npmjs.com"],
    "allowedActions": ["search", "open", "extract", "note"],
    "maxSteps": 8,
    "citationRequired": true,
    "requireApprovalForActions": ["crawl"]
  },
  "steps": [
    {
      "id": "search-browser-controls",
      "action": "search",
      "purpose": "Find public metadata",
      "query": "browser automation trace provenance"
    }
  ]
}

Adapter Boundary

Adapters can use a local browser, a hosted browser session, an internal search service, or a crawler. The harness only requires action methods such as search, open, extract, crawl, and note.

This keeps the Ajnas contract original:

  • Browser engines stay optional and replaceable.
  • Policy decisions are made before adapter execution.
  • High-risk steps fail closed until approval is resolved.
  • Outputs are summarized by default; full page text is retained only when retainFullText is true.
  • Citations and output digests survive without storing raw browser state.

Security Model

The harness does not bypass access controls, paywalls, CAPTCHA, anti-bot systems, or robots.txt. Production adapters should enforce network allowlists, credential handling, tenant isolation, page timeouts, and browser sandboxing outside this package. See SECURITY.md.

Publish

Version 0.1.4 is selected for the maintained Node 22/24/26 metadata and coordinated peer-floor patch. It is not a public release until the trusted workflow and registry verification succeed.