{"_id":"drive-by-path","_rev":"8-8fe08bdc46dc3b8b42e44009ed68efeb","name":"drive-by-path","description":"Returns the drive to which a path belongs","dist-tags":{"latest":"1.0.0","next":"0.1.2"},"versions":{"0.0.0":{"name":"drive-by-path","version":"0.0.0","description":"Returns the drive to which a path belongs","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/zkochan/drive-by-path.git"},"keywords":["drive","disk","path","fs"],"author":{"name":"Zoltan Kochan","email":"zoltankochan@gmail.com","url":"https://www.kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/drive-by-path/issues"},"homepage":"https://github.com/zkochan/drive-by-path#readme","_id":"drive-by-path@0.0.0","_npmVersion":"5.4.2","_nodeVersion":"6.9.1","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"integrity":"sha512-uAXmlknCsVPp/HbWYXrhzukMJdmGgYfYxNlBN9/+MUspxuxev/DLgHLajIZfEoRBQIe+hS0C0VlZbgvEJVapeg==","shasum":"39bd003c590e885fd45d241a526bd9c91fdd6e20","tarball":"https://registry.npmjs.org/drive-by-path/-/drive-by-path-0.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+l/O2L45KiHrrXjZuIr6c7HEJJ6POmSyg8SAAcattzgIhAPN8s1cB8tQ+J59FleSpPBW0jgABIFK0OeDlUvzXbGJ2"}]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drive-by-path-0.0.0.tgz_1506712628523_0.3885008399374783"}},"0.0.1":{"name":"drive-by-path","version":"0.0.1","description":"Returns the drive to which a path belongs","main":"index.js","typings":"index.d.ts","files":["index.js","index.d.ts"],"scripts":{"test":"standard && node test"},"repository":{"type":"git","url":"git+https://github.com/zkochan/drive-by-path.git"},"keywords":["drive","disk","path","fs"],"author":{"name":"Zoltan Kochan","email":"zoltankochan@gmail.com","url":"https://www.kochan.io"},"engines":{"node":">=4"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/drive-by-path/issues"},"homepage":"https://github.com/zkochan/drive-by-path#readme","dependencies":{"drivelist":"github:zkochan/drivelist","is-subdir":"^1.0.1","once":"^1.4.0","ramda":"^0.24.1","util.promisify":"^1.0.0"},"devDependencies":{"standard":"^10.0.3","tape":"^4.8.0"},"gitHead":"24f227df3cabfbfa87729eebc5b60006a36c0fb4","_id":"drive-by-path@0.0.1","_npmVersion":"5.4.2","_nodeVersion":"6.4.0","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"integrity":"sha512-n8w8fi6tLcsitmdp7jwMmFw3a+A/QdlyghCAmMXBL+xxIkcTTZ5uJvyLOhz+sJraAhsnK7Zy7Fl7Y+UzUTx73Q==","shasum":"fa79fb56a78d4aff0eb0471716eeb91d686d1eca","tarball":"https://registry.npmjs.org/drive-by-path/-/drive-by-path-0.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFyZl9OowPqlu8An4SsuBH5c6jpUqbLSdrNS5T3K02XoAiEAvUz2wkkQMkPSBZ/5O8++ata4N6rQnBF+v9LWp7xpfV4="}]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drive-by-path-0.0.1.tgz_1506774857023_0.09194669383578002"}},"0.0.2":{"name":"drive-by-path","version":"0.0.2","description":"Returns the drive to which a path belongs","main":"index.js","typings":"index.d.ts","files":["index.js","index.d.ts"],"scripts":{"test":"standard && node test"},"repository":{"type":"git","url":"git+https://github.com/zkochan/drive-by-path.git"},"keywords":["drive","disk","path","fs"],"author":{"name":"Zoltan Kochan","email":"zoltankochan@gmail.com","url":"https://www.kochan.io"},"engines":{"node":">=4"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/drive-by-path/issues"},"homepage":"https://github.com/zkochan/drive-by-path#readme","dependencies":{"is-subdir":"^1.0.1","once":"^1.4.0","ramda":"^0.24.1","util.promisify":"^1.0.0","zkochan-drivelist":"^0.0.0"},"devDependencies":{"standard":"^10.0.3","tape":"^4.8.0"},"gitHead":"e60a76a5d4ee546eed30da1f36a71a7c7a377d0b","_id":"drive-by-path@0.0.2","_npmVersion":"5.4.2","_nodeVersion":"6.4.0","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"integrity":"sha512-T997+lEcBDz/jp6oGu9MX4V6wgIc/y5nxxj0ou+wnby65YKYSSRxBU64Eba0K+8870E1JeHbnTwlpxsGLA9nwQ==","shasum":"35a1da0381b174f2d5ef13a5fbcabb016385281d","tarball":"https://registry.npmjs.org/drive-by-path/-/drive-by-path-0.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFE+bO9MPLtP63jxIS7oKpoI7z4ppOWn/KZGnqwa93KgIgM3k8cRIbM0zhSnojjCUkboYk4YOxkn1vUHFzY1gMFEc="}]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drive-by-path-0.0.2.tgz_1506776919422_0.05257542594335973"}},"0.0.3":{"name":"drive-by-path","version":"0.0.3","description":"Returns the drive to which a path belongs","main":"index.js","typings":"index.d.ts","files":["index.js","index.d.ts"],"scripts":{"test":"standard && node test"},"repository":{"type":"git","url":"git+https://github.com/zkochan/drive-by-path.git"},"keywords":["drive","disk","path","fs"],"author":{"name":"Zoltan Kochan","email":"zoltankochan@gmail.com","url":"https://www.kochan.io"},"engines":{"node":">=4"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/drive-by-path/issues"},"homepage":"https://github.com/zkochan/drive-by-path#readme","dependencies":{"is-subdir":"^1.0.1","once":"^1.4.0","ramda":"^0.24.1","util.promisify":"^1.0.0","zkochan-drivelist":"^0.0.0"},"devDependencies":{"standard":"^10.0.3","tape":"^4.8.0"},"gitHead":"d4efdd5cc15747dcbdf7e5193e7f33e37f851961","_id":"drive-by-path@0.0.3","_npmVersion":"5.4.2","_nodeVersion":"6.9.1","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"integrity":"sha512-dKDKazvVU5NZoQOQXJXa6gZIWJ3+ZKJ29D+ullJgNKOcDROa2o9CUKFv//VE16WLvl+RiS9LiAWE8BegGMgBEQ==","shasum":"bc20eb06c196c3a5347e52733d499ac07e8085da","tarball":"https://registry.npmjs.org/drive-by-path/-/drive-by-path-0.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDiFM33CGHRn/npyOctaxOKAemFtW4Zp2bEHhl9b3XGFAiEAgZ3mmdiIFzHjo4R0aXdiwuUftSxQ/v9sKazdrkbIPfE="}]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drive-by-path-0.0.3.tgz_1506786631423_0.7627225643955171"}},"0.1.0":{"name":"drive-by-path","version":"0.1.0","description":"Returns the drive to which a path belongs","main":"index.js","typings":"index.d.ts","files":["index.js","index.d.ts"],"scripts":{"test":"standard && node test"},"repository":{"type":"git","url":"git+https://github.com/zkochan/drive-by-path.git"},"keywords":["drive","disk","path","fs"],"author":{"name":"Zoltan Kochan","email":"zoltankochan@gmail.com","url":"https://www.kochan.io"},"engines":{"node":">=4"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/drive-by-path/issues"},"homepage":"https://github.com/zkochan/drive-by-path#readme","dependencies":{"is-subdir":"^1.0.1","once":"^1.4.0","ramda":"^0.24.1","util.promisify":"^1.0.0","zkochan-drivelist":"^0.0.0"},"devDependencies":{"standard":"^10.0.3","tape":"^4.8.0"},"gitHead":"a47a5dcb4f8a79a710437d8d0132c240d4c61042","_id":"drive-by-path@0.1.0","_npmVersion":"5.4.2","_nodeVersion":"6.9.1","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"integrity":"sha512-8AqipZ/j8CZVQpIEueQKawBXGZSE9iGCSLJPyZbTuzdWx19wuUmMIfJzCi8TZ0dkeyuhvVSbsTKdhMsC2KZl5A==","shasum":"2ae4a4a1c3cfa7749a9efe802a59ef42197102b6","tarball":"https://registry.npmjs.org/drive-by-path/-/drive-by-path-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBtmUpW25kHw76gn3tSMlCnUw9qoIJo2lX2ZlPNVRF5BAiAQsHGaR/AhiKQcOiiW+8ZAmLRoS2sebLh1hGSdlPcoXQ=="}]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drive-by-path-0.1.0.tgz_1506787135921_0.6363887437619269"}},"0.1.1":{"name":"drive-by-path","version":"0.1.1","description":"Returns the drive to which a path belongs","main":"index.js","typings":"index.d.ts","files":["index.js","index.d.ts"],"scripts":{"test":"standard && node test"},"repository":{"type":"git","url":"git+https://github.com/zkochan/drive-by-path.git"},"keywords":["drive","disk","path","fs"],"author":{"name":"Zoltan Kochan","email":"zoltankochan@gmail.com","url":"https://www.kochan.io"},"engines":{"node":">=4"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/drive-by-path/issues"},"homepage":"https://github.com/zkochan/drive-by-path#readme","dependencies":{"is-subdir":"^1.0.1","once":"^1.4.0","ramda":"^0.24.1","util.promisify":"^1.0.0","zkochan-drivelist":"^0.0.0"},"devDependencies":{"standard":"^10.0.3","tape":"^4.8.0"},"optionalDependencies":{"zkochan-drivelist":"^0.0.0"},"gitHead":"dea5fceda25d9512c184fa75ad8504cf8ec0fe8e","_id":"drive-by-path@0.1.1","_npmVersion":"5.4.2","_nodeVersion":"6.9.1","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"integrity":"sha512-XWlFcOkHLbVze36B9FU4ssUJA4u5NF49qV234g2KKms585WbUU3NpVRkK6UrI2LA0d/wN3fl/V84ugMYTVaz6A==","shasum":"52bb25bf64c6614b3a60738d10ce9fe9a5f0db0a","tarball":"https://registry.npmjs.org/drive-by-path/-/drive-by-path-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEjGtvZWW1t17lq+jUt3qni2e888IdZF/ePEyNb0NgGRAiBSjiKIN3qyflMq7Q2hRcU57gilq989+edv4aPtrKLQIg=="}]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drive-by-path-0.1.1.tgz_1506878637534_0.7805356525350362"}},"0.1.2":{"name":"drive-by-path","version":"0.1.2","description":"Returns the drive to which a path belongs","main":"index.js","typings":"index.d.ts","files":["index.js","index.d.ts"],"scripts":{"test":"standard && node test"},"repository":{"type":"git","url":"git+https://github.com/zkochan/drive-by-path.git"},"keywords":["drive","disk","path","fs"],"author":{"name":"Zoltan Kochan","email":"zoltankochan@gmail.com","url":"https://www.kochan.io"},"engines":{"node":">=4"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/drive-by-path/issues"},"homepage":"https://github.com/zkochan/drive-by-path#readme","dependencies":{"is-subdir":"^1.0.1","once":"^1.4.0","ramda":"^0.24.1","util.promisify":"^1.0.0","zkochan-drivelist":"^0.0.0"},"devDependencies":{"standard":"^10.0.3","tape":"^4.8.0"},"optionalDependencies":{"zkochan-drivelist":"^0.0.0"},"gitHead":"98d87ffce5ac1a106723d52ca2c8cc8f806c642f","_id":"drive-by-path@0.1.2","_npmVersion":"5.4.2","_nodeVersion":"6.9.1","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"integrity":"sha512-frbj4CYegOkYn3s83ja0nrc1TemPjz4v9VNWK4pzm7jQXhRvoFA4JxSiJQFoTlAdLNzgE/5b8NwNsVgTRWsPDw==","shasum":"0f40bf15a9678fdff6ef8809c90357ed4f925885","tarball":"https://registry.npmjs.org/drive-by-path/-/drive-by-path-0.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH1tx/qYVU9qYOJqOp/qFYScCCUG1G8+6A/VPJHXAOYsCIDqu1XhY2goH5Mon7r5fK/Kg3gm7x5BF3VKkcEPsRpKi"}]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drive-by-path-0.1.2.tgz_1506974642312_0.6387965991161764"}},"1.0.0":{"name":"drive-by-path","version":"1.0.0","description":"Returns the drive to which a path belongs","main":"index.js","typings":"index.d.ts","files":["index.js","index.d.ts"],"scripts":{"test":"standard && node test"},"repository":{"type":"git","url":"git+https://github.com/zkochan/drive-by-path.git"},"keywords":["drive","disk","path","fs"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io"},"engines":{"node":">=4"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/drive-by-path/issues"},"homepage":"https://github.com/zkochan/drive-by-path#readme","dependencies":{"is-subdir":"^1.0.2","once":"^1.4.0","ramda":"^0.24.1","util.promisify":"^1.0.0","drivelist":"^5.2.4"},"devDependencies":{"standard":"^10.0.3","tape":"^4.8.0"},"optionalDependencies":{"drivelist":"^5.2.4"},"gitHead":"e4923a8c32c4e31e3cce21f48e38a011490e4c6d","_id":"drive-by-path@1.0.0","_npmVersion":"5.4.2","_nodeVersion":"6.9.1","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"dist":{"integrity":"sha512-FSY6axBYIVfYz9Rj6c6ECzcSxoNgqZRfAQP0kDiCVa38gPDzVyPWcEvxfDnJ96xW4oXLZLpiOloxRnC1sUKksA==","shasum":"8f0b3c62be2b43a9a8dae40047e605db6490c79e","tarball":"https://registry.npmjs.org/drive-by-path/-/drive-by-path-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAD/yf0clSwvKfSDCuHMrIomq5pm6U1TgTBMExdN8yZXAiAqHxfC+oDBgDlrrSUywvZ4cRwf11W4rldrbVKhfpSZsA=="}]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drive-by-path-1.0.0.tgz_1507320492528_0.019699966069310904"}}},"readme":"# drive-by-path\n\n[![Status](https://travis-ci.org/zkochan/drive-by-path.svg?branch=master)](https://travis-ci.org/zkochan/drive-by-path \"See test builds\")\n[![Build status](https://ci.appveyor.com/api/projects/status/p6gfn1w3fc8e94v1?svg=true)](https://ci.appveyor.com/project/zkochan/drive-by-path)\n\n> Returns the drive to which a path belongs\n\n## Install\n\nInstall it via npm.\n\n```\nnpm install drive-by-path\n```\n\n## Usage\n\n```js\nconst driveByPath = require('drive-by-path')\n\ndriveByPath('/zkochan/foo')\n  .then(drive => console.log(drive))\n//> {\n//    matchedMountpointPath: '/'\n//    device: '/dev/disk0',\n//    displayName: '/dev/disk0',\n//    ...\n//  }\n```\n\n## API\n\n### `driveByPath(path): Promise<DriveInfo>`\n\nReturns info abouth the drive under which the path is located.\nAlso returns what mountpoint was matched via `matchedMountpointPath`:\none drive can have multiple mountpoints.\n\n**Arguments:**\n\n* `path` - *string* - the filepath for which the drive is searched\n\n## License\n\n[MIT](LICENSE)\n","maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"time":{"modified":"2022-04-29T05:50:18.602Z","created":"2017-09-29T19:17:09.434Z","0.0.0":"2017-09-29T19:17:09.434Z","0.0.1":"2017-09-30T12:34:17.955Z","0.0.2":"2017-09-30T13:08:40.475Z","0.0.3":"2017-09-30T15:50:32.724Z","0.1.0":"2017-09-30T15:58:56.842Z","0.1.1":"2017-10-01T17:23:58.477Z","0.1.2":"2017-10-02T20:04:03.291Z","1.0.0":"2017-10-06T20:08:13.485Z"},"homepage":"https://github.com/zkochan/drive-by-path#readme","keywords":["drive","disk","path","fs"],"repository":{"type":"git","url":"git+https://github.com/zkochan/drive-by-path.git"},"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io"},"bugs":{"url":"https://github.com/zkochan/drive-by-path/issues"},"license":"MIT","readmeFilename":"README.md"}