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

opinions.js

v0.0.7

Published

A small CLI tool that installs various configuration files for JS projects.

Downloads

3

Readme

Opinions

An project setup tool that helps you maintain consistent project configurations across your codebases.

Installation

npm install -g opinions

Usage

Install Command

The install command copies bundled configuration files into your project:

opinions install [--path <directory>]

Options:

  • --path: Target directory to install files into (defaults to current directory)

Help

To see available commands and options:

opinions --help

What's Included

Currently bundled files:

  • .editorconfig: Editor configuration for consistent coding styles

Development

This project is built with:

  • TypeScript
  • Minimist (CLI argument parsing)
  • @inquirer/prompts (Interactive prompts)
  • Node.js

Development Setup

# Install dependencies
npm install

# Link the package globally for development
npm run link

# Start TypeScript in watch mode
npm run dev

Release Process

This project uses conventional commits and automated versioning. Here's how to release:

  1. Commit Changes Use conventional commits for your changes:

    # Format:
    type(scope): description
    
    # Examples:
    git commit -m "feat: add new editorconfig settings"
    git commit -m "fix: handle file permission errors"
    git commit -m "docs: update README with new commands"

    Commit Types:

    • feat: New feature
    • fix: Bug fix
    • docs: Documentation changes
    • style: Code style changes
    • refactor: Code refactoring
    • perf: Performance improvements
    • test: Adding or modifying tests
    • build: Build system changes
    • ci: CI configuration changes
    • chore: Other changes
    • revert: Reverting changes
  2. Version Bumping

    # For patch releases (0.0.X)
    npm run release:patch
    
    # For minor releases (0.X.0)
    npm run release:minor
    
    # For major releases (X.0.0)
    npm run release:major
    
    # Or let standard-version determine the version based on commits
    npm run release

    This will:

    • Bump the version in package.json
    • Generate/update CHANGELOG.md
    • Create a git tag
    • Create a commit with the changes
  3. Publishing

    # First, make sure you're logged in to npm
    npm login
    
    # Then publish
    npm run publish

    The publish process will:

    • Run tests
    • Build the project
    • Check for uncommitted changes
    • Check for unpushed commits
    • Check for outdated dependencies
    • Publish to npm
    • Push to git
    • Create a GitHub release
  4. Complete Release Example

    # 1. Make your changes and commit them
    git add .
    git commit -m "feat: add new configuration options"
    
    # 2. Bump version and generate changelog
    npm run release:minor
    
    # 3. Review the changes
    git diff
    
    # 4. Push changes
    git push --follow-tags
    
    # 5. Publish to npm
    npm run publish

License

MIT