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

commitlint-config-nick2bad4u

v1.0.0

Published

Commitlint presets for Nick2bad4u's hybrid Gitmoji and Conventional Commit headers.

Readme

commitlint-config-nick2bad4u

Continuous Integration

A parsed, enforceable Commitlint configuration for Nick2bad4u's hybrid Gitmoji and Conventional Commit style.

Install

npm install --save-dev @commitlint/cli commitlint-config-nick2bad4u
// commitlint.config.mjs
export default {
 extends: ["commitlint-config-nick2bad4u"],
};

Commit format

<emoji> [<type>] Subject
<emoji> [<type>](<scope>) Subject
<emoji> [<type>](<scope>)! Breaking subject

Examples:

✨ [feat] Add dark mode
🛡️ [fix] Preserve durable credentials
🔒 [security](release) Require signed artifacts
✨ [feat](api)! Replace the public response contract

The parser maps the bracketed value to Commitlint's real type, the optional parenthesized value to scope, and the remaining text to subject. Built-in type, scope, subject, length, body, and footer rules therefore validate the documented syntax instead of silently receiving empty fields.

Presets

| Export | Behavior | | -------------------------------------- | ------------------------------------------------------------------------------- | | Package root | Flexible Gitmoji: valid types are fixed, meaningful alternate emoji are allowed | | commitlint-config-nick2bad4u/strict | Requires the canonical emoji for each type | | commitlint-config-nick2bad4u/relaxed | Keeps header grammar/type validation but disables body/footer style warnings | | commitlint-config-nick2bad4u/factory | Builds a consumer-specific type, scope, length, and emoji policy | | commitlint-config-nick2bad4u/parser | Exposes the parser preset and grammar |

The flexible root is intentional. Established repositories often use multiple meaningful Gitmoji with the same conventional type, such as both 🛠️ [fix] and 🛡️ [fix].

Types

The default supports:

build, chore, ci, config, deps, docs, feat, fix, lint, perf, refactor, release, revert, security, style, and test.

Repository scopes

Scope enums are repository-specific, so the shared default accepts any kebab-case scope. Use the factory when a repository has a closed vocabulary:

// commitlint.config.mjs
import { createHybridCommitlintConfig } from "commitlint-config-nick2bad4u/factory";

export default createHybridCommitlintConfig({
 allowedScopes: ["api", "build", "database", "docs", "release", "ui"],
 headerMaxLength: 110,
});

An explicit empty allowedScopes array forbids scoped headers. Omitting the option allows any kebab-case scope.

Strict emoji mapping

The strict preset uses these canonical pairs:

| Type | Emoji | Type | Emoji | | ---------- | ----- | ---------- | ----- | | build | 🔧 | chore | 🧹 | | ci | 👷 | config | ⚙️ | | deps | ⬆️ | docs | 📝 | | feat | ✨ | fix | 🛠️ | | lint | 🧹 | perf | ⚡ | | refactor | 🚜 | release | 🚀 | | revert | ⏪ | security | 🔒 | | style | 🎨 | test | 🧪 |

Validation

npm run release:verify

The suite checks flexible and strict emoji policy, parsing, optional/breaking scopes, invalid headers, custom scope/type options, public types and exports, and a real Commitlint CLI consumer load.