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

@truthlocks/protect

v1.0.1

Published

Truthlock content protection CLI — protect code, research, designs, and digital content with cryptographic proofs

Downloads

298

Readme

@truthlocks/protect

Truthlocks content protection CLI — protect code, research, designs, and digital content with cryptographic proofs.

Install

npm install -g @truthlocks/protect

Get Started (Free — 10 Seconds, No Website)

# Step 1: Register (instant, no website, no credit card)
truthlocks register --email [email protected]
# → API key saved to ~/.truthlocks/credentials.json
# → Free tier: 100 protections/month

# Step 2: Protect your first file
truthlocks protect myfile.pdf
# → Protected! Attestation ID: att_abc123
# → Verify: https://verify.truthlocks.com?id=att_abc123
# → Usage: 1/100 attestations this month

All Ways to Register (No Website Needed)

# Via this CLI
truthlocks register --email [email protected]

# Via SDK (JavaScript)
const { apiKey } = await TruthlockClient.register({ email: '[email protected]' });

# Via VS Code
# Command Palette → "MAIP: Register Developer"

# Via MCP (Claude/ChatGPT)
# Call tool: truthlocks_register { email: "[email protected]" }

# Via Python
# await TruthlockClient.register("[email protected]")

# Via cURL
curl -X POST https://sandbox-api.truthlocks.com/v1/developers/register \
  -H "Content-Type: application/json" \
  -d '{"email":"[email protected]","source":"curl"}'

Commands

Register (get API key instantly)

truthlocks register --email [email protected]

Protect a file

truthlocks protect <file> [options]

Options:
  -a, --algorithm <alg>   Signing algorithm (default: Ed25519)
  -k, --api-key <key>     API key (or use ~/.truthlocks/credentials.json)
  -t, --title <title>     Title for the attestation
  --json                  Output as JSON

Verify an attestation

truthlocks verify --id att_abc123

Check who you are

truthlocks whoami

10 Signing Algorithms

truthlocks protect myfile.pdf --algorithm ES384    # Government/CNSA
truthlocks protect myfile.pdf --algorithm PS256    # Modern RSA
truthlocks protect myfile.pdf --algorithm Ed25519  # Default, fastest

All 10: Ed25519, ES256, ES384, ES512, RS256, RS384, RS512, PS256, PS384, PS512

Authentication Priority

  1. --api-key flag
  2. TRUTHLOCKS_API_KEY environment variable
  3. ~/.truthlocks/credentials.json (saved by truthlocks register)

If none found: prompts you to run truthlocks register --email [email protected]

GitHub Action

- uses: truthlocks/maip-github-action@v1
  with:
    api-key: ${{ secrets.TRUTHLOCKS_API_KEY }}

Free Tier (No Credit Card)

Documentation

License

MIT