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

@weborigami/neocities

v0.0.21

Published

This [Web Origami](https://weborigami.org) extension gives you a way to read and write files hosted on [Neocities](https://neocities.org), a popular free site hosting service. You can represent your Neocities account as a [network host connection](https:/

Readme

This Web Origami extension gives you a way to read and write files hosted on Neocities, a popular free site hosting service. You can represent your Neocities account as a network host connection so that you can read and write files directly to it.

Install the extension

In the command line, install the extension in your project with:

$ npm install @weborigami/neocities

Obtaining a Neocities token

Writing or reading files via this extension requires first obtaining a Neocities token using a command line.

In a terminal window, enter the following command

$ curl -u "USER:PASSWORD" "https://neocities.org/api/key"

Replace USER and PASSWORD with your own Neocities user name and password. This should display a result like:

{
  "result": "success",
  "api_key": "da77c3530c30593663bf7b797323e48c"
}

The value of the api_key field (in this example, da77c3530c30593663bf7b797323e48c) is your Neocities token.

For security reasons, Neocities won’t display this token again, so you'll want to save it in a file. Copy and paste that string of letters and numbers — without the surrounding quotes — and save that in a new text file called token.txt. The file will look like:

da77c3530c30593663bf7b797323e48c

Because this token gives anyone programmatic access to your Neocities project, do not store this file in a source control system. If you use git for source control, create a file (or open the file) called .gitignore, then add token.txt on a line by itself and save this file. This step is critical so that you don’t accidentally add this token to source control where others might see it.

Create a network connection file

Once you have a Neocities token saved in token.txt, create a file called neocities.ori with the following:

package:@weborigami/neocities({
  token: token.txt
  url: "<your Neocities user name>.neocities.org"
})

Update the url to be your Neocities URL, e.g., aliceandrews.neocities.org.

Test your connection

After creating the neocities.ori file to represent your Neocities site, you can test it by using Tree.keys to list out the top level files and subfolders:

$ ori keys host.ori
assets/
posts/
feed.json
index.html
README.md

Once you've tested that your connection works, you can read and write files; see using the network connection.

Create an npm command to publish your site

The final step is to add a publish command to the scripts portion of your package.json:

  "scripts": {
    "publish": "ori publish src/site.ori, neocities.ori"
  }

This example publish command assumes your site is defined in src/site.ori; update that with the path of the top-level Origami file that defines your site.

With that, if you run:

$ npm run publish

the publish process will:

  1. Compare your local site resources with the resources currently on Neocities.
  2. Upload any files that have changed.