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

crw-sdk

v0.20.0

Published

TypeScript/JavaScript SDK for CRW — scrape, crawl, map, search, parse, and extract any website

Downloads

1,746

Readme

crw-sdk

TypeScript/JavaScript SDK for CRW — the fast, Rust-native web data API. Use native /v1 methods for new CRW integrations; Firecrawl v2 compatibility is available separately for migration work.

Zero runtime dependencies (Node 18+ fetch). Dual ESM + CommonJS.

Install

npm install crw-sdk

Quick start — Cloud (default)

CRW is cloud-first. Sign up for 500 free credits — no payment, no monthly reset (GitHub/Google, ~10s) — then set CRW_API_KEY:

import { CrwClient } from "crw-sdk";

const crw = new CrwClient(); // reads CRW_API_KEY from the env
const res = await crw.scrape("https://example.com", { formats: ["markdown"] });
console.log(res.markdown);
// ...or pass the key explicitly
const crw = new CrwClient({ apiKey: "fc-..." });

Self-hosting

// A self-hosted server:
const crw = new CrwClient({ apiUrl: "http://localhost:3000" });
# Local zero-config engine (no server, no key): set CRW_LOCAL=1.
# Requires the `crw-mcp` binary on PATH (or set CRW_BINARY).
CRW_LOCAL=1 node app.js

Methods

| Method | Description | Mode | |---|---|---| | scrape(url, opts?) | Scrape one URL | both | | crawl(url, opts?) | Crawl a site (async, polled) | both | | map(url, opts?) | Discover URLs | both | | search(query, opts?) | Web search (+ optional scrape) | both¹ | | parseFile(bytes, opts?) | PDF → markdown / structured JSON | both | | extract({urls, schema?}) | Structured LLM extraction | HTTP | | batchScrape(urls, opts?) | Scrape many URLs (async) | HTTP | | capabilities() | Feature-detect the engine | HTTP | | changeTrackingDiff(cur, prev?) | Diff vs a prior snapshot | HTTP | | close() | Shut down the local subprocess | — |

¹ Local search needs a SearXNG URL configured on the engine.

// Structured extraction:
const data = await crw.extract({
  urls: ["https://example.com"],
  schema: { type: "object", properties: { title: { type: "string" } } },
});

// Parse a PDF:
import { readFileSync } from "node:fs";
const doc = await crw.parseFile(readFileSync("invoice.pdf"), { formats: ["markdown"] });

Parity

This SDK mirrors the Python crw client method-for-method, and both are conformance-tested against the engine's OpenAPI spec.