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

pagesdown

v0.1.4

Published

Download your Notion content to local Markdown files. Beautiful CLI, clean output, ready for AI agents.

Downloads

397

Readme

pagesdown

Download your Notion content to local Markdown files. Beautiful guided CLI, clean output, ready for AI coding agents.

Why?

Notion's MCP server and API are token-expensive. If you use AI coding agents like Claude Code, Codex, or OpenClaw, having your Notion content as local Markdown files is dramatically cheaper and faster.

Prerequisites

Node.js 20 or later — download from nodejs.org (click the big green button, run the installer).

Quick Start

npx pagesdown

That's it. The tool will walk you through everything.

Setup Your Notion Integration (2 minutes)

The CLI guides you through this, but here's the overview:

1. Create an internal integration

Go to: notion.so/profile/integrations/internal/form/new-integration

  • Name: anything you want (e.g. "export-to-fs") — cannot contain the word "notion"
  • Associated workspace: select yours
  • Icon: skip it
  • Click Create

2. Set capabilities

On the next page, under Capabilities:

  • Content capabilities:
    • Read content — check this (the only one you need)
    • Update content — uncheck
    • Insert content — uncheck
  • Comment capabilities:
    • Read comments — uncheck
    • Insert comments — uncheck
  • User capabilities:
    • Select "No user information"

Click Save.

3. Copy your token

Copy the Internal Integration Secret (starts with ntn_).

4. Share pages with the integration

Open any page you want to download in Notion:

  • Click the ••• menu at the top right
  • Select Connections
  • Add your integration

Sharing a parent page automatically shares all its children.

What You Get

~/Desktop/notion-export/
├── Project Alpha/
│   ├── Project Alpha.md
│   ├── Meeting Notes/
│   │   ├── Meeting Notes.md
│   │   └── assets/
│   │       └── screenshot.png
│   └── Design Doc/
│       └── Design Doc.md
└── Personal/
    ├── Personal.md
    └── Reading List/
        └── Reading List.md
  • Pages become .md files with clean Markdown
  • Folder hierarchy mirrors your Notion structure
  • Images and files are downloaded to assets/ folders with working relative links
  • Databases are exported with properties as YAML frontmatter

Features

  • Guided setup — walks you through creating a Notion integration
  • Select specific pages — don't have to download everything
  • Cross-platform — macOS, Windows, Linux
  • Token persistence — saves your token for next time
  • Rate limit handling — respects Notion's API limits automatically
  • Progress updates — see what's being downloaded in real time

License

MIT