Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 947 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 947 Bytes

CI Coverage Status Code Climate

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