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

@yardalab/yl-tooling

v0.1.0

Published

YardaLab developer tooling CLI

Readme

yl-tooling

YardaLab CLI for validating commit messages against the YardaLab commit policy.

This package is intended for developers and repositories that want a simple CLI for checking whether commit messages follow the documented YardaLab convention.


What this package does

yl-tooling validates commit messages against the YardaLab commit policy and returns a success or failure result that can be used in local development workflows, git hooks, and CI validation.

It is primarily intended for:

  • local commit validation during development
  • commit-msg git hook integration
  • scriptable validation inside CI or other automation

Installation

Run with npx (recommended)

Run without installing the package globally:

npx yl-tooling validate-commit "feat(core): YLDTE-11 add CLI"

Local project install

Install as a project development dependency:

npm install --save-dev yl-tooling

Then run it with npx:

npx yl-tooling validate-commit "feat(core): YLDTE-11 add CLI"

Global install (optional)

Install the package globally:

npm install --global yl-tooling

Then run:

yl-tooling validate-commit "feat(core): YLDTE-11 add CLI"

Local development usage

When working inside the repository:

node bin/yl-tooling.js validate-commit "feat(core): YLDTE-11 add CLI"

Usage

Validate a commit message string

npx yl-tooling validate-commit "feat(core): YLDTE-11 add CLI"

Validate a commit message file

This is useful for commit-msg hooks where Git passes the path to the commit message file.

npx yl-tooling validate-commit .git/COMMIT_EDITMSG

Git Hook Integration

Example commit-msg hook usage:

#!/usr/bin/env bash
npx yl-tooling validate-commit "$1"

This allows Git to validate the commit message file before the commit is accepted.


Commit Message Format

<type>(<scope>): <TICKET> <description>

Example valid commit

feat(core): YLDTE-11 add CLI support

Example invalid commit

feature(core): YLDTE-11 invalid type

Allowed Types

The current allowed commit types are:

  • feat
  • fix
  • docs
  • chore
  • refactor
  • test
  • build
  • ci
  • perf
  • revert

Special Cases

The following commit types or patterns are accepted by policy handling:

  • merge commits
  • revert commits

The exact validation behavior is determined by the bundled default commit policy included with the package.


Example Error Output

ERROR: Invalid commit message

Message:
  feature(core): YLDTE-11 invalid type

Reasons:
  - INVALID_FORMAT

Expected format:
  <type>(<scope>): <TICKET> <description>

Example:
  feat(core): YLDTE-11 add validation

Development

Build

npm run build

Test

npm run test

Run locally

node bin/yl-tooling.js validate-commit "feat(core): YLDTE-11 test"

Notes

  • the CLI validates the first line of the commit message
  • the commit body is ignored
  • the package includes bundled default policy files required for runtime validation
  • public package behavior should be considered the source of truth for consumers