@onlabsorg/stilo
Version:
Command line tool for managing olojs document packages
33 lines (18 loc) • 586 B
Markdown
# mount-point [](https://travis-ci.org/kevva/mount-point)
> Get the [mount point](http://en.wikipedia.org/wiki/Mount_%28computing%29) for a file
## Install
```
$ npm install --save mount-point
```
## Usage
```js
const mountPoint = require('mount-point');
mountPoint('foo.tar.gz').then(mount => {
console.log(mount);
//=> '/'
});
```
## Related
* [df](https://github.com/sindresorhus/df) - Get free disk space info from `df -kP`
## License
MIT © [Kevin Mårtensson](https://github.com/kevva)