Haraka general purpose functions
npm install haraka-utils[![CI][ci-img]][ci-url]
[![Coverage Status][cov-img]][cov-url]
[![Code Climate][clim-img]][clim-url]
General purpose haraka utilities.
``js`
const utils = require('haraka-utils')
Gets the version of the NPM package located at dir. If the dir is a git repo, it also appends the commit ID.
`js``
utils.getVersion('.') // '1.1.2/45e3812'
[ci-url]: https://github.com/haraka/haraka-utils/actions/workflows/ci.yml
[ci-img]: https://github.com/haraka/haraka-utils/actions/workflows/ci.yml/badge.svg
[cov-url]: https://codecov.io/github/haraka/haraka-utils?branch=master
[cov-img]: https://codecov.io/github/haraka/haraka-utils/coverage.svg
[clim-img]: https://codeclimate.com/github/haraka/haraka-utils/badges/gpa.svg
[clim-url]: https://codeclimate.com/github/haraka/haraka-utils