Npm module. Contains some functions I needed and thought I might re-use. Not intended for publishing on npm.