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

papermark-cli

v0.1.1

Published

Agent-first CLI + skill for Papermark dataroom workflows

Readme

papermark-cli

Agent-first TypeScript CLI + skill for Papermark dataroom workflows.

This is an unofficial adapter for Papermark Cloud. It currently targets a source-assisted private surface, not a documented public management API.

Current v0.1 scope:

  • browser-assisted auth capture
  • dataroom list/get
  • dataroom folders
  • dataroom links/groups/permission groups
  • dataroom views/viewers
  • dataroom views-count
  • dataroom stats
  • dataroom export job inspection

Install

When published:

npm i -g papermark-cli
papermark --help
npx -y papermark-cli --help

Local:

cd platform-adapters/papermark/papermark-cli
npm install
npm link

Requirements:

  • Node.js 22+
  • Chrome installed locally for papermark auth login

Auth

Preferred:

papermark auth login
papermark auth status --json
papermark doctor --json

If the saved team is wrong or you need another workspace, pass --team-id <id> on any dataroom command.

Attach to an existing visible Chrome session:

papermark auth login --cdp-port 9333

Advanced non-interactive setup:

printf '%s' '{"sessionToken":"...","currentTeamId":"..."}' | papermark auth set --stdin

Ephemeral env-based auth is also supported:

export PAPERMARK_SESSION_TOKEN="..."
export PAPERMARK_CURRENT_TEAM_ID="..."
papermark datarooms list --json

Saved config lives at ~/.config/papermark/config.json with 0600 permissions.

Commands

papermark doctor --json
papermark datarooms list --json
papermark datarooms list --team-id <id> --json
papermark datarooms get <id> --json
papermark datarooms folders <id> --json
papermark datarooms folders <id> --limit 50 --json
papermark datarooms folders <id> --raw --json
papermark datarooms links <id> --json
papermark datarooms groups <id> --json
papermark datarooms permission-groups <id> --json
papermark datarooms views <id> --json
papermark datarooms views-count <id> --json
papermark datarooms viewers <id> --json
papermark datarooms stats <id> --json
papermark datarooms export-visits <id> --json

Design notes

  • This adapter is read-first.
  • Dataroom content is effectively folder-first. The top-level documents route may be empty even when the room contains many documents.
  • A typical flow is: datarooms list, pick the dataroom id you need, then follow with get, folders, and analytics/access commands.
  • datarooms folders returns a limited summary by default. Use --limit to widen the summary or --raw for the full nested tree.
  • doctor proves auth, team resolution, and dataroom listing. It is a fast sanity check, not a full sweep of every route.
  • export-visits currently inspects existing export jobs via a GET route. Triggering new export jobs can be added later if the hosted behavior proves stable enough.
  • Runtime outputs can contain sensitive dataroom structure, analytics, access-control, and viewer information. Treat command output as private workspace data.

Contract

See docs/CONTRACT_V1.md.

Release notes

This package is scaffolded for npm trusted publishing from GitHub Actions.

  • CI workflow: .github/workflows/ci.yml
  • publish workflow: .github/workflows/publish.yml
  • maintainer notes: papermark-trusted-publishing-notes.md