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

test-kzrt

v1.0.30

Published

static site generator for neocities blog pages

Readme

A Simple Neocities Static Site Generator

This is a simple static site generator for blog entries on neocities.

How to use

You create your posts as text files in Markdown format and put them in the _posts folder.

Then, you build the site using npm start. (However, I recommend using npm run dev to run a live preview of the website that also updates whenever you save any file in the project).

Nunjucks and MarkdownIt will automatically convert your markdown files into HTML files and output them all into the dist folder. Blog posts themselves are inserted into dist/posts/

You can edit the layouts of the generated blog posts and blog index in the _templates folder. The content is inserted with Nunjucks, so it uses Jinja2 style syntax.

Basically:

  • {{ content }} inserts the blog post contents
  • {{ title }} inserts the blog post's title
  • {{ date }} inserts the blog post's date

The blog index is a little bit more tricky. It uses a for loop of all of your posts with these attributes that you can insert:

  • {{ post.content }}: The post's contents
  • {{ post.date }}: The post's date
  • {{ post.day }}: The post's day (but in shortform format only, aka Mon, Tue, Wed etc)
  • {{ post.id }}: The post's generated ID
  • {{ post.title }}: The post's title

The posts also rely on the styles.css in the _styles folder. The generated site automatically copies the stylesheets there and inserts them at the root of the dist folder. Make sure your layout templates correctly links to it!

We also support images! Put them in any folder within the project (even outside _posts) and appropriately link to them. The images will get copied over in the same folder format to dist.

Dependencies

  • Nunjucks
  • MarkdownIt
  • Browser-server
  • Concurrently

To-do:

  • ~~Add ability for posts to include images~~ DONE
  • Add an easier way for users to install this with the templates, configs, etc
  • Fix this readme, it's not comprehensible enough
  • Write unit tests for this (I FEEL like there are bugs but I can't tell yet)
  • (bug) Browser-server is not working properly on MacOS
  • Add ability for different markdown posts to link to different blog templates
  • (maybe) write my own markdown parser