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

@heroku-cli/plugin-devcenter

v2.0.0

Published

Heroku CLI plugin to interact with Heroku Dev Center

Readme

@heroku-cli/plugin-devcenter

Heroku CLI plugin to interact with Heroku Dev Center

Version License

Installation

heroku plugins:install @heroku-cli/plugin-devcenter
$ npm install -g @heroku-cli/plugin-devcenter
$ heroku COMMAND
running command...
$ heroku (--version)
@heroku-cli/plugin-devcenter/2.0.0 darwin-arm64 node-v24.14.0
$ heroku --help [COMMAND]
USAGE
  $ heroku COMMAND
...

Commands

heroku devcenter:open SLUG

open a Dev Center article in the browser (uses Heroku credentials for private or draft content when available)

USAGE
  $ heroku devcenter:open SLUG [--prompt]

ARGUMENTS
  SLUG  article slug (e.g. ps for https://devcenter.heroku.com/articles/ps)

GLOBAL FLAGS
  --prompt  interactively prompt for command arguments and flags

DESCRIPTION
  open a Dev Center article in the browser (uses Heroku credentials for private or draft content when available)

See code: src/commands/devcenter/open.ts

heroku devcenter:preview SLUG

preview a local Dev Center article in the browser with live reload

USAGE
  $ heroku devcenter:preview SLUG [--prompt] [--host <value>] [--port <value>]

ARGUMENTS
  SLUG  article slug (local <slug>.md file)

FLAGS
  --host=<value>  [default: 127.0.0.1] bind host for the preview server
  --port=<value>  [default: 3000] port for the preview server

GLOBAL FLAGS
  --prompt  interactively prompt for command arguments and flags

DESCRIPTION
  preview a local Dev Center article in the browser with live reload

See code: src/commands/devcenter/preview.ts

heroku devcenter:pull SLUGORURL

save a local copy of a Dev Center article

USAGE
  $ heroku devcenter:pull SLUGORURL [--prompt] [-f]

ARGUMENTS
  SLUGORURL  article slug or full Dev Center article URL

FLAGS
  -f, --force  overwrite an existing local file without prompting

GLOBAL FLAGS
  --prompt  interactively prompt for command arguments and flags

DESCRIPTION
  save a local copy of a Dev Center article

See code: src/commands/devcenter/pull.ts

heroku devcenter:push SLUG

update a Dev Center article from a local markdown file

USAGE
  $ heroku devcenter:push SLUG [--prompt]

ARGUMENTS
  SLUG  article slug (optional .md suffix is ignored)

GLOBAL FLAGS
  --prompt  interactively prompt for command arguments and flags

DESCRIPTION
  update a Dev Center article from a local markdown file

See code: src/commands/devcenter/push.ts

Development

TypeScript code lives under src/ with tests under test/. With Node 22+, run npm install and npm test.

If you have a Dev Center instance, you can point your CLI to it by setting the DEVCENTER_BASE_URL environment variable:

export DEVCENTER_BASE_URL=http://localhost:3000

Verbose logging uses the debug package:

DEBUG=devcenter:open heroku devcenter:open my-article
DEBUG=devcenter:preview heroku devcenter:preview my-article
DEBUG=devcenter:* heroku devcenter:open my-article

License

See LICENSE.txt file.

The preview command uses the Font Awesome vector icons, which have their own License.