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

kindling

v1.1.0

Published

Project bootstrapping with an emphasis on simplicity.

Readme

Generator

Language agnostic project bootstrapping with an emphasis on simplicity.

Screenshot

Installation

[sudo] npm install -g kindling

Usage

In order to bootstrap a project using one of the default templates you simply run kindling and specifiy a template and project name. For example, let's create a new Node.js module called kittycannon:

kindling --template browserify --name kittycannon

Default Templates

Generator comes with a few templates to get you started. While they are usable as-is, the whole point of Generator is make the creation of custom templates as simple as possible.

  • npm NPM module template
  • arduino Arduino project template

How Templates Work

Templates are simply directories with any combination of files and sub-directories found within them. To create a new template simply create a new directory within your ~/.generator path or copy one of the default templates and modify it. Upon use, Generator will walk the template looking for any instances of __somelowercasevariable__ and prompt for a value. For example, a template including this:

/**
 * __description__
 *
 * @package __name__
 * @author __author__ <__email__>
 */

Will prompt:

description: Rainbow catsplosion.
author: Nyan Cat
email: [email protected]

Which will generate:

/**
 * Rainbow catsplosion.
 *
 * @package myAwesomeProject
 * @author Nyan Cat <[email protected]>
 */

Post Processing

By default, Generator will look for a makefile and (if found) will run make generator after all other template processing has been completed. This is particularly handy for dealing with template dependencies that may change over time (like git repositories or even NPM modules). For example:

generator:
    npm install

.PHONY: generator

Or... heck, let's go crazy nuts and automate setting up our git repo:

generator:
    git init
    git remote add origin https://github.com/__github__/__name__
    npm install

.PHONY: generator

Testing

npm test

Notes

  • C, C++, and PHP often use the __SOMETHING__ pattern for macros. For this reason, Generator will ignore any variable instances that are specified in caps. This works fine for C and C++ users, but given that such macros in PHP are case insensitive, PHP users should keep this limitation in mind while designing templates.
  • "Good coders code. Great reuse." quote shamelessly stolen from Peteris Krumins' blog (which you should read).