npm.io
3.0.0 • Published 10 years ago

mount-point

Licence
MIT
Version
3.0.0
Deps
3
Vulns
0
Weekly
0
Stars
6

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);
	//=> '/'
});
  • df - Get free disk space info from df -kP

License

MIT Kevin Mårtensson

Keywords