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

@pmate/cli

v0.6.12

Published

CLI utilities for the pMate project

Readme

pMate CLI

A TypeScript-powered command-line tool scaffold for future pMate automation.

Development

npm install
npm run dev -- --help
  • npm run dev executes the TypeScript entry point with ts-node.
  • npm run build emits compiled JavaScript into dist/.
  • npm start runs the compiled CLI (dist/index.js).

Usage

After running npm run build, you can invoke the CLI locally via:

node dist/index.js --name Alice

When published or linked (e.g., npm link), the binary will be available as pmate:

pmate --help
pmate --name Bob
pmate add-dns --type A --value 1.2.3.4 --rr api
pmate login
pmate sts
pmate oss list
pmate oss upload --file ./path/to/file --key assets/file.txt
pmate pr
pmate commit
pmate commit --push
pmate pr merge
pmate linear update ENG-123 --title "Updated title"
pmate linear update ENG-123 --desc $'line1\nline2'
pmate notion view <page-id-or-url>
pmate notion create --parent <page-id-or-url> --title "Sprint Notes" --content "Initial notes"
pmate notion create --private --title "Private Notes" --file ./notes.md
pmate notion update <page-id-or-url> --file ./notes.md --append

Notes:

  • pmate pr normalizes generated PR titles to start with feat: , fix: , or chore: (exactly one space after :).
  • pmate commit creates an AI-generated commit from local changes.
  • pmate commit --push also pushes the current branch to origin.
  • pmate pr merge uses squash merge and deletes the branch by default (--squash --delete-branch).

Aliyun credentials config

You can set Aliyun credentials in ~/.pmate/config.yaml:

aliyun:
  ak: your_ak
  sk: your_sk
  region: cn-hangzhou
  domain: example.com

Linear config

Add one or more Linear accounts to ~/.pmate/config.yaml:

linear:
  teamKey: ENG
  accounts:
    - title: work
      apiKey: your_linear_api_key
    - title: personal
      apiKey: your_other_linear_api_key

When multiple accounts exist, pmate linear will ask you to choose once per working directory and cache it in ~/.pmate/linear-selection.json.

Auth session

pmate login stores a session token in ~/.pmate/session.json. Commands like pmate sts require this session; if it is missing, log in first.

Notion config

Add a Notion integration token to ~/.pmate/config.yaml:

notion:
  token: your_notion_integration_token