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

@starci/eslint-canon-be

v1.2.1

Published

The StarCi back-end lint canon: every rule its laws publish, gathered as one flat-config plugin.

Readme

@starci/eslint-canon-be

37 ESLint rules, from 15 laws, that hold a NestJS-shaped back end to one way of being written.

Not a style pack. These rules enforce architecture: which layer may import which, whether a failure carries its own identity, where a query is allowed to be built, what an end-to-end test is permitted to assume. Prettier decides how code looks; this decides what it is allowed to be.

npm i -D @starci/eslint-canon-be

Use it

import starciBe, { recommended } from "@starci/eslint-canon-be"

export default [
    // …your own ignores, language options and other plugins…
    {
        files: ["src/**/*.ts"],
        plugins: { "starci-be": starciBe },
        rules: recommended,
    },
]

Which globs the law applies to is your repository's fact. What the law says is not — so there is no option to switch a rule off or lower it to a warning.

Also exported: rules, ruleOwners, lawOwners.

What it actually catches

A sample, not the list:

| Area | What the rules hold | |---|---| | Exceptions | Every failure throws a domain exception carrying its own identity and metadata — never a bare Error, never a framework built-in, never an exception declared outside the exceptions folder | | CQRS | A handler does not assemble an aggregate inline; reads and writes do not share one path | | Module layering | An import that climbs a layer it was not given is a build failure, not a review comment | | Data access | Queries stay where the layer says they may be built | | Transport | The wire shape is declared, not inferred from whatever a handler happened to return | | Observability | A failure is logged as a typed exception, so a log line can be traced to the law that names it | | End-to-end flows | One file, one flow, named steps, and never sleep — poll until the state settles, with a deadline | | CDC · event delivery | Projections and events follow the declared delivery contract | | Comments · naming · type safety | Comments say why; no double cast through unknown |

Every rule names the law that declares it — ruleOwners maps rule name to law, so a failing build line leads straight to the document that explains why.

Companion

  • @starci/eslint-canon-fe — the front-end half: 58 rules from 16 laws covering component tiers, structure contracts, the fetch/draw split, vendor boundaries and the design-token scale.

Where the laws live

Each rule is the enforceable half of a written law. The prose — why the rule exists, what it refuses, which cases sit just outside it — is published openly at starci183/starci-claude-skills.

A rule that cannot be pointed at in real code is a proposal, not a law. Everything here is pointed at.

Requirements

ESLint 9+ (flat config), Node 20.9+.