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

fume-deploy

v0.0.4

Published

Fume-deploy is a simple deployment script for git in a very early stage.

Readme

npm version

Fume-deploy

Fume-deploy is a simple deployment script for git in a very early stage.

Motivation

I often have the problem that I'm working on a project and as soon as I finished it I host it on a server and move on to the next project. One of the problems I always have when I come back after months: Which files are config files, build-files and which requires special treatment? If I wanted to update my old code base (and deploy + build it after) I often couldn't simply overwrite all files. I had to check each folder myself and tried to remember which file I shouldn't overwrite or have to manually edit later.

How to use

Fume-deploy is heavily inspired by gulp.

You need to add it in your project dependencies with

npm install fume-deploy --save

Then you set up a fumefile.js file in your root folder. The script starts with "node fumefile.js"

Getting familiar with fume-deploy

If you want to see fume-deploy in action you can do the following steps:

  • Fork fume-deploy test-repo
  • Clone your fork
  • Process the readme of the test-repo
  • Open fumefile.js and change the deploy url to your fork
  • Run in your commandline: node fumefile

You can now push commits to your repository and after running 'node fumefile' again you'll notice that without any further action the app will be able to run. So you can deploy your updated app without thinking about to change your config files afterwards.

Syntax

fume-deploy consists of a root (fume) and several branches: task, execute and deploy. While task is not mandatory (yet), execute statements should be inside a task though. The deploy method is a key function and should only get called once in the lifecycle.

fume-deploy chaining diagram

As an example of how a fumefile could look like:

var fume = require("fume-deploy");

//the ignore function saves directories and files from being overwritten (from build process or if
//the newly cloned repository doesn't contain files, like api keys or other sensible data)
fume.ignore("./config"); //whole directory
fume.ignore("./SECRET_TEXT.txt"); //single file

//not necessary, since both are default values
fume.options.tempfolder = ".fume.tmp";
fume.options.backupfolder = ".fume";

fume.task(function() {
  //single shell command
  fume.execute("forever kill fumeserver");

  //deploy creates 2 directories by default: .fume and .fume.tmp
  //It clones a repository into .fume.tmp and makes a backup of the original root and saves it into .fume
  //All ignored files getting copied into .fume.tmp
  //After that, deploy changes the current working directory to .fume.tmp only for the following chained methods!
  //If you execute npm install after deploy it has his root in .fume.tmp
  //To reset the cwd you have to make a new fume branch like 'fume.execute()'
  fume.deploy("https://github.com/exane/test-repo")
    .execute("npm install")
    .execute("npm run gulp");

  // since it's a new fume branch, the root will be no longer .fume.tmp
  fume.execute("mkdir test")
    .execute("cat > text.txt");

  fume.execute("forever --uid fumeserver start server/server.js.");
}).start();