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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@dcpm/cli

v2.8.2

Published

The cli for dcpm

Readme

@dcpm/cli

overview

This package is used to fetch, publish, and manage your packages on DCPM. The tool is expected to be installed globally. To install this via npm:

npm i -g @dcpm/cli

or yarn if you're close enough to facebook that they dictate your development practices:

yarn global add @dcpm/cli

At this point you can fetch packages from dcpm. To see what's available go to the DCPM App. Here you can search for packages and read our docs.

use

auth

To login just run:

dcpm auth

This will prompt for a username and password and log you in, or create an account if it's a new username, and save your token to ~/.dcpm.

run

You can run any of the scripts in a manifest via:

dcpm run <script-name>

This will run the script and output the result to your command line. This is an early feature, expect changes.

setup

To create a .env file with the correct values run:

dcpm setup

This will ask you a series of questions and then write a .env file. If the manifest doesn't have any setup it will let you know.

get

The most simple use case is fetching a simple package:

dcpm get home-media

This will find the latest version of home-media and create a folder called home-media in your current working directory that contains all of its files.

You can also specify a version:

dcpm get [email protected]

This does the same thing but for a deterministic package version.

publish

To publish a package, navigate to the folder that contains a manifest.yml as defined by our docs and run:

dcpm publish

This will read the manifest, zip the correct files, and upload them to our backend. You need to be logged in to do this.

user management

This command allows you to authorize additional users to publish new versions of your package:

dcpm add-user some-person your-package

Removal can be accomplished via:

dcpm remove-user some-person your-package

warning

This project is in a very early alpha state. This stuff is liable to change at random. The docs site should be up to date whenever a batch of changes comes out.