@extra-npm/rev-parse

    1.4.13 • Public • Published

    Pick out and massage parameters.

    Do you want to:

    • Get nearest package path?
    • Get root package path?

    usage

    enpm-rev-parse --package
    # get nearest package path
    
    enpm-rev-parse --root-package
    # get root package path

    With extra-npm try enpm rev-parse instead.

    reference

    enpm-rev-parse <parameter> [args] [options]
    # parameter: name of parameter to get
    ## --package, --top-package
    # args: arguments for parameter
    # -> value of parameter
    # -> -1 otherwise (error)
    
    # Options:
    # --help: view this help
    # --silent: enable showing only -1 on error (0)
    
    # Environment variables:
    $ENPM_SILENT # enable showing only -1 on error (0)

    similar

    Do you need anything similar?

    Suggestions are welcome. Please create an issue.

    nodef

    References: pkg-dir.

    Install

    npm i @extra-npm/rev-parse

    DownloadsWeekly Downloads

    1

    Version

    1.4.13

    License

    MIT

    Unpacked Size

    4.9 kB

    Total Files

    4

    Last publish

    Collaborators

    • wolfram77