node package manager


common imports


Things is a simple CommonJS module that exports commonly used utilities and a set of best of breed selected 3rd party utility modules. It purely exists to avoid having several lines of boilerplate imports in every file and is designed to be used with the destructuring syntax from CoffeScript or JavaScript ES6. Modules are lazy loaded so they only add delay once they are used.

Also works in the browser via Browserify with a minimal set of utilities that make sense on the client.

npm install --save things

Just import whatever you need.

In JavaScript ES6,

{path, fs, util, crypto, _, moment} = require('things');

or in Coffee-Script

{assert, _} = require 'things'

or in JS5

var things = require('things');


var fs = require('fs');
var url = require('url');
var _ = require('lodash');
var moment = require('moment');
var async = require('async');
  • assert
  • util
  • fs
  • path
  • url
  • querystring
  • crypto

The following are only exported for use with browserify


Create Github issues for all bugs, features & requests. Pull requests are welcome. Make sure tests are included.

Test with make test

BSD 3-Clause