{"_id":"mount-point","_rev":"113196","name":"mount-point","description":"Get the mount point for a file","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"kevva","email":""}],"time":{"modified":"2021-06-03T10:45:47.000Z","created":"2014-10-06T16:17:54.341Z","3.0.0":"2016-04-10T19:14:05.282Z","2.0.0":"2015-05-04T20:06:20.753Z","1.2.0":"2015-05-04T20:05:59.025Z","1.1.0":"2015-05-04T18:53:59.790Z","1.0.3":"2014-10-14T17:29:30.663Z","1.0.2":"2014-10-12T17:28:48.472Z","1.0.1":"2014-10-12T17:18:30.847Z","1.0.0":"2014-10-06T16:17:54.341Z"},"users":{},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"repository":{"type":"git","url":"git+https://github.com/kevva/mount-point.git"},"versions":{"3.0.0":{"name":"mount-point","version":"3.0.0","description":"Get the mount point for a file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/mount-point.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["df","disk","mount"],"dependencies":{"@sindresorhus/df":"^1.0.1","pify":"^2.3.0","pinkie-promise":"^2.0.1"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"db92ce2d5e5c608f6dc24e3171fdb4d39033b6ab","bugs":{"url":"https://github.com/kevva/mount-point/issues"},"homepage":"https://github.com/kevva/mount-point#readme","_id":"mount-point@3.0.0","_shasum":"665cb9edebe80d110e658db56c31d0aef51a8f97","_from":".","_npmVersion":"3.7.0","_nodeVersion":"5.10.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"665cb9edebe80d110e658db56c31d0aef51a8f97","size":1578,"noattachment":false,"key":"/mount-point/-/mount-point-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mount-point/download/mount-point-3.0.0.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mount-point-3.0.0.tgz_1460315642796_0.47017301083542407"},"directories":{},"publish_time":1460315645282,"_cnpm_publish_time":1460315645282,"_hasShrinkwrap":false},"2.0.0":{"name":"mount-point","version":"2.0.0","description":"Get the mount point for a file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/mount-point.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["df","disk","mount"],"devDependencies":{"ava":"^0.0.4"},"dependencies":{"@sindresorhus/df":"^1.0.1"},"gitHead":"af28620ca384d0d7062022456afae19dfbf1b9dd","bugs":{"url":"https://github.com/kevva/mount-point/issues"},"homepage":"https://github.com/kevva/mount-point#readme","_id":"mount-point@2.0.0","_shasum":"93356ee7246f213723344bb2da24cbc968373e52","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"93356ee7246f213723344bb2da24cbc968373e52","size":1481,"noattachment":false,"key":"/mount-point/-/mount-point-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mount-point/download/mount-point-2.0.0.tgz"},"directories":{},"publish_time":1430769980753,"_cnpm_publish_time":1430769980753,"_hasShrinkwrap":false},"1.2.0":{"name":"mount-point","version":"1.2.0","description":"Get the mount point for a file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/mount-point.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["df","disk","mount"],"devDependencies":{"ava":"^0.0.4"},"dependencies":{"@sindresorhus/df":"^1.0.1"},"gitHead":"2aece07b7131e3c9adca52c1ecdf80592e18136a","bugs":{"url":"https://github.com/kevva/mount-point/issues"},"homepage":"https://github.com/kevva/mount-point#readme","_id":"mount-point@1.2.0","_shasum":"f7712295e1ecd8df2e42ecbe23e07a3660807851","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"f7712295e1ecd8df2e42ecbe23e07a3660807851","size":1588,"noattachment":false,"key":"/mount-point/-/mount-point-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mount-point/download/mount-point-1.2.0.tgz"},"directories":{},"publish_time":1430769959025,"_cnpm_publish_time":1430769959025,"_hasShrinkwrap":false},"1.1.0":{"name":"mount-point","version":"1.1.0","description":"Get the mount point for a file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/mount-point.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["df","disk","mount"],"devDependencies":{"ava":"^0.0.4"},"gitHead":"fc90b7bcd912f5f5d8bfb42d6cf1a486881da714","bugs":{"url":"https://github.com/kevva/mount-point/issues"},"homepage":"https://github.com/kevva/mount-point#readme","_id":"mount-point@1.1.0","_shasum":"de3c19e6fb360546eba4024f44eb991521bf0c88","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"de3c19e6fb360546eba4024f44eb991521bf0c88","size":1694,"noattachment":false,"key":"/mount-point/-/mount-point-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mount-point/download/mount-point-1.1.0.tgz"},"directories":{},"publish_time":1430765639790,"_cnpm_publish_time":1430765639790,"_hasShrinkwrap":false},"1.0.3":{"name":"mount-point","version":"1.0.3","description":"Get the mount point for a file","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/mount-point"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["df","disk","mount"],"dependencies":{"node-df":"^0.1.1"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"a394a559a41b6477a28336145f97ab5e8a570bf7","bugs":{"url":"https://github.com/kevva/mount-point/issues"},"homepage":"https://github.com/kevva/mount-point","_id":"mount-point@1.0.3","_shasum":"43adac2467a9dc8abf4b784a0d7b7453ab58df4d","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.32","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"43adac2467a9dc8abf4b784a0d7b7453ab58df4d","size":1058,"noattachment":false,"key":"/mount-point/-/mount-point-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/mount-point/download/mount-point-1.0.3.tgz"},"directories":{},"publish_time":1413307770663,"_cnpm_publish_time":1413307770663,"_hasShrinkwrap":false},"1.0.2":{"name":"mount-point","version":"1.0.2","description":"Get the mount point for a file","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/mount-point"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["df","disk","mount"],"dependencies":{"node-df":"^0.1.1"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"67602081bbd243efc8b12199cecc8e488c0cd8d3","bugs":{"url":"https://github.com/kevva/mount-point/issues"},"homepage":"https://github.com/kevva/mount-point","_id":"mount-point@1.0.2","_shasum":"38c74f3aa2ef7ca62fd6d96bd715147a6a596b65","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"38c74f3aa2ef7ca62fd6d96bd715147a6a596b65","size":1043,"noattachment":false,"key":"/mount-point/-/mount-point-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/mount-point/download/mount-point-1.0.2.tgz"},"directories":{},"publish_time":1413134928472,"_cnpm_publish_time":1413134928472,"_hasShrinkwrap":false},"1.0.1":{"name":"mount-point","version":"1.0.1","description":"Get the mount point for a file","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/mount-point"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["df","disk","mount"],"dependencies":{"node-df":"^0.1.1"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"859a0d59cb467d482a9f9869c6f5f5b4af6895e1","bugs":{"url":"https://github.com/kevva/mount-point/issues"},"homepage":"https://github.com/kevva/mount-point","_id":"mount-point@1.0.1","_shasum":"d439677eda68506c708a16ab169bbe3cc36de74b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"d439677eda68506c708a16ab169bbe3cc36de74b","size":1016,"noattachment":false,"key":"/mount-point/-/mount-point-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mount-point/download/mount-point-1.0.1.tgz"},"directories":{},"publish_time":1413134310847,"_cnpm_publish_time":1413134310847,"_hasShrinkwrap":false},"1.0.0":{"name":"mount-point","version":"1.0.0","description":"Get the mount point for a file","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/mount-point"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["df","disk","mount"],"dependencies":{"node-df":"^0.1.1"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"5bcf83fb3f82a4489a23bd2def9a7d2ebc094c27","bugs":{"url":"https://github.com/kevva/mount-point/issues"},"homepage":"https://github.com/kevva/mount-point","_id":"mount-point@1.0.0","_shasum":"9ec16900e01bda836deb2efbfcf8ba091ce6db04","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"9ec16900e01bda836deb2efbfcf8ba091ce6db04","size":960,"noattachment":false,"key":"/mount-point/-/mount-point-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mount-point/download/mount-point-1.0.0.tgz"},"directories":{},"publish_time":1412612274341,"_cnpm_publish_time":1412612274341,"_hasShrinkwrap":false}},"readme":"# mount-point [![Build Status](http://img.shields.io/travis/kevva/mount-point.svg?style=flat)](https://travis-ci.org/kevva/mount-point)\n\n> Get the [mount point](http://en.wikipedia.org/wiki/Mount_%28computing%29) for a file\n\n\n## Install\n\n```\n$ npm install --save mount-point\n```\n\n\n## Usage\n\n```js\nconst mountPoint = require('mount-point');\n\nmountPoint('foo.tar.gz').then(mount => {\n\tconsole.log(mount);\n\t//=> '/'\n});\n```\n\n\n## Related\n\n* [df](https://github.com/sindresorhus/df) - Get free disk space info from `df -kP`\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","_attachments":{},"homepage":"https://github.com/kevva/mount-point#readme","bugs":{"url":"https://github.com/kevva/mount-point/issues"},"license":"MIT"}