pep440conv

1.0.0 • Public • Published

pep440conv

Simple stdin/stdout-based utilities for converting to and from PEP-440 semver strings.

Requirements

  • Node.js 14 or newer

Installation

The pep440conv utility can be installed using npm:

npm -g pep440conv

Usage

Usage is very straightforward. Once the packge is installed frompep440 and topep440 become available from the command line:

$ # Converting from a regular semver string to to PEP-440.
$ echo '1.0.0-rc.1' | topep440
1.0.0-rc1

$ # Converting from PEP-440 to a regular semver string.
$ echo '1.0.0-rc1' | frompep440
1.0.0-rc.1

License

MIT © lambdacasserole.

Package Sidebar

Install

npm i pep440conv

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.05 kB

Total Files

5

Last publish

Collaborators

  • lambdacasserole