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

@sentosatech/sock

v0.0.1

Published

SOCK local registry tooling for Open Knowledge Format bundles

Readme

SOCK

SOCK (Sentosa Open Connected Knowledge) is the smallest-useful local registry for experimental Open Knowledge Format bundle networks. It names existing local bundle directories; it does not create, copy, validate, traverse, or modify bundle contents.

Install

Install the sock executable globally from npm:

npm install --global @sentosatech/sock

To install from a source checkout instead:

npm install
npm run build
npm install --global .

Node.js 20 or newer is required.

Commands

sock [--registry PATH] bundle list [--json]
sock [--registry PATH] bundle add HANDLE --path DIRECTORY --description TEXT
sock [--registry PATH] bundle get HANDLE [--json]

For convenience, --registry is accepted before or after the command words. The registry path is selected in this order:

  1. --registry
  2. OKF_REGISTRY
  3. ~/.okf/registry.yaml

bundle add requires an existing directory and stores its canonical absolute path. It does not create a bundle. Handles are registry-local lowercase dot-separated identifiers; internal hyphens are allowed.

bundle list and bundle get report one of four availability values: available, missing, not-directory, or unreadable. A registered bundle does not need to be currently available for get to succeed.

Use --json for deterministic scripting output. Use sock --version to print the package version.

Development

npm install
npm run check
npm run build

The npm lifecycle is publication-ready:

  • npm test runs the isolated TypeScript test suite.
  • npm run typecheck performs strict static checking.
  • npm run check runs both checks.
  • npm run prepack creates fresh compiled output.
  • prepublishOnly prevents publication unless the full check passes.

Inspect the exact tarball contents without publishing:

npm pack --dry-run

No publication, commit, or remote configuration is performed automatically.

License

MIT