infer-version
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

Infer version

Infer a project's version from its configuration files.

Status

Source Shields
Project latest_release license line_count language_count
Health documentation review_action codacy_quality codacy_coverage
Publishers npm_version npm_downloads
Repository open_issues closed_issues open_pulls closed_pulls
Activity contributors monthly_commits last_commit

Installation

npm i infer-version

Usage

import { version } from "infer-version";

version(".")

// Example output: "1.0.0"
// If there are no configuration files: null

Tests

To run tests:

nps test

Documentation

This repository's documentation is hosted on Read the Docs.

To generate the documentation locally:

quickdocs

Linters

To run linters:

nps lint

Formatters

To run formatters:

nps format

Continuous integration

This repository uses GitHub Actions to lint and test each commit. Each commit should be formatted and its corresponding documentation should be updated.

Versioning

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

Changelog

Please read this repository's changelog for details on changes that have been made.

Contributing

Please read this repository's guidelines on contributing for details on the process for submitting pull requests. Moreover, our code of conduct declares our collaboration standards.

Contributors

Remarks

Lots of love to the open source community!

Be kind to your mind Love each other It's ok to have a bad day

Readme

Keywords

none

Package Sidebar

Install

npm i infer-version

Weekly Downloads

2,666

Version

0.3.0

License

MIT

Unpacked Size

12.8 kB

Total Files

12

Last publish

Collaborators

  • joellefkowitz