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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@benmvp/cli

v7.0.0

Published

A highly-opinionated, zero-config CLI for consistent infra for Ben Ilegbodu's Typescript-based libraries

Downloads

43

Readme

@benmvp/cli

version downloads module formats: esm & cjs semantic-release license

Maintenance Status Build Status Tested with jest Dependencies status Dev Dependencies status Greenkeeper badge PRs Welcome

Watch on GitHub Star on GitHub Tweet

A highly-opinionated, zero-config CLI for consistent infra for Ben Ilegbodu's Typescript-based libraries.

ToC

Installation

npx @benmvp/cli create my-awesome-lib

Installs the latest version of @benmvp/cli as a dev dependency and updates the package.json as follows:

{
  "name": "my-awesome-lib",
  "scripts": {
    "start": "benmvp start",
    "test": "benmvp test",
    "build": "benmvp build"
  }
}

Read the API docs for more on benmvp create.

Quick Usage

Unit Testing

npm test

In your continuous integration (CI) environment, run npm test (or yarn test) to do a one-time pass of Typescript typings, ESLint linting, and Jest unit tests. This can also be run locally (i.e. for commit hooks).

Read the API docs for more on benmvp test.

Developing

npm start

When developing, run npm start (or yarn start) which will validate Typescript typings, ESLint linting, and Jest unit tests as you develop and change code.

Read the API docs for more on benmvp start.

Building

npm run build

In your continuous integration (CI) environment, run npm run build (or yarn build) to generate transpiled versions of your code in ESM (ECMAScript module) and CJS (CommonJS), as well as TypeScript definition files.

Read the API docs for more on benmvp build.

Integration Testing

npm run integrate

In your continuous integration (CI) environment, run npm run integrate (or yarn integrate) to run additional integration tests for the library. The integration "project" will also be typed and linted. This can also be run locally (i.e. for commit hooks but is not recommended).

Read the API docs for more on benmvp integrate.

Docs

@benmvp/cli has two interfaces: a CLI and a Node API. View the full docs.

Supported Node Versions

The CLI has been tested to work in Node 8+.

Technologies Used

Contributing

Contributions are welcome! See Contributing Guidelines for more details.

Project philosophy

We take the stability of this SDK very seriously. @benmvp/cli follows the SemVer standard for versioning.

All updates must pass the CI build.

License

The library is available as open source under the terms of the MIT License.