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

@oi/oi

v0.1.2

Published

CLI and core components of Oi

Readme

Oi

Build Status Coverage Status NPM Version

A CLI tool for automating development tasks.

Getting Started

To install Oi:

npm install -g @oi/oi
oi -h

As an example of an Oi plugin, you can install Oi's own development plugin:

npm install -g @oi/oi-oi
oi oi -h

Note that if you are using nvm, global plugins will need to be installed using the same NVM you intended to run them with.

Structure

Oi's command-line interface is structured like that of Git. After the initial oi command follows the name of a module, and after that is an action to perform on the module. Options can be specified at any point after the oi command.

Plugins

Oi is designed to be a framework with which modular, extensible CLI tools can be built. Using the js-plugins library, Oi scans for plugins that define modules, each of which registers its own command and associated actions. New project-specific tools can then be built by aggregating the commands for existing tools, and extending them for particular use cases.

Creating a Plugin

An Oi plugin is a Node.js module that contains an extra section in its package.json file and exports classes that serve as modules.

The extra package.json section is an extensions object, which declares one or more modules within a map called oi:module. Each key is the name of a module, and the corresponding value is the path (relative to the package.json file) from which to require the module class. For example:

"extensions": {
  "oi:module": {
    "foo": "./module/foo"
  }
}

The only requirement of the exported module itself is that it must be a class, an object, or a function that returns a class or an object.

Note that the path must include a slash (e.g. ./index.js or /path/to/index.js) if it refers to a file that should be required.

Oi Plugin Examples

  • oi-oi: CLI for development tasks on Oi itself.
  • oi-sysl: CLI for running Sysl tasks.