$ cnpm install mount-point
Get the mount point for a file
$ npm install --save mount-point
const mountPoint = require('mount-point');
mountPoint('foo.tar.gz').then(mount => {
console.log(mount);
//=> '/'
});
df -kPMIT © Kevin Mårtensson
Copyright 2013 - present © cnpmjs.org | Home |