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

anime1-cli

v0.2.0

Published

Interactive CLI to browse anime1.me by year and season and download episodes. Self-contained, no system dependencies.

Readme

anime1-cli

A command line tool for browsing anime1.me by year and season and downloading episodes. Written in TypeScript, runs on Node, and needs nothing else installed.

I made this because the existing options were either browser userscripts or Python scripts that pulled in yt-dlp and ffmpeg. This one only needs Node, and it lets you browse the catalogue by season instead of hunting down a URL to paste in.

Features

  • Browse the whole catalogue by year and season, newest first
  • Search by title, then grab a full series or just the episodes you want
  • Fast downloads that open several connections per file (the CDN throttles each connection, so this makes a real difference)
  • Resumes interrupted downloads instead of starting from scratch
  • A live progress bar with speed and ETA
  • No ffmpeg, no yt-dlp, no Python, just Node
  • Nothing is written to your home folder. The catalogue is fetched fresh each run and kept in memory

Requirements

Node.js 20 or newer.

Install

It is not on npm yet, so build it from source:

git clone https://github.com/jcjc-dev/anime1-cli.git
cd anime1-cli
npm install
npm run build
cd packages/cli && npm link

That puts an anime1 command on your PATH. If you would rather not link it globally, you can run it straight from the repo with npm run dev.

Usage

Run it with no arguments and it walks you through everything:

anime1

You pick a year, then a season, then the series (type to filter the list), then which episodes, then where to save them. By default files land in ./downloads/<series>.

You can also skip the prompts and drive it with flags, which is handy in scripts:

# grab every episode of one series
anime1 --year 2025 --season summer --search "frieren" --all

# jump straight to a category id
anime1 --cat 6 --all --out ./anime

# print the resolved video links and cookies without downloading
anime1 --cat 6 --extract

# just print the catalogue
anime1 --list --year 2026 --season spring

| Flag | What it does | | --- | --- | | --year <year> | Filter by year, like 2025 | | --season <season> | spring, summer, autumn, winter (or , , , ) | | --search <text> | Filter the series list by title | | --cat <id> | Jump straight to a category id | | --all | Take every episode, no prompts | | --out <dir> | Where to save (default ./downloads) | | --connections <n> | Connections per file (default 6, max 8) | | --concurrency <n> | Episodes downloaded at once (default 1, max 4) | | --list | Print the catalogue and exit | | --extract | Print video URLs and cookies, no download | | --min-interval <ms> | Smallest gap between requests (default 250) | | --user-agent <ua> | Custom User-Agent, if Cloudflare gets in the way | | --cf-clearance <cookie> | cf_clearance cookie, if Cloudflare gets in the way |

If anime1.me ever answers with a Cloudflare challenge (an HTTP 403), copy a matching User-Agent and cf_clearance cookie out of your browser and pass them with --user-agent and --cf-clearance.

Streaming-only episodes (.m3u8) are uncommon on the site and are skipped for now rather than downloaded.

How it works

anime1.me publishes its entire catalogue as a single JSON file, with the year and season for every title. The tool reads that, lets you pick a series, then loads the series page to find each episode. For every episode it asks the site's API for the real video URL and the short lived cookies the CDN expects, then downloads the file over plain HTTP.

A single connection to the CDN is capped at roughly 1 MB/s, so by default each file is fetched in several parallel ranges and stitched back together, which is usually several times faster. Tune it with --connections if you want.

Project layout

This is an npm workspaces monorepo with two packages:

  • packages/core (anime1-core) is the engine: catalogue, filtering, episode resolution and downloading. It has no UI code and no runtime dependencies, so other front ends can reuse it.
  • packages/cli (anime1-cli) is the terminal app that gives you the anime1 command.

Common tasks, all run from the repo root:

npm run dev     # run the CLI from source
npm run build   # compile both packages
npm run lint    # type check and eslint
npm test        # run the tests

Legal

This is a personal tool. It does not host, store, or distribute any media. All it does is automate the same requests your browser already makes when you open anime1.me.

How you use it is on you. Follow the laws where you live, the terms of any site you point it at, and the rights of the people who made the content. Whether you are allowed to download a particular video is your call to make, not this project's.

The software is provided as is, with no warranty of any kind. The author is not responsible for what anyone does with it and accepts no liability for copyright claims, DMCA notices, fines, or any other damages that come out of using it. A rights complaint belongs with the person who ran the tool and saved the file, not with the code or its author. If that does not work for you, do not use it.

License

MIT. See LICENSE.