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

@jsnhengine/cli

v0.1.4

Published

Command-line interface for JSNH Engine Lab — call any of the 73 modular APIs from your terminal, CI, or shell scripts

Readme

@jsnhengine/cli

Command-line interface for JSNH Engine Lab — 73 modular APIs accessible from your terminal, shell scripts, CI/CD pipelines, and Makefiles. Pay per token, no subscriptions.

$ jsnh email-validator --email [email protected]
{
  "is_valid": true,
  "is_disposable": false,
  "has_mx": true,
  "score": 0.92
}

$ jsnh ip-geolocation --ip 8.8.8.8 -o raw | jq .country
"United States"

$ echo "DE123456789,FR12345678901,ESB12345678" | tr ',' '\n' | while read vat; do
    jsnh vat-validator --vat_number "$vat" -o raw
  done

Install

npm install -g @jsnhengine/cli
# or
pnpm add -g @jsnhengine/cli
# or
brew install jsnh-maker/tap/jsnh   # coming soon

Setup

1. Get an API key

Sign up at jsnhengine.com1,000 free tokens on signup.

2. Configure auth

jsnh config set apiKey jsnhk_your_key_here
# or
export JSNH_API_KEY=jsnhk_your_key_here
# or
jsnh --api-key jsnhk_... email-validator --email [email protected]

The key is stored in ~/.jsnh/config.json.

3. Verify

jsnh config show
jsnh modules list

Usage

Discover modules

$ jsnh modules list
$ jsnh modules list --category Validation
$ jsnh modules describe email-validator

Call any module

The CLI auto-generates a subcommand per endpoint with flags matching the OpenAPI request schema:

$ jsnh email-validator --email [email protected]
$ jsnh vat-validator --vat_number ESB12345678
$ jsnh iban-validator --iban DE89370400440532013000
$ jsnh ip-geolocation --ip 8.8.8.8
$ jsnh ssl-cert-check --domain google.com
$ jsnh bin-lookup --card_number 4532015112830366

Output formats

| Flag | Format | Use case | |---|---|---| | -o json (default) | Pretty JSON | Human reading in terminal | | -o raw | Single-line JSON | Pipe to jq, grep, file | | -o table | Key:value rows | Quick inspect, no JSON noise |

Verbose mode

$ jsnh -v email-validator --email [email protected]
→ POST /api/v1/email-validator
  body: {"email":"[email protected]"}
✓ 1 token(s) used. Module: email-validator.
{
  "is_valid": true,
  ...
}

Custom origin / timeout

$ jsnh --origin https://staging.jsnhengine.com email-validator --email [email protected]
$ jsnh --timeout 60000 ai-web-scraper --url https://example.com

Pipeline examples

Validate a CSV column

$ csvtool col 2 customers.csv | tail -n +2 | while read email; do
    result=$(jsnh email-validator --email "$email" -o raw)
    valid=$(echo "$result" | jq -r .is_valid)
    echo "$email,$valid"
  done > validated.csv

Fail a CI build if a VAT is invalid

# .github/workflows/checkout.yml
- run: |
    result=$(jsnh vat-validator --vat_number "${{ env.CUSTOMER_VAT }}" -o raw)
    valid=$(echo "$result" | jq -r .is_valid)
    [ "$valid" = "true" ] || { echo "Invalid VAT"; exit 1; }
  env:
    JSNH_API_KEY: ${{ secrets.JSNH_API_KEY }}

Geolocate request IPs and group by country

$ tail -1000 access.log | awk '{print $1}' | sort -u | while read ip; do
    jsnh ip-geolocation --ip "$ip" -o raw | jq -r .country
  done | sort | uniq -c | sort -rn

Exit codes

| Code | Meaning | |---|---| | 0 | Success | | 1 | Generic error (bad args, missing key, network) | | 2 | API returned success: false | | 3 | Unexpected internal error |

License

MIT