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

@spellbookx/recipes

v1.3.0

Published

Curated configurations, patterns, and recipes for the Spellbookx ecosystem.

Readme

@spellbookx/recipes

Curated configurations, patterns, and recipes for the Spellbookx ecosystem.

Installation

npm install --save-dev @spellbookx/recipes

Usage

You can import recipes from the root package or via specific subpaths:

1. Import Recipes (@spellbookx/recipes/imports)

import { imports } from '@spellbookx/recipes/imports';
// or individual constants:
import {
  builtinModules,
  dotenv,
  uiFrameworks,
} from '@spellbookx/recipes/imports';

console.log(imports.dotenv);
console.log(imports.builtinModules);
console.log(imports.uiFrameworks);
console.log(imports.separator); // ''

Available Import Groups

  • imports.dotenv
  • imports.sideEffects
  • imports.env
  • imports.builtinModules
  • imports.backendFrameworks
  • imports.backendMiddlewares
  • imports.uiFrameworks
  • imports.reactPackages
  • imports.fullstackFrameworks
  • imports.reactNativeExpo
  • imports.stateManagement
  • imports.dataFetching
  • imports.uiLibraries
  • imports.cssInJs
  • imports.icons
  • imports.testing
  • imports.thirdParty
  • imports.monorepo
  • imports.internalAliases
  • imports.assets
  • imports.json
  • imports.styles
  • imports.relative
  • imports.separator (imports.nl, imports.newline)

2. Ignore Patterns Recipes (@spellbookx/recipes/ignores)

Shared glob patterns for linting, formatting, and spell-checking tools:

import { ignorePaths, ignores } from '@spellbookx/recipes/ignores';
// or individual categories:
import {
  core,
  lockFiles,
  node,
  python,
  rust,
  toolchains,
  windows,
} from '@spellbookx/recipes/ignores';

console.log(ignorePaths); // Full list of ignore globs
console.log(ignores.node); // Node.js / web build outputs
console.log(ignores.lockFiles); // Lock files (pnpm, yarn, npm, bun)

Available Ignore Groups

  • ignores.core: Licenses, logs, temp, .DS_Store
  • ignores.node: node_modules, dist, build, .turbo, .next, .svelte-kit, caches
  • ignores.lockFiles: package-lock.json, pnpm-lock.yaml, yarn.lock, bun.lockb
  • ignores.rust: target, .cargo, Cargo.lock
  • ignores.go: go.sum, vendor, .gopath, go-build
  • ignores.python: __pycache__, *.pyc, .venv, .pytest_cache, .ruff_cache
  • ignores.toolchains: .git, .vscode, .idea, .docker, .terraform, .astro, etc.
  • ignores.windows: Zone identifiers, Thumbs.db, desktop.ini, recycle bins, page files
  • ignores.misc: connect.lock, .github/instructions/**, *.hbs
  • ignores.all / ignorePaths: Complete merged array of all glob patterns

3. Git Recipes (@spellbookx/recipes/git)

Standard Conventional Commit types, monorepo scope collections, and workspace discovery utilities shared across commitlint-config-spellbookx and cz-config-spellbookx:

import {
  COMMIT_TYPES,
  commitTypes,
  findGitRoot,
  getScopeDescription,
  getScopes,
  getWorkspacesRawPath,
  git,
  SCOPE_RELEASE,
  SCOPE_WORKSPACE,
  scopesArray,
  scopesEnum,
} from '@spellbookx/recipes/git';

console.log(COMMIT_TYPES); // ['feat', 'fix', 'docs', ...]
console.log(scopesArray); // ['workspace', 'release', ...discoveredPackages]
console.log(scopesEnum); // Record<string, { description: string }>
console.log(git.commitTypes);

Available Git Exports

  • COMMIT_TYPES / commitTypes: All 11 allowed Conventional Commit type strings.
  • SCOPE_WORKSPACE: Constant 'workspace'.
  • SCOPE_RELEASE: Constant 'release'.
  • scopesArray: Array of discovered workspace package names plus 'workspace' and 'release'.
  • scopesEnum: Record of scopes mapped to { description: string } for interactive CLI prompts.
  • getScopes(cwd?): Scans monorepo configuration files (package.json, pnpm-workspace.yaml, lerna.json) and returns all workspace package names.
  • findGitRoot(startDir?): Traverses upwards to locate the root of the current git repository.
  • getScopeDescription(scope): Generates a human-friendly description string for a given scope identifier.
  • getWorkspacesRawPath(configPath, parser, property?): Parses JSON or YAML configuration files to extract workspace glob patterns.

4. Unified Root Recipes (@spellbookx/recipes)

The root default export bundles git, ignores, and imports dictionaries into a single object:

import recipes, { git, ignores, imports } from '@spellbookx/recipes';

console.log(recipes.git.commitTypes);
console.log(recipes.imports.dotenv);
console.log(recipes.ignores.node);

License

This project is licensed under the MIT License.

  • Author & Creator: Davide Di Criscito
  • Copyright: © 2026 Davide Di Criscito and contributors.

For full details, see the LICENSE file.