Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

mount-point

3.0.0 • 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

Keywords

Install

npm i mount-point

DownloadsWeekly Downloads

34,332

Version

3.0.0

License

MIT

Last publish

Collaborators

  • avatar