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

@rgglez/astro-downloadchecklist

v0.1.4

Published

Astro component that wraps a markdown task list and adds a CSV download button.

Readme

astro-downloadchecklist

License GitHub all releases GitHub issues GitHub commit activity GitHub release GitHub stars GitHub forks

astro-downloadchecklist allows users to download a checklist wrapped with this component as a CSV file.

One use case is a blog post (Markdown or MDX), where you can download a checklist directly from the page.

Installation

npm install @rgglez/astro-downloadchecklist

Usage

Import the component:

import DownloadChecklist from "@/components/DownloadChecklist.astro";

Usage in .mdx files

Wrap a checklist with the component in your MD/MDX files:

<DownloadChecklist filename="initial-setup-checklist.csv" label="Download">
- [ ] I identified my critical accounts.
- [ ] I installed Google Authenticator on the primary device.
- [ ] I installed Google Authenticator on the secondary device.
- [ ] I enabled strong locks on both devices.
- [ ] I decided whether to use Google account synchronization.
- [ ] I copied the TOTP accounts to the second device.
- [ ] I compared codes on both devices.
- [ ] I tested a real login with the second device.
- [ ] I downloaded or printed backup codes for each critical service.
- [ ] I stored backup codes outside the main phone.
- [ ] I reviewed my Google account recovery methods.
- [ ] I reviewed active sessions and connected devices.
- [ ] I registered passkeys or physical keys where possible.
- [ ] I documented the date of the last test.
</DownloadChecklist>

Now, when you view the rendered MDX or Markdown in the browser, you'll see a download button. Clicking it will download the checklist in CSV format.

Usage in .astro files

The component also works in .astro pages, layouts, and other Astro components, as long as the slot contains a <ul> or <ol> with <li> items:

<DownloadChecklist filename="my-checklist.csv" label="Download CSV">
  <ul>
    <li>First task</li>
    <li>Second task</li>
    <li>Third task</li>
  </ul>
</DownloadChecklist>

Requirements

  • The slot must contain a list (<ul> or <ol>) with <li> items. The CSV is built by reading the rendered DOM, not the source Markdown.
  • Works in .astro, .md, .mdx, layouts, pages, and other Astro components.

Limitations

  • Does not work inside React/Vue/Svelte/Solid islands — .astro components cannot be embedded in framework components.
  • The CSV-building script runs once on page load. Lists injected into the DOM later by client-side JavaScript will not be picked up.

Properties

| Name | Value | |------|------| | filename | The default name of the file to download | | label | The text for the download button (Default: "Download checklist") |

Development

| Target | Description | |--------|-------------| | make tags | List git tags sorted by semver (descending) | | make latest-tag | Show the latest git tag | | make patch | Bump PATCH version in package.json, commit, tag, and push | | make publish | Publish current version to npm |

Typical release flow: make patch publish.

License

Copyright (C) 2026 Rodolfo González González.

Licensed under the Apache v2.0. Read the LICENSE file.