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

@precepts/standards

v0.2.4

Published

Multi-discipline standards for software teams - machine-readable, AI-native, human-friendly

Downloads

1,005

Readme

Precepts Standards

Built for humans. Ready for agents.

The canonical source of multi-discipline standards for the Precepts platform. Standards are published as machine-readable Markdown with YAML frontmatter, consumable by both humans and AI agents.

Install

npm install @precepts/standards

Usage

Standards are plain Markdown files with structured YAML frontmatter. Consume them however you need:

import { readFileSync } from 'fs';
import matter from 'gray-matter';

// Read a standard
const raw = readFileSync(
  'node_modules/@precepts/standards/standards/integration/standards/api/resource-design.md',
  'utf-8'
);
const { data, content } = matter(raw);

console.log(data.identifier); // "INTG-STD-008"
console.log(data.status);     // "MANDATORY"
console.log(data.domain);     // "INTEGRATION"

Disciplines

| Discipline | Prefix | Directory | |---|---|---| | Integration | INTG | standards/integration/ | | Product Management | PRD | standards/product/ | | UX | UX | standards/ux/ | | Project Management | PRJ | standards/project-management/ |

Integration Standards (Batch 1)

| Identifier | Name | Status | |---|---|---| | INTG-STD-004 | Naming Conventions | MANDATORY | | INTG-STD-005 | Character Encoding | MANDATORY | | INTG-STD-006 | Backward and Forward Compatibility | MANDATORY | | INTG-STD-008 | API Resource Design | MANDATORY | | INTG-STD-009 | API Error Handling | MANDATORY | | INTG-STD-015 | Event Envelope (CloudEvents) | MANDATORY | | INTG-STD-029 | Observability | MANDATORY | | INTG-STD-033 | Resilience Patterns | MANDATORY | | INTG-STD-034 | Retry Policy | MANDATORY | | INTG-STD-035 | Timeout | MANDATORY |

Standards Schema

Each standard has YAML frontmatter validated against schema/standards.schema.json:

---
identifier: INTG-STD-008
name: API Resource Design
version: 1.0.0
status: MANDATORY
domain: INTEGRATION
documentType: standard
category: protocol
---

Required fields: identifier, name, version, status, domain, documentType

Identifier pattern: [INTG|PRD|PRJ|UX|SEC]-[STD|GDL|GOV|BP]-NNN

Status values: DRAFT, MANDATORY, RECOMMENDED, DEPRECATED

Content Conventions

  • ## Rules for prescriptive instructions (not "Requirements")
  • RFC 2119 keywords (MUST, SHOULD, MAY) bolded throughout
  • Rule numbering: ### R-N: Title as H3 headings
  • Concept-level examples (pseudocode), not technology-specific
  • 200-300 lines per standard

Validation

npm run validate          # check frontmatter + required sections
npm run validate:strict   # warnings become errors

Ecosystem

This package is consumed by:

  • precepts-dev/platform - Docusaurus site, MCP server, validator
  • precepts-dev/engine - Commercial compliance scanning engine (private)
  • Your tools - build anything on top of these standards

Contributing

Standards proposals and revisions are welcome. Each standard follows the template in schema/document-standard-template.md.

  1. Fork this repo
  2. Create a new standard or modify an existing one
  3. Run npm run validate to check your changes
  4. Open a PR

License

CC BY-SA 4.0 - see LICENSE for details.

All standards are freely usable by individuals, companies, and AI tools, with attribution and share-alike.