Nervously Practice Multithreading

    @lerna/prerelease-id-from-version

    5.0.0 • Public • Published

    @lerna/prerelease-id-from-version

    Get the prerelease ID from a version string

    Usage

    const { prereleaseIdFromVersion } = require("@lerna/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.

    Keywords

    Install

    npm i @lerna/prerelease-id-from-version

    DownloadsWeekly Downloads

    1,026,548

    Version

    5.0.0

    License

    MIT

    Unpacked Size

    4.97 kB

    Total Files

    5

    Last publish

    Collaborators

    • jameshenry
    • nrwlowner