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 ๐Ÿ™

ยฉ 2025 โ€“ย Pkg Stats / Ryan Hefner

fcrawl

v1.0.0

Published

๐Ÿ”ฅ Elegant Firecrawl CLI wrapper for web crawling and content extraction

Readme

๐Ÿ”ฅ fcrawl

Elegant Firecrawl CLI wrapper for web crawling and content extraction

License: ISC Node.js Version code style: prettier

A powerful command-line tool for crawling websites and extracting content using the Firecrawl API. Easily save web content in multiple formats including Markdown, JSON, and more.

โœจ Features

  • ๐Ÿš€ Fast and efficient web crawling
  • ๐Ÿ“‚ Save content in multiple formats (Markdown, JSON, etc.)
  • ๐Ÿ” Extract specific content using natural language prompts
  • โšก Resume interrupted crawls
  • ๐Ÿ“Š Progress tracking and detailed logging
  • ๐Ÿ› ๏ธ Configurable with sensible defaults

๐Ÿš€ Installation

# Install globally
npm install -g fcrawl

# Or use with npx
npx fcrawl <url> [options]

๐Ÿ“‹ Usage

# Basic usage
fcrawl https://example.com

# With options
fcrawl https://example.com --limit 100 --output ./output --md

# Resume an interrupted crawl
fcrawl https://example.com --resume

Options

  -v, --version           Output the version number
  -l, --limit <number>    Maximum number of pages to crawl (default: 1000)
  -d, --max-depth <n>     Maximum crawl depth (default: 10)
  -o, --output <dir>      Output directory (defaults to domain name)
  --md                    Convert PDFs and documents to markdown
  -f, --formats <list>    Output formats (comma-separated) (default: "markdown")
  --include-paths <p>     URL patterns to include (comma-separated)
  --exclude-paths <p>     URL patterns to exclude (comma-separated)
  --extract <prompt>      Natural language extraction prompt
  --delay <ms>            Milliseconds to wait between requests
  --timeout <ms>          Request timeout in milliseconds (default: 30000)
  --resume                Resume interrupted crawl
  --mobile                Use mobile user agent
  --no-block-ads          Disable ad blocking
  -h, --help              Display help for command

๐Ÿ”ง Development

  1. Clone the repository:

    git clone https://github.com/chadananda/fcrawl.git
    cd fcrawl
  2. Install dependencies:

    npm install
  3. Set up your environment variables:

    cp .env.example .env
    # Edit .env with your API keys
  4. Run in development mode:

    npm run dev

๐Ÿงช Testing

# Run tests
npm test

# Run tests in watch mode
npm test -- --watch

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

๐Ÿ“„ License

This project is licensed under the ISC License - see the LICENSE file for details.


Made with โค๏ธ by Chad Jones