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

static-scaffold

v0.5.0

Published

a scaffold for develop and build static website fast

Readme

static-scaffold

a scaffold for develop and build static website fast.

Features

  • fast bootstrap a static website project
  • local preview(no need to config nginx or apache)
  • support template engine like jade, swig
  • supoort live-reload
  • build static files(compile jade or swig templates)
  • build with both gulp and grunt (in dev)
  • fast deploy with ftp or other ways (in plan)
  • support less, sass
  • still planning...

Install

$ npm i -g static-scaffold

Init Proj

$ scaffold demo

Usage

Preview && develop

change to your 'demo' dir

$ cd demo

install node deps

$ npm i

start local server

$ node --harmony app.js

or, when you're developing, you can start a live-reload server:

$ node --harmony gulp live

visit http://localhost:8300

Build

$ gulp  build

This command will build static website into ./dist dir.

Currently in dev now. :)

How it works

First, we defined two mode:

  • live: which is useful when developing, it will auto reload page if any source file changed.
  • build: which is for building the final static website files.

with the default gulpfile, here are the workflows:

local server:

We use koa and some middlewares to build our http server, so we perfectly don't need nginx or apache.

html:

live: with jade or swig will be rendered instant by koa middlewares. It doesn't write file in live.

build: we use gulp plugins to build html files. It will generate .html files into dist with the same dir structure in src

js:

live: it will be loaded just right in src dir by koa-static.

build: we just copy .js files from src to dist(may be changed in the future)

css:

live: less, sass files will be compiled into dist dir, and then servered by koa-static. The vanilla css files will be servered as the other assets files.

build: less, sass files will be compiled into dist/css dir.

others:

others files in src/assets will serverd by koa-static in live , and copied into dist/assets when builc

compress:

everything in dist/css and dist/js will be compressed into a combined js or css files and be renamed with hash to fight with browser's cache.