@0x-lerna-fork/prerelease-id-from-version
Get the prerelease ID from a version string
Last updated a year ago by fberger .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @0x-lerna-fork/prerelease-id-from-version 
SYNC missed versions from official npm registry.

@0x-lerna-fork/prerelease-id-from-version

Get the prerelease ID from a version string

Usage

const prereleaseIdFromVersion = require("@0x-lerna-fork/prerelease-id-from-version");

prereleaseIdFromVersion(1.0.0-alpha.0); // => "alpha"

prereleaseIdFromVersion(1.0.0); // => undefined

prereleaseIdFromVersion(); // => undefined

Install lerna for access to the lerna CLI.

Current Tags

  • 3.16.3                                ...           latest (a year ago)

2 Versions

  • 3.16.3                                ...           a year ago
  • 3.16.2                                ...           a year ago
Maintainers (2)
Downloads
Today 1
This Week 1
This Month 3
Last Day 0
Last Week 0
Last Month 2
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |