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 🙏

© 2024 – Pkg Stats / Ryan Hefner

spuild

v1.1.0

Published

This build tool automates the web development build process. Well, there is gulp and there is grunt, which are much more feature-packed. But in a limited development environment where there is little permission, **spuild** is the tool for you.

Downloads

6

Readme

Spuild: Web build tool in NodeJS

This build tool automates the web development build process. Currently, these are plugins that are ready for use:

  • Generating HTML from JADE templates (.jade or .pug)
  • Generating CSS form SCSS templates (.scss, or .sass)

More details on inspiration here.

install

from source

  • git clone <this repository>
  • cd spuild2
  • npm install
  • npm link (allows you to call spuild globally)

from npm

  • npm install -g spuild

basic usage, in directory

ensure you are in your project directory, which is organized in the following way.

before

 project
 |_ src/
    |_ assets/
    |_ index.jade
    |_ style.scss
    |_ all-other-files.txt

running spuild in project/.

after

 project
 |_ src/
 |  |_ assets/
 |  |_ .dot-files-ignored
 |  |_ index.jade
 |  |_ style.scss
 |  |_ all-other-files.txt
 |_ build/
    |_ assets/
    |_ index.html
    |_ style.css
    |_ all-built-files.txt

pretty printing feature

by default, the output of spuild is compressed. with the -p flag activated, your build will be rendered. If your output is not previously in the same state (pretty-printed VS compressed), it will be re-rendered too.

clean build feature

this feature will remove the existing files in the build folder before re-rendering every file from src. If build is tracked using git, no worries, your .git folder will be left untouched.

updates

v1.1

  • add help to spuild
  • clean flag function for spuild
  • add flag to enable pretty-print
  • remove lowdb and use native fs
  • extract params into flags