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

stackcraft-core

v0.1.8

Published

Deterministic CLI to generate production-ready backend systems from versioned templates.

Downloads

863

Readme

StackCraft Core

Deterministic CLI for generating production-ready backend systems from versioned templates.

What StackCraft Does

StackCraft helps developers generate backend API projects that are:

  • buildable
  • testable
  • Docker-ready
  • environment-configured
  • CI-ready
  • BrikByteOS-compatible
  • validated through deterministic release checks

It is designed for developers who want repeatable project scaffolding without manually wiring the same backend foundation again and again.

Install

npm install -g stackcraft-core

Or run directly:

npx stackcraft-core stackcraft --version

Installed CLI command:

stackcraft --version

Generate a Backend API

stackcraft init --name billing-api --type backend-api

Generate into a specific directory:

stackcraft init --name billing-api --type backend-api --output ./tmp

Generated Project Commands

cd billing-api
npm install
npm run build
npm test

Portable tests only:

npm run test:portable

Docker readiness:

cp .env.example .env
docker compose up -d
docker build .

Validate a Generated Project

stackcraft validate --path ./billing-api

JSON output:

stackcraft validate --path ./billing-api --json

Environment Diagnostics

stackcraft doctor
stackcraft doctor --json

Current Template

StackCraft Core currently ships with:

typescript-backend-api

Generated output includes:

package.json
tsconfig.json
Dockerfile
docker-compose.yml
.dockerignore
.env.example
src/
tests/
.bb/config.json
.bb/policies/default.rego
README.md

BrikByteOS Compatibility

Generated projects include .bb/ configuration so release-quality checks can be run later with BrikByteOS:

bb run --all
bb score
bb gate

Development

npm install
npm run build
npm test
npm run typecheck
npm run lint
npm run format:check
npm run validate

Verification Gates

npm run verify:build
npm run verify:package
npm run verify:release
npm run verify:npm-deploy
npm run verify:generated-deployment
npm run verify:generated-portability
npm run post-release:validate

Skip Docker smoke when Docker/network is unavailable:

STACKCRAFT_SKIP_DOCKER_SMOKE=true npm run verify:generated-deployment

Release Flow

npm version patch --no-git-tag-version
npm run validate
git add .
git commit -m "chore(release): bump version"
git tag vX.Y.Z
git push origin main --tags
npm publish --access public
npm run post-release:validate

Design Principles

  • deterministic output
  • versioned templates
  • safe file generation
  • no hidden shell execution
  • no dependency on local repo state after publishing
  • package-root template resolution
  • structured CLI errors
  • reproducible release validation

License

Business Source License 1.1.

Change License: Apache License 2.0 Change Date: 2029-01-01

Copyright © BrikByte Studios.