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

budo-demo

v0.1.3

Published

A tool for quickly building budo projects

Downloads

41

Readme

Budo Demo

Note: this is currently an experimental module in early development.

Tool for quickly sharing a project on GitHub pages. Intended for use alongside the budo rapid prototyping tool.

The goal is to be able to run a command similar to the budo dev server that will publish to gh-pages for a project. Example:

For development:

budo index.js --open --live --css styles.css -- -t glslify

For sharing:

budo-demo index.js --include data --css styles.css -- -t glslify

Looks similar to budo, but will automatically build the project files (including the "data" directory) into the "dist" directory, ready to publish however you choose. I'm running it from my "package.json" "scripts" option, and publishing using the gh-pages module.

Here's an example from the "package.json" file of one my projects:

  "scripts": {
    "start": "budo index.js --open --live --css styles.css",
    "build": "budo-demo index.js -c styles.css -i data",
    "publish": "npm run build; gh-pages -d dist"
  }

This is not intended for production builds, but only to make it quick and easy to share what you're working on.

CLI

Usage:
	budo-demo index.js [opts] -- [browserify opts]

Options:
 --help, -h       show help message
 --dest, -o       name of build destination directory
 --include, -i    files and directories to include in build
 --title, -t      optional title for default index.html
 --css, -c        optional stylesheet href for default index.html
 --minify         minify css
 --cname					add a `CNAME` file with domain (for gh-pages)
 

Todo

  • [ ] Add publish capability?
  • [ ] Allow for custom html
  • [ ] Integrated js uglification?
  • [ ] Test browserify transforms
  • [ ] Write tests