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

@aipathway/conformance

v1.12.0

Published

Run a published AI Pathway build standard against your own build, on your machine, and get a fixture you can act on.

Readme

@aipathway/conformance

Run a published AI Pathway build standard against your own build, on your own machine, before you talk to anybody.

npx @aipathway/conformance init booked-after-hours-build-standard
cd booked-after-hours-build-standard && npm install && node run.mjs

That writes a folder that runs: the harness, a build file to implement, and one scenario per check carrying that check's own words. Every check starts red. Going green is the work, and a green run means something because a red one was possible.

npx @aipathway/conformance list     # the standards
npx @aipathway/conformance show <slug>   # every check, what it injects, what it asserts
npx @aipathway/conformance json <slug>   # the same, for your own harness
npx @aipathway/conformance init <slug> [dir]
npx @aipathway/conformance connect [dir] [--wait]   # a key for the hosted step

Getting the key

Where a standard names one of our providers, the second run is against us, and that needs a key. connect gets one without leaving the terminal: it prints a link and a code, the account owner opens the link, signs in, checks the code and approves, and the key is written to .env beside the scaffold (git-ignored; run.mjs reads it). It never asks for the scope that makes a phone ring. Then it prints what the account still needs, with the link the owner opens to connect their job system or ledger, and --wait keeps checking until they have.

What init writes

| file | whose | what | |---|---|---| | build.mjs | yours | the build. The only file that does the job | | scenarios.mjs | yours | one holds per check, generated with the check's own words | | run.mjs | ours | fetches the checks, runs, prints. No edits needed | | AGENTS.md | ours | the same instructions, written for a coding agent |

It does not look for, patch or launch your existing code. It writes a new folder beside it, because guessing how somebody's project boots is how a tool becomes a framework.

What this is

Each standard is a set of numbered checks. Most of them can be proved on a stub on your laptop. A few cannot: they need a live number, a real ledger or a real register, and those say so rather than failing you for not having one.

The verdicts mean different things and each one has a different next step.

| verdict | meaning | what you do | |---|---|---| | pass | asserted green here | nothing | | fail | asserted red here | this is a fixture. It names one check | | shape_only | shape holds on the stub, truth needs the live provider | re-runs when you switch provider | | with_us | cannot be proved here | the step the standard says not to hand-roll | | evidence_required | not a software check | go and do it, then attach what proves it |

A fail is the useful one. It names a single check, carries what went in and what your build did, and is enough to act on without anybody reconstructing your business.

The one rule that makes it work

Everything your build does to the outside world goes through the ports. The runner owns the world your build writes into, so a build that calls a vendor SDK directly leaves that world empty and the run reports no write observed through the port rather than quietly passing. That is not pedantry: it is the only way a result means anything.

import { StubWorld, runStandard, fetchChecks } from "@aipathway/conformance";

const std = await fetchChecks("booked-after-hours-build-standard");

// Your build takes the ports and does the job. Nothing else.
const build = (p) => {
  p.disclose("This is an AI assistant and the call is being recorded.");
  const said = p.hear() ?? "";
  const addr = p.resolveAddress(said);
  if (!addr?.inArea) return;
  const open = p.findOpenJob("+61400000001");
  if (open) return void p.updateJob(open.id, "intent-1");
  const job = p.writeJob({ phone: "+61400000001", address: addr.resolved, type: "emergency" }, "intent-1");
  if (job) p.notify("on-call", job.id, "emergency");
};

You supply a scenario per check: the world it starts in, how to drive your build, and what "held" means. The check tells you what to inject and what to assert; the scenario is the few lines that connect that to your code.

The checks are not in this package

They are fetched from the site, so a standard corrected on Tuesday does not need a release here, and you cannot end up conformant against a stale copy. The package is the harness. The site is the standard.

The standards

50 of them, each one a job that leaks money in an Australian small business or network. Every one publishes its checks as data at the same /checks.json path.

| Standard | The job | |---|---| | booked-after-hours | The phone answered out of hours, the job written once | | debtor-chasing | Overdue invoices chased against a live ledger | | rent-arrears | Arrears worked without breaching a tenancy rule | | database-reactivation | A dormant contact list worked properly | | invoice-check | Subcontractor invoices matched before they are paid | | rejected-pack | Paperwork that fails after the work is done | | compliance-calendar | Obligations that fall due on somebody else's schedule | | cited-answer | Answers that carry their source and stop when it moves | | multi-site-conformance | Branches that have quietly diverged | | fire-service-pack | Service evidence bound to the right asset | | quote-out | A job that exists turned into a draft quote, priced only from the book | | advice-file | Every interview becomes one file the next person can pick up | | knowledge-graph | A fact lives once, and retiring a source takes its answers with it | | knowledge-base | Everything the business relies on, in one place, with a name on it | | invoice-out | The invoice exists the day the job finishes, one per job, priced only from the book | | dispatch-board | The right person at the right house at the right time, told once | | inbox-triage | Nothing in the inbox lost, nothing answered that a person should answer | | follow-up | The quote decision or document owed, chased until it arrives and not after | | two-records | Two systems say the same thing, and a person sees both numbers first | | timesheet-check | Every hour traced to a person, a day and a job before payroll | | material-order | Materials ordered from the job, from the catalogue, once | | recurring-report | The report on schedule, every figure traced to its source | | cash-seam | One record from the call to the chase, each carrying the id of the one before | | simpro-claude-connector | Claude on your own Simpro, on your own key, touching nothing a customer sees | | price-one-pager | The vendor sees where the price came from, and the record proves it later | | open-home-feedback | Every open-home attendee followed up with your yes, and the vendor told what buyers said | | just-sold-pack | A sale nearby told to the neighbours, every message approved by a person | | review-request | Every customer asked for a review the same way once the job is finished, never filtered by score | | next-service | Service and warranty dates derived from a schedule, a reminder with consent, one booking request per yes | | document-filing | Every arriving document on its record by the number printed on it, or on one list for a person | | remittance-split | One deposit split across its invoices as one batch equal to it, held whole until every line is explained | | client-desk | The phone answered in business hours and the customer kept told, every time from the job record | | virtual-admin | The whole office admin role: the desk and the money path on one job, a complaint on the phone stops the invoice | | client-memory | What the business knows about each client: the AI proposes, a person approves, every standard reads it by client id | | job-close | The job card filled in from site: priced only from the book, confirmed by the tech, written once, then complete | | job-brief | A morning brief per tech built only from the job system, every line citing its record, nothing guessed | | exception-desk | Everything every standard parks, in one queue with a record id, an owner and a clock, closed only by a person | | parts-ready | Tomorrow's jobs checked against the van and the shelf the afternoon before, a shortfall ordered through Material Order or flagged, nothing substituted | | fault-triage | Every fault sorted against your written list: fixed on the phone only from a written procedure, a job when someone has to go, anything unsafe to the emergency path | | progress-claim-draft | Draft: the month's progress claim drafted from the schedule, the site assessment and signed variations, behind a recorded waiver, and held for the builder to serve | | takeaway-orders | Pickup orders and tables by phone and web chat, paid by link before the kitchen ticket prints | | uncoded-query | One plain question list a month per client for the bank lines nobody can code, a coding suggested from their own chart, and written once only after a person approves it | | bas-ready-check | Before the BAS is lodged, one list of GST exceptions for the bookkeeper or BAS agent, every flag citing its transaction, read only | | customer-link | Which records in which systems are one customer, proposed on a strong key, linked by a person, read by every standard | | rules-and-holds | The business's limits, release lists, do-not-contact list, contact hours and stage holders written once and read by every bot, with anything over a limit held for a named person | | hand-off | Every step hands a job to the next as one envelope of refs, one holder at a time, a repeated event does nothing, and every hand-over kept in a log anyone can read | | month-end-close | Every close item passed, failed or could not check with its evidence, then a person signs off, approved journals post once and the lock date moves forward | | ledger-write-preview | Before anything is written into the ledger, a preview recomputed from the inputs with the exact journal, released by a named person, written once and read back | | duplicate-bill-hold | Before each pay run, every approved supplier bill compared with the bills waiting and paid, and anything that looks like a duplicate or a changed bank account held for a person, with both bills side by side | | ledger-core | The rules any double-entry ledger a build keeps must obey (whole cents, balanced and frozen journals, reversals, a lock date, a hash chain, reports from journals, GST labels, cutover), with a golden test suite that runs as it is |

Also available

Who publishes this

AI Pathway, Brisbane. We publish the standards free and sell the one step in each that should not be hand-rolled, which is usually the part carrying an Australian legal obligation a machine cannot hold: a live number with AI disclosure, Do Not Call Register checks, calling hours by state, and a record that survives a dispute.

If a check will not come good, send the failing run from the foot of that standard's page. It names one check, so it gets a fixed price rather than a discovery call.

Licence

CC BY 4.0. The standards are free to implement, free to fork, and free to build a competing product against. If a check is wrong, say so: the fastest way is to run it and send what came out.