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

@vvanouytsel/commitlint-config

v1.0.1

Published

A shareable commitlint configuration that extends conventional config with custom rules

Readme

@vvanouytsel/commitlint-config

A shareable commitlint configuration that extends the conventional config with custom rules and additional commit types.

Features

  • ✅ Extends @commitlint/config-conventional
  • 🎯 Custom commit types: wip, deps
  • 📏 Configurable length limits (subject max 100 chars, header max 100 chars)
  • 🔧 Customizable rules for better team consistency
  • 🎨 Includes prompt configuration for interactive commits

Installation

Install the package as a development dependency:

npm install --save-dev @vvanouytsel/commitlint-config

You'll also need to install commitlint if you haven't already:

npm install --save-dev @commitlint/cli

Usage

Create a commitlint.config.js file in your project root:

module.exports = {
  extends: ["@vvanouytsel/commitlint-config"],
};

Or add it to your package.json:

{
  "commitlint": {
    "extends": ["@vvanouytsel/commitlint-config"]
  }
}

Custom Rules

This configuration extends the conventional config with the following customizations:

Additional Commit Types

  • wip: Work in progress commits
  • deps: Dependency updates

Rule Overrides

  • Subject case: Prevents sentence-case, start-case, pascal-case, and upper-case
  • Subject length: Min 3 characters, max 100 characters
  • Header length: Max 100 characters, min 10 characters
  • Body: Leading blank line required, max 100 chars per line
  • Footer: Leading blank line required, max 100 chars per line
  • Scope: Lower-case, max 20 characters
  • Empty body: Allowed (rule disabled)

Complete Commit Types

The following commit types are supported:

| Type | Description | Emoji | | ---------- | ------------------------------------ | ----- | | feat | A new feature | ✨ | | fix | A bug fix | 🐛 | | docs | Documentation only changes | 📚 | | style | Code style changes (formatting, etc) | 💎 | | refactor | Code refactoring | 📦 | | perf | Performance improvements | 🚀 | | test | Adding or updating tests | 🚨 | | build | Build system or dependency changes | 🛠 | | ci | CI configuration changes | ⚙️ | | chore | Other changes | ♻️ | | revert | Revert a previous commit | 🗑 | | wip | Work in progress | 🚧 | | deps | Dependency updates | ⬆️ |

Examples

Valid commit messages:

feat: add user authentication
fix(auth): resolve login redirect issue
docs: update API documentation
style: format code with prettier
refactor(utils): simplify validation logic
perf: optimize database queries
test: add unit tests for user service
build: update webpack configuration
ci: add GitHub Actions workflow
chore: update gitignore
revert: revert previous authentication changes
wip: implement user profile feature
deps: update lodash to version 4.17.21

Invalid commit messages:

Fix bug                    # Missing type
feat:add feature          # Missing space after colon
FEAT: add feature         # Wrong case for type
feat: Add feature         # Wrong case for subject
feat:                     # Empty subject
feat: a                   # Subject too short

Git Hooks Integration

To automatically validate commits, you can use husky:

npm install --save-dev husky

Add to your package.json:

{
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  }
}

Customization

You can override any rules in your project's commitlint configuration:

module.exports = {
  extends: ["@vvanouytsel/commitlint-config"],
  rules: {
    "subject-max-length": [2, "always", 80], // Override max length to 80
    "type-enum": [2, "always", ["feat", "fix"]], // Only allow feat and fix
  },
};

Interactive Commits

This config includes prompt configuration for tools like @commitlint/prompt-cli or commitizen.

Install commitizen adapter:

npm install --save-dev @commitlint/prompt-cli

Then use:

npx commit

Testing

This package includes a comprehensive test suite to validate the configuration:

# Run the test suite (doesn't require git repository)
npm test

# Test against actual git commits (requires git repository with commits)
npm run test:git

The test suite validates both valid and invalid commit messages according to the configuration rules.

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.