haraka-utils
v1.1.3
Published
Haraka general purpose functions
Downloads
11,920
Readme
haraka-utils
General purpose haraka utilities.
Usage
const utils = require('haraka-utils');
getVersion (dir)
Gets the version of the NPM package located at dir. If the dir is a git repo, it also appends the commit ID.
utils.getVersion('.'); // '1.1.2/45e3812'