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 🙏

© 2025 – Pkg Stats / Ryan Hefner

shunter

v5.0.0

Published

A Node.js application built to read JSON and translate it into HTML

Downloads

450

Readme

Shunter

Shunter is a Node.js module built to read JSON and translate it into HTML.

It helps you create a loosely-coupled front end application which can serve traffic from one or more back end applications — great for use in multi-language, multi-disciplinary teams, or just to make your project more flexible and future-proofed.

Shunter does not contain an API client, or any Controller logic (in the MVC sense). Instead, Shunter simply proxies requests to a back end server, then:

  1. If the back end wants Shunter to render the response, it returns the application state as JSON, served with a certain HTTP header. This initiates the templating process in Shunter. Diagram of Shunter intercepting a JSON backend reply

  2. If the back end wishes to serve the response, it omits the header and Shunter proxies the request back to the client. Diagram of Shunter proxying a backend reply

  3. Shunter is also able to serve resources like CSS, JS, or images bundled with the templates as part of your application. Diagram of Shunter serving a bundled asset

NPM version Node.js version support GH Actions build status badge LGPL-3.0 licensed

Key features

  • Allows the creation of templates loosely coupled to the underlying back end applications.
  • Enables multiple back end applications to use the same unified front end.
  • Makes full site redesigns or swapping out back end applications very easy.
  • Completely technology-agnostic; if your application outputs JSON, it can work with Shunter.
  • Asset concatenation, minification, cache-busting, and other performance optimisations built-in.
  • Can output any type of content you like, e.g. HTML, RSS, RDF, etc.

Getting started

You can find all the details about how to use Shunter in our documentation. If you're new to Shunter, we recommend reading the Getting Started Guide. This will teach you the basics, and how to create your first Shunter-based application.

Requirements

The latest version of Shunter requires Node.js v12-16.

See the Getting started documentation for more information on Shunter's requirements.

Instructions for installing Node.js are available on their website.

Support and migration

Shunter supports various versions of Node.js:

| Major Version | Last Feature Release | Node Versions Supported | | :------------ | :------------------- | :--------------- | | 5 | N/A | >=12 <=16 | | 4 | 4.13 | >=4 <=8 | | 3 | 3.8 | >=0.10 <=5 |

Versions 1 and 2 of Shunter were not public releases.

If you're migrating between major versions of Shunter, we maintain a migration guide to help you.

If you'd like to know more about how we support our open source projects, including the full release process, check out our support practices document.

Contributing

We'd love for you to contribute to Shunter. We maintain a guide to help developers get started with working on Shunter itself. It outlines the structure of the library and some of the development practices we uphold.

We also label issues that might be a good starting-point for new developers to the project.

License

Shunter is licensed under the Lesser General Public License (LGPL-3.0).

Copyright © 2025, Springer Nature