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

@hunt-labs/bytekit-cli

v0.2.2

Published

ByteKit CLI — wraps @hunt-labs/bytekit-sdk as shell subcommands

Readme

@hunt-labs/bytekit-cli

Command-line interface for the ByteKit API — scrape, fetch, screenshot, search, crawl sitemaps, and manage page monitors from your shell. Wraps @hunt-labs/bytekit-sdk.

Install

npm install -g @hunt-labs/bytekit-cli

This installs the bytekit binary on your PATH.

To run it without installing:

npx @hunt-labs/bytekit-cli scrape create --url https://example.com

Always use the fully-qualified @hunt-labs/bytekit-cli name. The bare package name bytekit on the public npm registry belongs to an unrelated third-party project — running it by that short name fetches someone else's code, not this CLI. The short bytekit name is only ever the binary you get after installing @hunt-labs/bytekit-cli.

Requires Node.js 18+.

Authentication

Create an API key at app.bytekit.com (keys are prefixed sk_live_), then either export it:

export BYTEKIT_API_KEY=sk_live_xxx
bytekit scrape create --url https://example.com

or pass it per-invocation with the global --key flag (which takes precedence over the environment variable):

bytekit --key sk_live_xxx scrape create --url https://example.com

Precedence is --key flag → BYTEKIT_API_KEYRAPIDCRAWL_API_KEY (legacy fallback, deprecated — kept for existing scripts, will eventually be removed).

Without a key, the CLI exits with Error: API key required. Pass --key or set BYTEKIT_API_KEY.

Base-URL override

Requests go to https://api.bytekit.com by default. Point the CLI at staging, a local gateway, or a proxy with the global --base-url flag or the BYTEKIT_BASE_URL environment variable (the flag wins; RAPIDCRAWL_BASE_URL is a deprecated legacy fallback):

bytekit --base-url https://api-stg.bytekit.com scrape create --url https://example.com
export BYTEKIT_BASE_URL=http://localhost:3001

Global options

| Flag | Env var | Purpose | | ------------------ | ----------------------------------------------------------- | -------------------------------------------------------------------- | | --key <key> | BYTEKIT_API_KEY (legacy fallback: RAPIDCRAWL_API_KEY) | API key used for every request. | | --base-url <url> | BYTEKIT_BASE_URL (legacy fallback: RAPIDCRAWL_BASE_URL) | API base URL (default https://api.bytekit.com). | | --json | — | Print the raw JSON response instead of the human-readable rendering. |

Commands

scrape — scrape URL content

bytekit scrape create --url https://example.com --format markdown
bytekit scrape get sc_123abc
bytekit scrape bulk create --file urls.txt --webhook-url https://your.app/hooks/bytekit

fetch — raw, unprocessed response bodies

bytekit fetch create --url https://example.com
bytekit fetch bulk create --file urls.txt --webhook-url https://your.app/hooks/bytekit

search — ranked web search

bytekit search "ai web scraping" --limit 10 --country us

screenshots — capture a page

bytekit screenshots create --url https://example.com --full-page
bytekit screenshots get ss_123abc

bulk — bulk screenshot jobs

bytekit bulk create --file urls.txt --webhook-url https://your.app/hooks/bytekit
bulk_id=bulk_123abc
bytekit bulk get "$bulk_id"
bytekit bulk screenshots list "$bulk_id"

urls.txt is newline-delimited: one plain URL (or {"url":"https://..."}) per line.

monitors — watch a page for changes

bytekit monitors create --url https://example.com/pricing --interval-type daily \
  --webhook-url https://your.app/hooks/bytekit
bytekit monitors list
bytekit monitors captures list mon_123abc
bytekit monitors delete mon_123abc

sitemap — crawl a site's URL graph

bytekit sitemap create --url https://example.com
bytekit sitemap get sm_123abc

account — account details and API keys

bytekit account get
bytekit account api-keys list
bytekit account api-keys create --name "ci-key"

Documentation

Full API reference: bytekit.com/docs.

License

MIT — see LICENSE.