mount-point-fixed

3.0.1 • Public • Published

mount-point Build Status

Get the mount point for a file

Install

$ npm install --save mount-point

Usage

const mountPoint = require('mount-point');
 
mountPoint('foo.tar.gz').then(mount => {
    console.log(mount);
    //=> '/'
});

Related

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

License

MIT © Kevin Mårtensson

/mount-point-fixed/

    Package Sidebar

    Install

    npm i mount-point-fixed

    Weekly Downloads

    3

    Version

    3.0.1

    License

    MIT

    Last publish

    Collaborators

    • john-berlin