Notorious Penguin Magicians
    Have ideas to improve npm?Join in the discussion! »

    get-global-paths

    2.0.0 • Public • Published

    get-global-paths Build Status

    Get all global paths from an array

    Install

    $ npm install --save get-global-paths
    

    Usage

    const getGlobalPaths = require('get-global-paths');
     
    const paths = [
        '/home/johndoe',
        '/usr/bin',
        '/usr/local/bin'
    ];
     
    getGlobalPaths(paths);
    //=> ['/usr/bin', '/usr/local/bin']

    API

    getGlobalPaths(paths)

    Type: Array

    An array of paths to match against.

    License

    MIT © Kevin Mårtensson

    Install

    npm i get-global-paths

    DownloadsWeekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar