npm.io
2.2.1 • Published 4 months ago

haraka-utils

Licence
MIT
Version
2.2.1
Deps
0
Size
21 kB
Vulns
0
Weekly
0
Stars
2

CI Coverage Status Maintainability

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'

See Also

Keywords