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 🙏

© 2025 – Pkg Stats / Ryan Hefner

baldrick-dev-ts

v1.0.0

Published

CLI for TypeScript package development

Readme

Baldrick-dev-ts

npm Build status npm bundle size

npm type definitions node-current NPM

CLI utilities to help with Markdown hygiene and release checks for TypeScript packages (ESM).

Hero image for baldrick-dev-ts

The current scope is intentionally small and focused to reduce setup time and dev-dependencies.

  • TypeScript (ESM) friendly
  • Markdown checks and formatting (remark + Prettier-based normalisation)
  • Release checks and publishing helper
  • Minimal config; tools invoked via npx
  • Requires Node.js >= 22

Why this exists

Most projects only need a thin layer of polish and safety around docs and releases. This CLI keeps the toolchain tiny by:

  • Focusing on the high‑value parts (Markdown + release checks).
  • Using npx to run heavy tools on demand (no permanent dev-deps).
  • Working out of the box with sensible defaults for ESM/TypeScript repos.

If you need full linting/testing stacks, use dedicated tools; this CLI won’t get in your way.

Quickstart

  1. Prerequisite: Node.js 22+

  2. Check your Markdown

npx baldrick-dev-ts markdown check --with-path-starting .
  1. Fix formatting (wrap lines, bullet style, etc.)
npx baldrick-dev-ts markdown fix --with-path-starting .
  1. Sanity‑check your release (no publish)
npx baldrick-dev-ts release check

Usage

Markdown: check and fix

# Check markdown under current repository (default extension .md)
npx baldrick-dev-ts markdown check --with-path-starting .

# Check markdown in .github/ only
npx baldrick-dev-ts markdown check --with-path-starting .github/

# Fix markdown formatting and line wrapping in-place
npx baldrick-dev-ts markdown fix --with-path-starting .

Release: dry-run check

# Check if the current version can be published (no publishing happens)
npx baldrick-dev-ts release check

Deprecated commands

  • lint and test subcommands are no longer supported and only print a deprecation notice.

Acknowledgements

baldrick-dev-ts was initially created as a fork of the brilliant tsdx project. Eventually, the code has been massively refactored to match the new requirements, and very little remain of the tsdx starting point, except our gratitude to this initial project.

Documentation and links

Installation & running

This package is ESM only.

Run without installing globally:

npx baldrick-dev-ts --help

Or install locally in your project and add scripts:

yarn add -D baldrick-dev-ts
yarn baldrick-dev-ts --help

Development

  • Build: yarn build
  • Lint: yarn lint (Biome via npx @biomejs/biome@latest)
  • Unit tests: yarn test:ci (Node.js test runner)
  • Coverage: yarn test:cov (via npx c8@latest)
  • CLI smoke tests: yarn test:pest (baldrick-pest specs in pest-spec/)