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

@usewren/cli

v0.4.2

Published

CLI for WREN — deploy static sites, manage versioned JSON documents, and control trees

Readme

@usewren/cli

Command-line tool for WREN — deploy static sites, manage versioned JSON documents, and control trees.

Install

Requires Bun (v1.0+).

bun install -g @usewren/cli

Quick start

# Point at your WREN instance and sign in
wren config --url https://wren.aemwip.com
wren auth login -e [email protected] -p yourpassword

# Deploy a static site
wren deploy ./dist --tree mysite --public

# Preview changes before going live
wren deploy ./dist --tree mysite --label preview

# Promote to published
wren promote mysite --from preview

Commands

Deploy & promote

wren deploy [dir] --tree <name>     Deploy a directory as a static site
  --public                          Auto-create public read permission
  --label <name>                    Label all uploaded versions
  --collection <name>               Binary collection name (default: <tree>-assets)
  --clean                           Remove tree paths for deleted local files
  --dry-run                         Show what would happen without doing it

wren promote <tree>                 Label every document in a tree
  --label <name>                    Label to set (default: published)
  --from <label>                    Only promote docs carrying this label

Documents

wren collections                    List all collections
wren list <collection>              List documents (--filter, --limit, --label)
wren get <collection> <id>          Get a document
wren create <collection> <json>     Create a document
wren update <collection> <id> <json>  Update (creates new version)
wren delete <collection> <id>       Soft delete
wren upsert <col> <key> <json>      Create-or-update by natural key

Versions & labels

wren versions <collection> <id>     List version history
wren rollback <collection> <id> <v> Roll back to version v
wren label <collection> <id> <name> Pin a label (--version <n>)
wren diff <collection> <id> --v1 N --v2 M

Trees

wren tree list                      List all trees
wren tree view <name>               Print full tree with documents
wren tree get <name> <path>         Get node + children
wren tree set <name> <path> [docId] Assign document to path
wren tree remove <name> <path>      Unassign

Binary assets

wren upload <collection> <file>     Upload a binary asset
wren upload-version <col> <id> <file>  New version of existing asset
wren download <collection> <id>     Download raw binary (--out <path>)

Auth & config

wren config --url <url>             Set server URL
wren auth login -e <email> -p <pw>  Sign in
wren auth logout                    Sign out
wren me                             Show principal, org, role, permissions

Management

wren keys list|create|revoke        API key management
wren org current|switch             Org context
wren invites list|send|accept|revoke  Collaborator invites

License

Apache-2.0