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

git-sshripped

v0.2.2

Published

Git-transparent encryption using SSH keys. No GPG, no Rust toolchain required.

Downloads

1,707

Readme

git-sshripped

Git-transparent encryption using SSH keys. No GPG, no Rust toolchain required.

This is the npm distribution of git-sshripped, a tool that keeps selected files encrypted at rest in Git repositories while letting developers work with plaintext when the repo is unlocked.

Install

npm install git-sshripped

This installs a prebuilt native binary for your platform. No Rust or Cargo needed.

Usage

CLI

Once installed, git-sshripped is available as a command:

# Initialize in a repo
git-sshripped init --pattern "secrets/**"

# Unlock (decrypt files for local development)
git-sshripped unlock

# Lock (scrub plaintext from working tree)
git-sshripped lock

# Check status
git-sshripped status

Auto-unlock in postinstall

Add this to your project's package.json so that encrypted files are automatically decrypted after npm install:

{
  "scripts": {
    "postinstall": "git-sshripped unlock --soft"
  }
}

The --soft flag ensures that npm install won't fail if the user doesn't have access to the encrypted files (e.g., they don't have the right SSH key, or they're a CI bot without credentials). A warning is printed instead.

For strict mode (fail if unlock fails):

{
  "scripts": {
    "postinstall": "git-sshripped unlock"
  }
}

Programmatic API

const { binaryPath, run } = require("git-sshripped");

// Get the path to the binary
console.log(binaryPath);

// Spawn git-sshripped with arguments
const child = run(["status", "--json"]);
child.on("exit", (code) => {
  console.log("exit code:", code);
});

Binary resolution

The binary is resolved in this order:

  1. GIT_SSHRIPPED_BINARY_PATH environment variable
  2. Platform-specific npm package (installed automatically via optionalDependencies)
  3. System-installed git-sshripped found in PATH

Supported platforms

| Platform | Architecture | npm package | |----------|-------------|-------------| | macOS | ARM64 (Apple Silicon) | @git-sshripped/darwin-arm64 | | macOS | x64 (Intel) | @git-sshripped/darwin-x64 | | Linux | x64 (glibc) | @git-sshripped/linux-x64 | | Linux | ARM64 (glibc) | @git-sshripped/linux-arm64 | | Linux | x64 (musl/Alpine) | @git-sshripped/linux-x64-musl | | Windows | x64 | @git-sshripped/win32-x64 |

License

MPL-2.0