Infer a project's version from its configuration files.
npm install infer-version
Documentation and more detailed examples are hosted on Github Pages.
import { version } from "infer-version";
version(".");
// Example output: "1.0.0"
// If there are no configuration files: null
To run tests:
npm run test
To generate the documentation locally:
npm run docs
To run linters:
npm run lint
To run formatters:
npm run format
Please read this repository's Code of Conduct which outlines our collaboration standards and the Changelog for details on breaking changes that have been made.
This repository adheres to semantic versioning standards. For more information on semantic versioning visit SemVer.
Bump2version is used to version and tag changes. For example:
bump2version patch
Lots of love to the open source community!
Generated using TypeDoc