Nonconformist Propaganda Machine
    Have ideas to improve npm?Join in the discussion! »

    @icyflame/mount-point

    2.0.0 • Public • Published

    mount-point Build Status

    Get the mount point for a file

    Install

    $ npm install --save mount-point
    

    Note: This package has a scoped package as it's dependency, and hence, is not compatible with npm 1.x. (#2)
    Solution: Upgrade npm using npm install -g npm@latest.

    Usage

    var mountPoint = require('mount-point');
     
    mountPoint('foo.tar.gz', function (err, mount) {
        console.log(mount);
        //=> '/'
    });

    Related

    • df - Get free disk space info from df -kP

    License

    MIT © Kevin Mårtensson

    Keywords

    Install

    npm i @icyflame/mount-point

    DownloadsWeekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar