{"_id":"drivelist","_rev":"375-c91e45a5195888ecee647c844344a919","name":"drivelist","description":"List all connected drives in your computer, in all major operating systems","dist-tags":{"latest":"12.0.2","fix-device-paths-0457bd8":"6.4.1-fix-device-paths-0457bd8","support-lsblk-hotplug-14a8931875fc5cebec232c05ed1a1a59b361ed9c":"6.4.2-support-lsblk-hotplug-14a8931875fc5cebec232c05ed1a1a59b361ed9c","sanitize-lsblk-json-dd917155e752ebbb0d933cac1c216197cfdfa536":"7.0.2-sanitize-lsblk-json-dd917155e752ebbb0d933cac1c216197cfdfa536","sanitize-lsblk-json-9a9e8b443185f8717f8638c13c6177540fe9cd83":"7.0.2-sanitize-lsblk-json-9a9e8b443185f8717f8638c13c6177540fe9cd83","sanitize-lsblk-json-796f55cf8eaec892e339251673fe17895ea1feda":"7.0.2-sanitize-lsblk-json-796f55cf8eaec892e339251673fe17895ea1feda","sanitize-lsblk-json-38423878f6eb8a25d05f0af1565686c21a92b776":"7.0.2-sanitize-lsblk-json-38423878f6eb8a25d05f0af1565686c21a92b776","sanitize-lsblk-json-d2f5e6a62e93b246d73f15b718b11c81a6197bc4":"8.0.0-sanitize-lsblk-json-d2f5e6a62e93b246d73f15b718b11c81a6197bc4","fallback-lsblk-pairs-aee037821f108d2d6c13e340af26f84920e199c6":"7.0.2-fallback-lsblk-pairs-aee037821f108d2d6c13e340af26f84920e199c6","fallback-lsblk-pairs-0b521e9bd8aeba32daf938218c1708c6cee688a2":"7.0.2-fallback-lsblk-pairs-0b521e9bd8aeba32daf938218c1708c6cee688a2","fallback-lsblk-pairs-2cf22290df92d09f88e1bdb39f84e6e34afa9e74":"7.0.2-fallback-lsblk-pairs-2cf22290df92d09f88e1bdb39f84e6e34afa9e74","fix-types-d04ffa45fb645228d4deffdd1391b3166ae3a5d9":"8.0.3-fix-types-d04ffa45fb645228d4deffdd1391b3166ae3a5d9","nochange-68eb61f94494deca81094898daef34f304d1893e":"9.2.5-nochange-68eb61f94494deca81094898daef34f304d1893e","ab77-operational-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb":"11.0.1-ab77-operational-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb-1","ab77-operational":"11.0.1-ab77-operational-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb-1","renovate-mocha-10-x-c9389204acde6edf59fc6c80f89547c05373aaa7":"11.0.2-renovate-mocha-10-x-c9389204acde6edf59fc6c80f89547c05373aaa7-1","renovate-mocha-10-x":"11.0.2-renovate-mocha-10-x-c9389204acde6edf59fc6c80f89547c05373aaa7-1","renovate-node-18-x-faddc18a42071c7980d34b31c04fe5476511162b":"11.1.0-renovate-node-18-x-faddc18a42071c7980d34b31c04fe5476511162b-1","renovate-node-18-x":"11.1.0-renovate-node-18-x-4bd72ee8fe7b5f713f54b8cbb246227c97c1149a-1","renovate-mocha-10-x-f4964dbd908a0010ea12b9833e76001ad31a0c7b":"11.0.1-renovate-mocha-10-x-f4964dbd908a0010ea12b9833e76001ad31a0c7b","renovate-node-18-x-9298b6cfa35499bcaf7cc14c27373ca1b759ce1a":"11.1.0-renovate-node-18-x-9298b6cfa35499bcaf7cc14c27373ca1b759ce1a-1","renovate-node-18-x-4bd72ee8fe7b5f713f54b8cbb246227c97c1149a":"11.1.0-renovate-node-18-x-4bd72ee8fe7b5f713f54b8cbb246227c97c1149a-1","update-dependencies-7139d35ce44e7e5e57e1c48f7fbb1e2efdb01adf":"11.0.3-update-dependencies-7139d35ce44e7e5e57e1c48f7fbb1e2efdb01adf-1","update-dependencies":"11.0.4-update-dependencies-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae-1","update-dependencies-2fd7ab35d821ad085b0236193375a2c122d7a518":"11.0.3-update-dependencies-2fd7ab35d821ad085b0236193375a2c122d7a518-1","update-dependencies-af7c3f57f9d7aa19cf7f0c7e6c3dedaf961da254":"11.0.3-update-dependencies-af7c3f57f9d7aa19cf7f0c7e6c3dedaf961da254-1","update-dependencies-e3470a38b1bd84bda6e792c43803389327be94de":"11.0.3-update-dependencies-e3470a38b1bd84bda6e792c43803389327be94de-1","update-dependencies-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae":"11.0.4-update-dependencies-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae-1","build-ab77-operational-a8f81e671b3dcf019c56da705dd0feb0001fe974":"11.0.5-build-ab77-operational-a8f81e671b3dcf019c56da705dd0feb0001fe974-1","build-ab77-operational":"11.1.0-build-ab77-operational-3dce6011c8f164a80823d5bffbff0c750a587e20-1","build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866":"11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-2","build-ab77-operational-3dce6011c8f164a80823d5bffbff0c750a587e20":"11.1.0-build-ab77-operational-3dce6011c8f164a80823d5bffbff0c750a587e20-1","build-renovate-node-addon-api-6-x-38a10329db40775245466daa7fa8b1291ecd997f":"11.2.0-build-renovate-node-addon-api-6-x-38a10329db40775245466daa7fa8b1291ecd997f-1","build-renovate-node-addon-api-6-x":"12.0.0-build-renovate-node-addon-api-6-x-2e58fa8593941e71cf16a84aea17e9f653c5f2c7-1","build-renovate-typescript-5-x-102dc03d7445c29dfa371d133975dd009e89dda8":"12.0.0-build-renovate-typescript-5-x-102dc03d7445c29dfa371d133975dd009e89dda8-1","build-renovate-typescript-5-x":"11.1.1-build-renovate-typescript-5-x-640f0d1f9267d753037cc666787f6633f1df3762-1","build-renovate-node-addon-api-6-x-2e58fa8593941e71cf16a84aea17e9f653c5f2c7":"12.0.0-build-renovate-node-addon-api-6-x-2e58fa8593941e71cf16a84aea17e9f653c5f2c7-1","build-renovate-typescript-5-x-640f0d1f9267d753037cc666787f6633f1df3762":"11.1.1-build-renovate-typescript-5-x-640f0d1f9267d753037cc666787f6633f1df3762-1","build-renovate-node-addon-api-7-x-275ea9dad4ae88882f14e82a64fffbb174dc3616":"12.0.0-build-renovate-node-addon-api-7-x-275ea9dad4ae88882f14e82a64fffbb174dc3616-1","build-renovate-node-addon-api-7-x":"12.0.0-build-renovate-node-addon-api-7-x-275ea9dad4ae88882f14e82a64fffbb174dc3616-1","build-renovate-balena-lint-7-x-60b4a1add7e00536c54da94f8ee7a23330fa3162":"11.1.1-build-renovate-balena-lint-7-x-60b4a1add7e00536c54da94f8ee7a23330fa3162-1","build-renovate-balena-lint-7-x":"11.1.1-build-renovate-balena-lint-7-x-60b4a1add7e00536c54da94f8ee7a23330fa3162-1","build-otaviojacobi-support-node-20-561ee8f38a59f70597fdb0e133babac9c85b9afa":"11.2.0-build-otaviojacobi-support-node-20-561ee8f38a59f70597fdb0e133babac9c85b9afa-1","build-otaviojacobi-support-node-20":"11.2.0-build-otaviojacobi-support-node-20-a3381a8f8a5d4fe3198cafbac19a0738b42e83e4-1","build-otaviojacobi-support-node-20-a3381a8f8a5d4fe3198cafbac19a0738b42e83e4":"11.2.0-build-otaviojacobi-support-node-20-a3381a8f8a5d4fe3198cafbac19a0738b42e83e4-1","build-renovate-major-node-addon-api-e7d0b0c6632329d4e366f110b5e2d9e18788817c":"11.2.1-build-renovate-major-node-addon-api-e7d0b0c6632329d4e366f110b5e2d9e18788817c-1","build-renovate-major-node-addon-api":"12.0.0-build-renovate-major-node-addon-api-d02c8e3006f9c4ec4763cac8cff553b3634080f7-1","build-renovate-major--balenalint-0e0411f6caaa3392c05dac800aa71d25ab59580c":"11.2.1-build-renovate-major--balenalint-0e0411f6caaa3392c05dac800aa71d25ab59580c-1","build-renovate-major--balenalint":"12.0.3-build-renovate-major--balenalint-272d13705811675c22066ab9275004dfc5f47e88-1","build-kyle-custom-runs-on-961183e410973cee6824c665ad9239cd1bb49703":"11.2.1-build-kyle-custom-runs-on-961183e410973cee6824c665ad9239cd1bb49703-1","build-kyle-custom-runs-on":"11.2.1-build-kyle-custom-runs-on-961183e410973cee6824c665ad9239cd1bb49703-1","build-renovate-major-node-addon-api-b056b06c78819c33df1db137ed38096fb7abcd18":"11.2.2-build-renovate-major-node-addon-api-b056b06c78819c33df1db137ed38096fb7abcd18-1","build-renovate-major--balenalint-b5fb49d6af547894c394e744074ff433f4c181e4":"11.2.2-build-renovate-major--balenalint-b5fb49d6af547894c394e744074ff433f4c181e4-1","build-bump-node-gyp-147394c5b59fdc4a720eb65604debd6619e50216":"11.2.2-build-bump-node-gyp-147394c5b59fdc4a720eb65604debd6619e50216-1","build-bump-node-gyp":"11.2.2-build-bump-node-gyp-147394c5b59fdc4a720eb65604debd6619e50216-1","build-renovate-major-node-addon-api-09c0a5332763d65bb73a6d40de4118454ab8cf66":"11.2.3-build-renovate-major-node-addon-api-09c0a5332763d65bb73a6d40de4118454ab8cf66-1","build-renovate-major--balenalint-8edd5465a12e8944bd015181c9d79cb7188a7565":"11.2.3-build-renovate-major--balenalint-8edd5465a12e8944bd015181c9d79cb7188a7565-1","build-renovate-major-node-addon-api-d02c8e3006f9c4ec4763cac8cff553b3634080f7":"12.0.0-build-renovate-major-node-addon-api-d02c8e3006f9c4ec4763cac8cff553b3634080f7-1","build-renovate-major--balenalint-157ade42859104a659c3d1b4702e3059dea7c4d4":"12.0.1-build-renovate-major--balenalint-157ade42859104a659c3d1b4702e3059dea7c4d4-1","build-renovate-pin-dependencies-296474af7d34af109becadde0c1c3f9d9e9db475":"12.0.1-build-renovate-pin-dependencies-296474af7d34af109becadde0c1c3f9d9e9db475-1","build-renovate-pin-dependencies":"12.0.1-build-renovate-pin-dependencies-296474af7d34af109becadde0c1c3f9d9e9db475-1","build-renovate-actions-setup-python-digest-8d277f7e43295d5b6b55ce7893c5f3ebc103cc9a":"12.0.2-build-renovate-actions-setup-python-digest-8d277f7e43295d5b6b55ce7893c5f3ebc103cc9a-1","build-renovate-actions-setup-python-digest":"12.0.2-build-renovate-actions-setup-python-digest-8d277f7e43295d5b6b55ce7893c5f3ebc103cc9a-1","build-renovate-major--balenalint-9798eece8c1491c1e49ad4839a70db29d17bdb5f":"12.0.2-build-renovate-major--balenalint-9798eece8c1491c1e49ad4839a70db29d17bdb5f-1","build-renovate-major--balenalint-272d13705811675c22066ab9275004dfc5f47e88":"12.0.3-build-renovate-major--balenalint-272d13705811675c22066ab9275004dfc5f47e88-1","build-renovate-actions-setup-node-4-x-3f158fca98eb5062a4a090c59cd997ffb3778d0b":"12.0.3-build-renovate-actions-setup-node-4-x-3f158fca98eb5062a4a090c59cd997ffb3778d0b-1","build-renovate-actions-setup-node-4-x":"12.0.3-build-renovate-actions-setup-node-4-x-3f158fca98eb5062a4a090c59cd997ffb3778d0b-1"},"versions":{"1.0.0":{"name":"drivelist","version":"1.0.0","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"^3.0.1","table-parser":"0.0.3"},"gitHead":"c31de80699943436bc3f5605dff3bdf7af95859f","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@1.0.0","_shasum":"48fc18aaeadb37f34839aa34f9fee72182bf977f","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"jviotti","email":"juanchiviotti@gmail.com"},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"dist":{"shasum":"48fc18aaeadb37f34839aa34f9fee72182bf977f","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-1.0.0.tgz","integrity":"sha512-rLrR/obmCK80lSg5Uwa7thE4F0Q7eyAXNZEbS4GkcWeahkHdjVNQ4pe/3sMr2qOo0pA6J7nyYN+vH5C9WVCcUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPmoRfp28THPv53J7ugCIqfW/3jn69kDkxpl/myEgVGQIgbxYQNOr5qi2pPwEeqmQXfRTLRm0jnZJwCksO6sFzCrE="}]}},"1.1.0":{"name":"drivelist","version":"1.1.0","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"^3.0.1","table-parser":"0.0.3"},"gitHead":"f3ad96f18d645a51b2fb3e8e8a9137007b52e623","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@1.1.0","_shasum":"f0819e042571bbf3d7677b5152143be0a1d1c4e0","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"jviotti","email":"juanchiviotti@gmail.com"},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"dist":{"shasum":"f0819e042571bbf3d7677b5152143be0a1d1c4e0","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-1.1.0.tgz","integrity":"sha512-jJmCOqSsBsUhEOu2ETCr4HbaIP3ZHLoEJNNFZh571GPHzVgm0ISb2gTXuHhshfx+9CrLO3xRCjKyk+Uja2T7fw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBG6LEbrxIdzg9oPx4jdBLiH+TiC+UXIr4w42Qjpdy9KAiEAqCNqQFWG8fzS1mapJtLwJcgVoyoAAdti5vMCigO2qk4="}]}},"1.1.1":{"name":"drivelist","version":"1.1.1","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"^3.0.1","table-parser":"0.0.3"},"gitHead":"63d9f8533e003e89dcac52dbd9d73515c6334df2","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@1.1.1","_shasum":"eb7c4cde162fa0c3f6fa2557821ebeda22618bd2","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"jviotti","email":"juanchiviotti@gmail.com"},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"dist":{"shasum":"eb7c4cde162fa0c3f6fa2557821ebeda22618bd2","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-1.1.1.tgz","integrity":"sha512-JInM5LJLDqRlh/eCrayciBY1VdsozU9taa7XeDgSlHaMjhxTblUksdPOFd+AuAzvmzG5TyLBx2G7J9kG8BA6VQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrXOWUD4aAZVv3X5ERfKfcylf8h/s1oMBCrl4K2G0dPgIhALbUaC7g+33lAMNviWp70ByysfSuBm6fFNH5w6emChCW"}]}},"1.1.2":{"name":"drivelist","version":"1.1.2","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"^3.0.1","table-parser":"0.0.3"},"gitHead":"e2df10448a4074cd0c117c292d41e3a2b05ee9ef","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@1.1.2","_shasum":"7ea2aa8d28caad929dfe3d05ffaf8055c4421a0d","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"jviotti","email":"juanchiviotti@gmail.com"},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"dist":{"shasum":"7ea2aa8d28caad929dfe3d05ffaf8055c4421a0d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-1.1.2.tgz","integrity":"sha512-7b7rvpFVfhVr4WHnjDrP/bSGIJYMJmWuI2Sf2S5I1qjMbjrCmjUyo0GRmIgPbUFhyr5zE5dD7nxa8736xSAUuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJriGPDrTHLhGy2AW5B148b5jjPr+s1eBJfTRw9v+AHAiBNquUpFWqeHrLxJjZuji86GloZBPzV9uchHrWXvjB0IQ=="}]}},"1.2.0":{"name":"drivelist","version":"1.2.0","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"^3.0.1","table-parser":"0.0.3"},"gitHead":"58903cf4aedeb559e60fa8ef78c8fb2cb9b873a1","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@1.2.0","_shasum":"66fa29b745de23e98cc2ff436a5a295dcf60970b","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"jviotti","email":"juanchiviotti@gmail.com"},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"dist":{"shasum":"66fa29b745de23e98cc2ff436a5a295dcf60970b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-1.2.0.tgz","integrity":"sha512-d8Ss5VZ+RwNxnYH0lVMy7M7ix1XtecDIB0JXCsynKf7NMLqw6h2FcW6j8td7rSN/yReEyLzfT9n1ymoUXgamgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDamJRpedpvBvmxosXf8CqIZZiUhn0tJo9tBxcahgvTQwIgLUNrQr3TiDp1tz3flASJywTbEXRlX6kUKGRjtRA9gvs="}]}},"1.2.1":{"name":"drivelist","version":"1.2.1","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"^3.0.1","table-parser":"0.0.3"},"gitHead":"24e655a636b5a9327f062205da0a4d6998600f64","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@1.2.1","_shasum":"40f921ab41579e46cd456bfa683732edf84d9855","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"jviotti","email":"juanchiviotti@gmail.com"},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"dist":{"shasum":"40f921ab41579e46cd456bfa683732edf84d9855","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-1.2.1.tgz","integrity":"sha512-F2XpwvUPXHeeACQcBi6gx7/4oAVW5gmD6rR1SIUfStueRcLvdHzXJYGM+oz5jkImjeYQs/TVIlk9woPhI/Pfkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcY65SbSw8ssjq/vdmoPLZXOzDOeF/INq344O4grUGGAiBIvEF/TFISOfoe1R5goLoXb3LbeLAKbeheMqTLgYXalA=="}]}},"1.2.2":{"name":"drivelist","version":"1.2.2","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"^3.0.1","table-parser":"0.0.3"},"gitHead":"1eebc36b2280fc4cd51470e8feaf53ee9e3bd1c5","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@1.2.2","_shasum":"01668a8915b6e69ebf30765c62712d8c9d64d66f","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"jviotti","email":"juanchiviotti@gmail.com"},"dist":{"shasum":"01668a8915b6e69ebf30765c62712d8c9d64d66f","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-1.2.2.tgz","integrity":"sha512-3jrw/wvTt8cDRBeQiCByvm1Lo3APSlrfZTxlltMh6r2BnfemePrHeSZ1mRUCru2YNSMWbqifuDGwKv+ajW/lSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCT8MozCz38PblJ94idZAdwyub0VG6Fc3A9aOUgdKpcTQIgUuinHkOsTYWU6jJgy06F3prOqNHQmLC/IuwE7Ph8c5g="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}]},"1.3.0":{"name":"drivelist","version":"1.3.0","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^1.4.0","lodash":"^3.0.1","table-parser":"0.0.3"},"gitHead":"d1fea956d777164008210fed965de290fb2f32a3","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@1.3.0","_shasum":"b8b1db4ea6827609095f0c62694a7e22b1d11056","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jviotti","email":"juanchiviotti@gmail.com"},"dist":{"shasum":"b8b1db4ea6827609095f0c62694a7e22b1d11056","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-1.3.0.tgz","integrity":"sha512-s/7IbsdGxGBZdBKugpYETnETS2Toj/SycKa1eVja4Oni2Uq3U36O44rO6xxQlu8s9zJkhWKcU9lzNnQ3BTj3Ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtsK6PkdtRsR18vohH7GLPMht/tZ5Mr+jBzYNiAnRkDwIgJENQXlN+zewqcH+MSJNbqnwDzqMTyABWTtwq4qFN2fw="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}]},"1.3.1":{"name":"drivelist","version":"1.3.1","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^1.4.0","js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"aafe1dcf038f90faa861b0aa9bbcdf934dd573ee","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@1.3.1","_shasum":"ca70b34037112fe6cc83ba55217eef89b37c97ce","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"ca70b34037112fe6cc83ba55217eef89b37c97ce","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-1.3.1.tgz","integrity":"sha512-Cye1d9Oe5EYHagK1r6oJRgi5xORcqPBtMdTHI34pTqkRFOpESmL/1M7k6iDTX111rpXjRccndy51rWDiTiGv3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCh/WGqzLNjyepiG/WwrF0y8Y8GNWjpgWPSTMQJgIM5rAIgG1W1BEh2S0Z5uhFPL1Mr2QNiUctfligKvTV4zyj4lRA="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}]},"1.3.2":{"name":"drivelist","version":"1.3.2","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^1.4.0","js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"b49036bf8bab36172f3190264350e3dba7287e69","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@1.3.2","_shasum":"66b4fdf5dfb9ef944f5c53c9e09d654221264cd4","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"66b4fdf5dfb9ef944f5c53c9e09d654221264cd4","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-1.3.2.tgz","integrity":"sha512-i8Ki9yPjdAUWGdfiILqucNBWfxce0mvmsjDfbW3DSAqPhJylTia5Vo/aLGzQmAXD8n09VhFN8F+VnIBpKS4efA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUWENL0c7xtc5lqJ++gTt5R6gjrHcevLY8DU9XHaWFQwIhAI/4bYVLgXex8y6pX8EQvn5TxM8fA/4uXDdFtCmTpWk6"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}]},"2.0.0":{"name":"drivelist","version":"2.0.0","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"187de345bf322844e281d81bde5d1dca189d2db0","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@2.0.0","_shasum":"8ebd1f05ce7fe995eac720be38c5085e7ebc3521","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"8ebd1f05ce7fe995eac720be38c5085e7ebc3521","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.0.tgz","integrity":"sha512-Dv1hs/nxCVUM2tOq7LFdnyREWhuEOCIX+3cCUFcq/pUiROLStrc/ZJZV5tlJ1PfKJynrsUHWkub52v+rEc9J/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDuPV+ftBpzR7JTBf2cdc2mCgywo05CehE9u3mC3lk+JAiEA3Rqh+FdHAtu9AY08fvMxNy0dX/WrXjNfzv2hD3novI0="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}]},"2.0.1":{"name":"drivelist","version":"2.0.1","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"8e7a974ed60d7ee3c978de0b451abbcda8f8fb94","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@2.0.1","_shasum":"f6c09100f8b699a803df52c2c77aae6b34099b71","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"f6c09100f8b699a803df52c2c77aae6b34099b71","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.1.tgz","integrity":"sha512-hiur5AnPXfLJ6/gSU+hDrbdEdAJI3hlaZOtSRnEItlxS9ea+uPxj41e4y/oujxTGfmPITkkzNQ7AWq/a9tsecA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAzuJh4vb1QYtQtbK06DJhEqPiLWm0bhBwpGD35CtX93AiEAvuhv8UXUuNyLF7zPL09xnt0Cd7WY81XoW2YsyTNcxes="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}]},"2.0.2":{"name":"drivelist","version":"2.0.2","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"0b3abd54586f7fff93685234b8b1281beb433210","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@2.0.2","_shasum":"390ceea9a2b1b94ca9ae69216e89db94630f50fc","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"390ceea9a2b1b94ca9ae69216e89db94630f50fc","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.2.tgz","integrity":"sha512-x/bXRMjn9kSGZZJD/Dn2aq4PWxXrBPWF5GiAbtS2Ir1jW7wlv6BcE6fg+FFYvKqyewbkFPE6pL8+BSSLuIgsZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAIdO7EdpnFfsznwC0K9csOolBLAetAWqL2rjsUd2FHAiBwyTPXcinaPbj0rvnXr1eXxR1N5Ku6TiR6g0q+0OcGhQ=="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}]},"2.0.3":{"name":"drivelist","version":"2.0.3","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"5bfd565c092164535ba36dce56b9664706cf997d","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@2.0.3","_shasum":"1af3e689d44a401dfdbe2a9f2b3a939baab1d1e5","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"1af3e689d44a401dfdbe2a9f2b3a939baab1d1e5","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.3.tgz","integrity":"sha512-QifuyK9UPdihnqMHSScZn2AXfEJJ72zrdqPeYLhqmu1tMViCJLjMwINzNu9scozktI9PekzxM+6Eb0f+2cWcQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+PdN1L6y8xADuWPgXF/BcrtNdVUxMqYd1dut5QdLW/QIhAO8A7CSGwZ+a9VXQWbNV9Zf6I0JjwJlgABiUueNsNBUN"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}]},"2.0.4":{"name":"drivelist","version":"2.0.4","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"de4d7e589ea63466edb3b7d4d8d6ec441faf9143","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@2.0.4","_shasum":"6a72171d19d810ab9deb2295ab04b039021ffd02","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"6a72171d19d810ab9deb2295ab04b039021ffd02","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.4.tgz","integrity":"sha512-/+68LoKOc63ct6NDjuW6OMOLjk8W+VhglJkeVKyVUacPb14qqcxu+3SzPGb1hG4EFgUowD7ugzLIakekr+09+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaOeeQUiAuuoxm6265dVyc87nUYeLt+7rS0fZR/ZEM6QIhAN+FGfELyoI/j98iYIj09iPCBivAIAQuZ2a0pkEm2GHg"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}]},"2.0.5":{"name":"drivelist","version":"2.0.5","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"e1805f1decfd2f942aa67e2c6e384e4e090315e8","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@2.0.5","_shasum":"0977c60fe4805bf3d578e1269db851d826f58c47","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"0977c60fe4805bf3d578e1269db851d826f58c47","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.5.tgz","integrity":"sha512-mM/WzPq6V9KZbS3PRcLri0C7zxvELb8+yS0kYHBq+aKYUPReKDg/5+6KfhWCaEclQRqILHEYUL5p/jrRLXIKRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnK2LMZslPWwUUDQ0eGz+SgGvD+dCDbuDefzaWovJ/8QIgUqxA+BrAwdrQ8BME/cXUk5CZ70ubLpLpduak6XXaDj4="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}]},"2.0.6":{"name":"drivelist","version":"2.0.6","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"ddb0416edfc2b70eb8ccaca1e4cfadf4614d86d4","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@2.0.6","_shasum":"f88d4dac65f20e6bac8c398b6ee7df613d9067dd","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"f88d4dac65f20e6bac8c398b6ee7df613d9067dd","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.6.tgz","integrity":"sha512-FgNesBBukkj4BVMO8o9ZZkZwwkAml2aVK75AzQV0iCMNeZAfo5PosGBp/D1W2Mtt851QiwFUZDLXpMqVNqFppA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGEHEx1STtSJ2C2DLLSoJCO+O5L47xjm/Bl2f4xhPiRjAiAWpSJJ/sBJBJQTid8G4fe+fW+L8KAImp5AOC0MemfURg=="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}]},"2.0.7":{"name":"drivelist","version":"2.0.7","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io/drivelist","repository":{"type":"git","url":"git://github.com/resin-io/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"666027d4a0a28b87f86d46584dbfbe20cdb5e191","bugs":{"url":"https://github.com/resin-io/drivelist/issues"},"_id":"drivelist@2.0.7","_shasum":"ae76b5c7e4f13b7ab63756c823652c3cf7a131c8","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"ae76b5c7e4f13b7ab63756c823652c3cf7a131c8","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.7.tgz","integrity":"sha512-/NFP4lEho36CAJcLUzBVZzMXOyfxwxlj6aejs9W92Yqe9qIGfmXBsX7x/5lJWtxUEnJbYIjwIkwzK8LQTo60Qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDWOj3tVo1JjmC7+60Nthhg0B5i8RRmvs2dYK0Nj0LxoAiEA/eRPdVBB4iipALJ6EgbHgYbgYhFIPF6rNmRFOdfw1DQ="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}]},"2.0.8":{"name":"drivelist","version":"2.0.8","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"87465b9c2ece321d1a7b6c540f2c4177699f08ef","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@2.0.8","_shasum":"dd6348dee5a72c9836dde3ec80c0f842b90b7965","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"dd6348dee5a72c9836dde3ec80c0f842b90b7965","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.8.tgz","integrity":"sha512-8DTynSuT3RmbqO5NlaTuXfuo64tfn9nIKEJwtuwxZXYSMKldG/Vnw1w+CD81wonbBv2YkcyjMRuSpwJpGN+JEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDJvGvsowwZhqXV4d/t7tiSBIIxlSFSWWauym8sJsNiQIhAN1bFfQ5Lm4uN4AtmwpN/pMxd/6SnQ1cAkkv7FznG6CQ"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/drivelist-2.0.8.tgz_1457618211884_0.4197928733192384"}},"2.0.9":{"name":"drivelist","version":"2.0.9","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"fea22af33465d82f16ae9dce8e313d9b53f4122f","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@2.0.9","_shasum":"ed3b84cd855141c140e2430bc901df8cb573e709","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"ed3b84cd855141c140e2430bc901df8cb573e709","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.9.tgz","integrity":"sha512-RjQIaZCKsW9GmWW8rlsUkOyG5jVSJQ0OmDAMN92+kjtUWRyk4NNRnzw56BT5oJBw6Z4RpFWoMMSC4TZ9QWGRGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI02fwuu/mgmNs3LgJ+Mfth/3nyudJGWWTPDaEBRB+aAIgd/pOhye+A/eeCe/uqD+07iDTaAGOXe1Xp0ow5PsA2Tw="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-2.0.9.tgz_1458840955371_0.01040672673843801"}},"2.0.10":{"name":"drivelist","version":"2.0.10","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"8372a107a23a03702ffa69aef087d7ccdfe8ab90","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@2.0.10","_shasum":"f35a992ab8024370b56f725432e6c359b51422e4","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"f35a992ab8024370b56f725432e6c359b51422e4","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.10.tgz","integrity":"sha512-w6QgwquBf1esF2Hf09DtDEXpRcgnzkaCpfA2a1UPQbl7TgcVh6kpL56Hf/eiZa6ak+mk87XeEIn6+pFVR9h9NA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGKW2zyKaZ7LRNu646IVv9R6oDp6mXwTlWdCO+UxHFcXAiA4/pXtO1Yzwcp9dSXG8Vzh5Bw/g/P5OLtLQKba2LJT5Q=="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/drivelist-2.0.10.tgz_1458921124667_0.40554065350443125"}},"2.0.11":{"name":"drivelist","version":"2.0.11","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"9954128e2c0558efd811f4773009dea1196c8fe4","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@2.0.11","_shasum":"1e567a9e7a9906cbc437f54fff89e388ecadc614","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"1e567a9e7a9906cbc437f54fff89e388ecadc614","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.11.tgz","integrity":"sha512-4Z2C1zLBOEeMyJVkQ04ml28xkYKnlEZzeJetvPFpxNx7XuJhmZVR3Do7bXLCHfZxpCsGuNcogg33GRQ5zw9SfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJbjdIaIBVH7BcsIYFJdoifHhMQ2XvuDAiLTgHk/mSGwIhAPHwgCl5Mk5UZmpLe5oYNHWCMuhfztaIld/0Dmg0pWEF"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/drivelist-2.0.11.tgz_1459368588344_0.392989388667047"}},"2.0.12":{"name":"drivelist","version":"2.0.12","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"af8e110df6ac6264773c4bb206df0e7b31a3bb06","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@2.0.12","_shasum":"2c47d873b43381f67fce250fa659145a0b96a35e","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"2c47d873b43381f67fce250fa659145a0b96a35e","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.12.tgz","integrity":"sha512-h4wX4zdFMMZ9YWsbzJFZqc0gXz6E9FtMBAR5KUFd2tJ1FU6Ui46oQcWpjIRCt5Y6T6eO4GIOYlgmSXpyELU4iQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDh8Cbv7Jj7MXcQoQL0IBXjbYH9wMRb4pE+fe4xi+ZdvwIhAJ4584kq4woTN+mb2B0YDJQSA9BixBk9TuxwHLohrVOU"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-2.0.12.tgz_1459867735518_0.07781461137346923"}},"2.0.13":{"name":"drivelist","version":"2.0.13","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"ee8067597a6b9948163393f03b5990f77aa84fe4","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@2.0.13","_shasum":"a6613603663b4d3a5ba88d21522772200a5fe354","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"a6613603663b4d3a5ba88d21522772200a5fe354","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.13.tgz","integrity":"sha512-OhFVhAj4pvhxAk8H8UuR/bEn76mOW6yuJaqQPHlIIWoOqqYkhIBVggCWSPAOLQnCplw6MW9d+OxtuwBssjZVkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHwgE+8cUdx5ZhlWjo5N05h9nhAEye+O9B8aA/ph/HvmAiEAjM1Gl1aR1iXdGWaBlmI26yYeAvd2+cfiyO6mE54blF4="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-2.0.13.tgz_1460140818432_0.7408842591103166"}},"2.0.14":{"name":"drivelist","version":"2.0.14","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"17c3ad3f558fe382a2b7e610d86b2153fb788592","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@2.0.14","_shasum":"0ad3a0c352beb7ca5b0f21d7d036934751e13222","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"0ad3a0c352beb7ca5b0f21d7d036934751e13222","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-2.0.14.tgz","integrity":"sha512-9rerGoJtMHM5xE4+2Ckn/Tyb/t9vC5cMQRSz/odF+ub/LSsGntAxXpNY41zFTleqT1iFbtt3TVCcuI6uA6wmOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDta7/WRxAlzh44SCITEzBvNIgQGa8+hNck8oimhocNxgIgFxmQQ7aDzxk1sOdlXB5Q4cRTR6xDDlYjb0VBu+8PBvA="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-2.0.14.tgz_1460480382142_0.9860628952737898"}},"3.0.0":{"name":"drivelist","version":"3.0.0","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"ba159dafb85f0528e8f4273ece70995dc7fe68bb","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.0.0","_shasum":"a50e49c8b3e1baae9387392a531767cae8332a9e","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"a50e49c8b3e1baae9387392a531767cae8332a9e","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.0.0.tgz","integrity":"sha512-O0eI5XOUOyx+6AxnjFsf0TIO70F91gDLb07Bh9PYwQbhKWuviWaeUq1SbjRcRoF+8z3OXIy/B3nFtW5NRtqxuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDh9iAeOPs5yD6OEURycgIrkB1V3qETT2LWmfF8YrlXAQIhANMm++YhqKJ1nXb2Mv+j1Oywq14z0LDuHCaN7tvWozbk"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-3.0.0.tgz_1461352456508_0.34714815695770085"}},"3.1.0":{"name":"drivelist","version":"3.1.0","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"96b084e5d8a26ce53d1a09c61cb1e7ad70f24099","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.1.0","_shasum":"497768c290e6eeabf871139dd51dede26b94a416","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"497768c290e6eeabf871139dd51dede26b94a416","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.1.0.tgz","integrity":"sha512-HyVAmyHvDbrIuwSDFwfHml9vHVeFTfLRQvGu7/Czqxb6FJYUhUQv85056fDmKI15rjOZnvFinfKRl0SfygTKSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG5bCQbkN+0jzc+uUJAIt20jrrZx/4iSyMp63Pfv7TaNAiEAi28MWGRpDk5dWPiztTiMz37zGEHJ+D8Eq6C1XX/EJFU="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/drivelist-3.1.0.tgz_1461696377358_0.39694577641785145"}},"3.1.1":{"name":"drivelist","version":"3.1.1","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"15edff658dee74e6d201ae7f0b884e47fa32cc4f","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.1.1","_shasum":"bbbd4945bedeaa068f591884e24fcc908f45e46a","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"bbbd4945bedeaa068f591884e24fcc908f45e46a","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.1.1.tgz","integrity":"sha512-otFPDSsMNaASZ09C8+wMnGpX46qTKf8rZVr6R1JawihpVApDbXy/GvRgJY8l4yPlnzLip/dpq+SW+Y2meIxh9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCe1xyAJYdqiq11Ex7cWOoqxPABNa/wikwnDUrVzPt0aAIhANjdPUbZgvdyOPa82YqZvX/My4t8CZKIsu65ZW4eWAzX"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/drivelist-3.1.1.tgz_1464196431042_0.94475670857355"}},"3.1.2":{"name":"drivelist","version":"3.1.2","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"2e2bcfbdd368d7174ea2a8b2352c867fa4764d77","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.1.2","_shasum":"4285cb0d287efbf109a1a8f8adce9f5b2f06a279","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"4285cb0d287efbf109a1a8f8adce9f5b2f06a279","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.1.2.tgz","integrity":"sha512-B5c+KY3DwpkjTsFjLwjhg4cz/uSEYkGuZs53v1H0eIS0tuInWOPu54MqEC1v6KOwY05SdjchxCszG8FK1EZ1MQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXafIhtMMB9itV2Eocx93EJssmH7p+yTQZuLkYo7EpjAiEAh27VVvGUlGWLvNg2MB/9zzU5bm8IlXwxubGhAiDCxOk="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-3.1.2.tgz_1465231233329_0.7505983144510537"}},"3.2.0":{"name":"drivelist","version":"3.2.0","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"3d0d1548bb214285fe4e96da102edf5bc4468645","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.2.0","_shasum":"cc2d04d847f25f39631a96bf6320543ab650bb77","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"cc2d04d847f25f39631a96bf6320543ab650bb77","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.2.0.tgz","integrity":"sha512-jjWZ5/TFYuEcoip1fuMCGAHOJQbxAjVjI3EnVqiT7GR1ysF6wBN50iRKvrlFagZVamOEaDTbvhDUxj7Wy/3R8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdeNZNyVvl+1KN11RtEofHUs43HNgZjz0BfciMJNI95AIgL9Us0aPR6tsjexf9Tanp6Ion60rQji1eeOKXP7FOG9E="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-3.2.0.tgz_1465412690562_0.7757283521350473"}},"3.2.1":{"name":"drivelist","version":"3.2.1","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"ebf1fecdd0e9d040a073583f61f6cbc8bd684002","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.2.1","_shasum":"0e0ea954d460df3e1da34d1e0d586366c013ac93","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"0e0ea954d460df3e1da34d1e0d586366c013ac93","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.2.1.tgz","integrity":"sha512-FFwrMz5Fse0S9ca35QC9TIJ0edeBTOf76rmja38uDBcDE2A+ZBzarc4/sMPzTAdK3sP7fCY+vt2ray48mhRxJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF1ajZt7uLbST+j3GwftksNoJPEkoEnLaW6f9d/vVj38AiEAqlTBZGD2/B4OesJODwXd7GiGZ93i223FGPzg6pfj5PU="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-3.2.1.tgz_1468508793169_0.4730348519515246"}},"3.2.2":{"name":"drivelist","version":"3.2.2","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"ef361596408359df67587b8911a2e2bc357a0064","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.2.2","_shasum":"0893008605b1b9163c4c3254f138f054d6bd0ff3","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"0893008605b1b9163c4c3254f138f054d6bd0ff3","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.2.2.tgz","integrity":"sha512-MsU1JXq9p2wpY2ifOjbPXAxiDVga8EhWEgHULEiWT19kU4byBSHUp8ZNdrdDVeEXnzqHIMAWasd4OqeN7rwY5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiRDqsRj+zRNQyV4SRxu5DtGr+bQjo9MiQvqQIVzLYfAIgIfKceo8PvzwHxYBvNN8xehV15r2k9rn9BI1M3vE0ZSI="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-3.2.2.tgz_1468807616549_0.11034437548369169"}},"3.2.3":{"name":"drivelist","version":"3.2.3","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"51835458e72f46dcfcdf89fa69b54f35a228296e","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.2.3","_shasum":"66819ffb20e84b01a32f5999f29ab50860800e32","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"66819ffb20e84b01a32f5999f29ab50860800e32","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.2.3.tgz","integrity":"sha512-a6sOJk+gssaEkPh+Dy88C+RxSRIsKOww6mWKxC/NNKdSQiEsyg9u4OIaKlvKTL4Xw55dRjdz0yA9WgFl7jwzjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy+eFQu72R9AdxPdNLAqQgX+rAQrVKYDd0d09CXKpH9AIgYJ1haETodFlZlRE+AkE7QkfQLRDPZzgpqt45v3rQ8/4="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/drivelist-3.2.3.tgz_1469536704260_0.700479500927031"}},"3.2.4":{"name":"drivelist","version":"3.2.4","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"dcdad59f8533f69e6cef1ec538bee26c3c05b4da","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.2.4","_shasum":"9e622ff947c41e2cffef66eb977f1a76d30ad1cf","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"9e622ff947c41e2cffef66eb977f1a76d30ad1cf","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.2.4.tgz","integrity":"sha512-24ehJqM8ebINYrM0LqzL4AhJFNX4EBKgGIw7fDYjSsk0EW7fcczFDu6JfCmIgGsrAkEuxV6CBTAcPRoOGgrEPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIIvfasvFrxGUvd7NLsG1ILKCEnxGRgcfEKhXNejVgYwIgW/KTnU7kw7rT9mmjc2Px9UbWFY7cuEOsqx8/SmfRdIE="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-3.2.4.tgz_1469580540477_0.4104239612352103"}},"3.2.5":{"name":"drivelist","version":"3.2.5","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"241a6e4554c7c9af9a50468afd7fdbfe53444fc4","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.2.5","_shasum":"d4fc7335a2a059167c579ae8602215b647c5676a","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"d4fc7335a2a059167c579ae8602215b647c5676a","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.2.5.tgz","integrity":"sha512-pYSmq7zv5FhEiGXHjNtF3EZ9A6B4pdh91Dw12a/o855yn3ypLqMH4Q0KeGUauS3CzPCNWw7DFC+5cmet4aBi8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPEMy/5cFSSlm70/a/knmUj3efyiB4qmevNdvmuvcw4wIhAN1plq+5i6rdBGEJcphGLmlpXx4DXTwYooFxJy9qT4eO"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-3.2.5.tgz_1470013804524_0.6232501140329987"}},"3.2.6":{"name":"drivelist","version":"3.2.6","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"b4e8413ad292e0706a4bca003e5047e33800b3fa","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.2.6","_shasum":"45d195cc34b3d6e86cbb7d069837e4a7c5239ed1","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"45d195cc34b3d6e86cbb7d069837e4a7c5239ed1","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.2.6.tgz","integrity":"sha512-ZAXrtc0/3fKepczp9SyBYGNNpG7I77lFgHSYsM+R4fzOJyQxFpgk76dHUmhImya+WgUqZre5S5IOxeym6vMCvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcj6RAYd7tgSfdfdvGNxnPW04f7cs+TtS7UPoUCB9+VQIhALO21Gi12Dc98F7BbCKs8YBjGvUYWNf3Ozw7cdzTwBV9"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-3.2.6.tgz_1470105298618_0.45078546227887273"}},"3.3.0":{"name":"drivelist","version":"3.3.0","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"ed4b2823e9f2f5a3b156593aa4a7d8e489eeb02b","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.3.0","_shasum":"85c8f6d0566ff24b64810a917f5bb6a8a8192ce5","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"85c8f6d0566ff24b64810a917f5bb6a8a8192ce5","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.3.0.tgz","integrity":"sha512-HLxKAyNRua8iB2LCJafMEvgSS0oF9lgbn7kse5oNv53AKxsx/W4/G3fp4YrOLHbUfBqD/pLpoZYx6HyxOcXJSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpjHqN13FiQA9m9vdFEWqORxW08l611ICW2zIW6OI0nQIgUlXhEjnQXwWd1APQID0K9tGLRy2IKvq35bxw/tPNR6g="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/drivelist-3.3.0.tgz_1471881442458_0.8813889739103615"}},"3.3.1":{"name":"drivelist","version":"3.3.1","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"5d42b3a36bb6a5beb54daff376143c8b35041b74","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.3.1","_shasum":"1cbc99d50156aa2ac48b6a2efde843facc50bebc","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"1cbc99d50156aa2ac48b6a2efde843facc50bebc","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.3.1.tgz","integrity":"sha512-/gCXo/cm9iw/qlimwWq0WjoakszsHwySbW5Z/ecVE5y2REaeepGhMPZqtyYWZOzPG5CEmMR3GzMeQZ21+uj/lw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHuFA4UPAXGWgzSZnojlFrcVlAA3evD8oozwmY82xgpzAiEA6dfUkyNOioSNkvrWL8dc1SG0l5HKioCyn7HIDgKHA24="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/drivelist-3.3.1.tgz_1472067601204_0.6634570534806699"}},"3.3.2":{"name":"drivelist","version":"3.3.2","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"96f3500d68cb7d3b0d8ca83d3df1805b4d06bff2","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.3.2","_shasum":"3ddc05d9b4de4825de3986ded439e5970013b829","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"3ddc05d9b4de4825de3986ded439e5970013b829","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.3.2.tgz","integrity":"sha512-gfh8nTl0BxDG+k2mB8sp9FqOJMJWXqMVBMKv4cWRyNYCorZbmpUTm+bXgMmk0598BOqP2QHFN57OtufQ2/H+sg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgHWVGgPz6tGZEpiCJvkay2PnjF7ipawMhO6+2FPggFQIhAN6vgr9ItLr9Zx85LXtjfc/CrXbn22+ZUGJlzK+PaUMl"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/drivelist-3.3.2.tgz_1472234719230_0.4422029606066644"}},"3.3.3":{"name":"drivelist","version":"3.3.3","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"b3cb376d6a1a4d2fb74fd0641a9f5dcf5af36c02","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.3.3","_shasum":"d3b13210755fa51bf6bab6a83091cefbd435eb08","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"d3b13210755fa51bf6bab6a83091cefbd435eb08","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.3.3.tgz","integrity":"sha512-AVPkVHQ1M4Is8DosZx39lHc43rLTPWWHSwiB5dmx2TOT3RLkpgMOpv6T7ATTKZJuYrItoQpGx69o0j4lEhU4gQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQZ/z79TjRNZ0O0ogbrf0TEbOddy5aSAOI3hBQpSfPKAiEA//cUUr+DGSQvi9VvssVpfCXwd+BpLkIzrv7GzJsSVZo="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/drivelist-3.3.3.tgz_1472831678080_0.8888699931558222"}},"3.3.4":{"name":"drivelist","version":"3.3.4","description":"List all connected drives in your computer, in all major operating systems","main":"build/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mochainon":"^1.0.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^3.0.1","table-parser":"0.0.3","underscore.string":"^3.2.2"},"gitHead":"3ad98655baf5a77533978ecf4847cacf10141893","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@3.3.4","_shasum":"1e7438013b54c08d2a7c6be44a9bce18b7293eb5","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"1e7438013b54c08d2a7c6be44a9bce18b7293eb5","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-3.3.4.tgz","integrity":"sha512-5GHIEzjaG3nb8SP+ngu7fLH8maa2f7FxK8LYgFEb7MwhP7OEyHqpNkUe+Xo7aYpME6kK4X1aSQ5lMYuRLi5VzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUuODkRRzm0omRi5c0uZ3f7UM9IthYJjRIfrMwmoZvfAIhAP/TKPlCRPGGk0hnkEhnaEiUpQASQYsuh5yy/pnHFyl3"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/drivelist-3.3.4.tgz_1474495534261_0.7397507475689054"}},"4.0.0":{"name":"drivelist","version":"4.0.0","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"15965b5cbf26aa24fd2669038913c30da07eba2a","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@4.0.0","_shasum":"0da3e2aa8ea1c653e253dd3c648357ea03d83fd3","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"0da3e2aa8ea1c653e253dd3c648357ea03d83fd3","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-4.0.0.tgz","integrity":"sha512-v8TS7sx42OyD3ZD7c9Anud0LVLA7K9nmDHjmXmhmZgNVCz4tbEgkAGFdc4tb4JRC9Ha7Zn778TDdj+ifBDXnBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbQK7SEUZYySLD5rGmOMC0ibzd5cohnJqFTkM8G2UhAwIgUWv4ONOKhkojaSw18/iKoPfNS5ScwInccEnr/S+Lo1c="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-4.0.0.tgz_1477888211127_0.06431852770037949"}},"5.0.0":{"name":"drivelist","version":"5.0.0","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"2a41b5cf8e75b4a50c47f83540cb35df840dbf0c","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.0","_shasum":"d1d0e6059b4ff19db3a1a877757175578baf074a","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"d1d0e6059b4ff19db3a1a877757175578baf074a","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.0.tgz","integrity":"sha512-fTp5El+MkqygHE+TAPG8ZhkN3o2FMs+VyMadJGEM28K/udozazLBtiOJiTisNjKMOHQXZkDN6Rgbt4TShD6bfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7eaHNRcHWS5fhBNdvcj18dNOnJ/kHIzgzFDfamAX+CAiArVDYXcgWD4diYlvKvHEILlmmfkXFM+u6YPX0s+ifH0A=="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-5.0.0.tgz_1478722482108_0.8295426454860717"}},"5.0.1":{"name":"drivelist","version":"5.0.1","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"ffb0c23aacc9c4f55189b9772139244356d00d31","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.1","_shasum":"94bed848638274e938fdc2f4245baff451ac65ce","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"94bed848638274e938fdc2f4245baff451ac65ce","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.1.tgz","integrity":"sha512-VIh4AimdF7u8v031kljRvW3Pj7VBEUWJLdpl57X/Of5P2tGMqZd7NPQFckIQsTTgxVTnLEdCR4xZsQT4TnAbtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7Hk3DiXJYd3eLSxY+I9RD65cEmbgZLw5Kf0AqeAq4iAiEAy8q1ndAefHdv9VAArrQCXCP+yHRp0Goyo1tFVBQT+BM="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-5.0.1.tgz_1479115240882_0.5115463430993259"}},"5.0.2":{"name":"drivelist","version":"5.0.2","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"b45435dce56a77a4f88878acc22ffc2612bac34c","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.2","_shasum":"4a2cd7eba77e4f91872033fcab55a0b3f9e99c61","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"4a2cd7eba77e4f91872033fcab55a0b3f9e99c61","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.2.tgz","integrity":"sha512-YVjSDGaGxY2fii14EpUX+gjzAiv4sfW8KVRMAabBPhNuAjBtN4VctlrbGLQJ2ShkINp4JhPvky0B2lzuU6e+5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1GKSUGSwCkkUL8ysVfHBViwDgHXC3bewZnFlIR3n9WgIhAKqAyeDDLa/41pz0fObqaCHgrMsEskHS+qwBoqj7MrdW"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-5.0.2.tgz_1479301259548_0.45024009980261326"}},"5.0.3":{"name":"drivelist","version":"5.0.3","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"1494da6be2316f67c68dfe74bd27f3c8f564dcea","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.3","_shasum":"bc6cd7841ffd8446d2d15967744293a42e8a8a2d","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"bc6cd7841ffd8446d2d15967744293a42e8a8a2d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.3.tgz","integrity":"sha512-7ckHLLF0jA16zoBkoEENi96yWtfTj/F+nvqFQ1pyO2xONeDW4MRe5faegnlhcNW2sSIwcJpEvcXCzgyRJM3ukA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx2EqnYFmiqbPu2Q3cF7JZTm5jUoP/XQnH0RtB21Bf9AIhAMrDHEYBxX4+LfLOj8TUlBJNo1h7zjdUSCrHvaiKmqJT"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.3.tgz_1479302172819_0.46739864558912814"}},"5.0.4":{"name":"drivelist","version":"5.0.4","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"5267c45d14dea4a13de334665db8a8286420a1bd","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.4","_shasum":"b0db2b98036fe0adf268154a59abf5827e22af2c","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"b0db2b98036fe0adf268154a59abf5827e22af2c","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.4.tgz","integrity":"sha512-LnS1UyS10WizF+HDMxe015JF3qGs5aXh+Ki7tZ/hmpqSAvlKEjUbma9PUlkBVowHqOFtWtD6dDvciHqmdIkfjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEOd0UqC6P6ewZjScetvT8qbYCCWH22+oM4ONnu/f1nMAiEA65mUfN7Ef6C2/JNQ9t/q3LgFEX6xB1FMGeBxDx47wrE="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.4.tgz_1480025499748_0.21454670280218124"}},"5.0.5":{"name":"drivelist","version":"5.0.5","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"cdfc551e5fbe874a09cc947589480548bd938712","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.5","_shasum":"db7bbd07323cd1b99bf65def012edb5a58d8bba6","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"db7bbd07323cd1b99bf65def012edb5a58d8bba6","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.5.tgz","integrity":"sha512-58Jql6dRqCoHHzSxUIzeREAu9AKBzplCCGB4eHM6NaD29LirXZnjj/HGcxtS6zxv2NXIJ/We9KwVUVcQSr2zeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEE4ZGkvfb+C0A081I7meK7BB6iixg74l7e6T1NFHebYAiEAxqj9bXpKFZ69NYJ6gKAlkQVKOF8gU43LzEoIUoeY76Q="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.5.tgz_1483717120646_0.8768931394442916"}},"5.0.6":{"name":"drivelist","version":"5.0.6","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"4bd78c264c8193e1bd8b01f2f1bed0f6b99022d1","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.6","_shasum":"efd1d683f36339a42e7473fde0eda61b63c5dcfa","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"efd1d683f36339a42e7473fde0eda61b63c5dcfa","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.6.tgz","integrity":"sha512-rJAlReiamTQIb3N9Ev8QDn0Afa8fqChu6sfwWd+wpSBa5IDbI+xZAsdv8zFehfReXFpnVaaWcxDj0Km0sJfRgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPmqfbl/i4i6pU4UIJGlPfAu0IDsVm44keEkY8TFaWfgIgaW/Su4oCSAuEcfr3VDRKV49G6D/+ziLB/HS9rRTe0UE="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-5.0.6.tgz_1484236690253_0.7097472031600773"}},"5.0.7":{"name":"drivelist","version":"5.0.7","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"3a601e6cf50206d73a661ca2784400aaa50cecfb","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.7","_shasum":"0a492eaf8f46fd83adf324980d9d03ae9cad9340","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"0a492eaf8f46fd83adf324980d9d03ae9cad9340","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.7.tgz","integrity":"sha512-HYW8cfMSZKoz5qaHgIQ56MErfzkTXXd3EFCQgmD+7C66Vow89wDg3uzMm9rMz/UzuOrpFOuxKUNGsZX3UqNDqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICo0fDk0TSinuAEClpeZBwBUv44sWoUNavivRJFo5pv3AiEAkZ4dHD1Q4RS42lsbOS++JOfqDaTLongU9rrGBUvCFko="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-5.0.7.tgz_1485447593954_0.3783954649697989"}},"5.0.8":{"name":"drivelist","version":"5.0.8","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"2fdd37f30f24e65eba50a721e6719f8fb29ae8f8","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.8","_shasum":"8fac5c53e394d80d24fe7eb092a13f31fc9199ed","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"8fac5c53e394d80d24fe7eb092a13f31fc9199ed","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.8.tgz","integrity":"sha512-D8eibgqcEwd3jHFEFnnqDxLlzzl23LnP0fHcvnehx4KspMRCNXF4MQD9uz8RKWiRVf0h2CQOW+nplYQTKUW0wQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG3A/eoO5H9Ml1vtmlFX5O211LH6CjHYIMK0rN0Y53hGAiBHzKEFhCh3ioyq+dbAIq9lcfHlk9p8vGHfIbg1+y7JiA=="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.8.tgz_1485554057798_0.36619416205212474"}},"5.0.9":{"name":"drivelist","version":"5.0.9","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"912e408daa78cb6e774c90e2f15f0a6194c1abbd","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.9","_shasum":"524a9f5c34fc096a713b07fd4032af89462ed360","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"524a9f5c34fc096a713b07fd4032af89462ed360","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.9.tgz","integrity":"sha512-Z3bXoiWVDQquPyn1HIiTR/8m2tpTS+j6EMyOCYWTlO1NvBckPUPtfWoIbDuHgW119bomOaCCGhmm7miw+U2sSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1I4gYLGT2zw52mAs369FGNqYkZMDUkohF55d2J63SGAiEArVTF6Q4D9Xb6a+bXGR1XgQZ3J9KTyzzGkYf8qjI3LmU="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.9.tgz_1485873932111_0.47425755113363266"}},"5.0.10":{"name":"drivelist","version":"5.0.10","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"623ee11ad9d0f542fb2332f16d09ab6900a8d6a9","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.10","_shasum":"41c043be94205c71354d4494291c46a4cfa74e94","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"41c043be94205c71354d4494291c46a4cfa74e94","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.10.tgz","integrity":"sha512-a6pdyD1AVX9uVJTS6wI9yzlyqcDc9fj30GncFMoWIU2+JajjbOKAjhOSXTJcu7QLLydDyhNsXDsC6piMbj9rXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3cNuSz8ttyVR8Zja4KcWqhiV75MAkN/DPrb+fgT/FvAiEA31oDXbiEENCJevM8WgetERpHCTYpi+faNYuLF8AaNO4="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.10.tgz_1487083146924_0.21061559300869703"}},"5.0.11":{"name":"drivelist","version":"5.0.11","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"562219cbc6a914f3f805b8ce0044a93e02f3ad02","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.11","_shasum":"1630d35fbb3fad6e728b68f3d2cdba9a124b4865","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"1630d35fbb3fad6e728b68f3d2cdba9a124b4865","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.11.tgz","integrity":"sha512-JCtCSajrgfI+gD49wG1h0l7R5J+A9SSLjuuf+93/u5EKLytKZYlL92ZAbXAYhVvuPucz5vR8yYCBO2iNWCA5YA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFb1qqAixuZM65mr+hJRAwe83w2QGw6AaPMsUUb8GH5hAiEAislivrd1ITDFHHNt6jbEPymLoOTohDaXPhBVjCubrwM="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.11.tgz_1487548678920_0.7824420679826289"}},"5.0.12":{"name":"drivelist","version":"5.0.12","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"a21b3d4833a248f084aa511a254a31554f5b9eb6","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.12","_shasum":"8277957f153bc6ceda81324755e21f56c5ac3b8d","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"8277957f153bc6ceda81324755e21f56c5ac3b8d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.12.tgz","integrity":"sha512-L7+0m774Qy5XIt7vc+qGKHOGxnxMdm/kWAvbGHSzQU357tWrKXFKQrknoF65wvn4RU7PtxJ5ob7pOJcdonCUhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB1XgccavA1hGYY2VI0L0m03TrlnV6a9z65D48TSq5+cAiEAw3F43DRpQz3UnpsaYhUtqvJrMX23qrrCfLHHERIGPxQ="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.12.tgz_1487708950542_0.5489422450773418"}},"5.0.13":{"name":"drivelist","version":"5.0.13","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"57ee010f4b3d25439680dd725b0525f181bf6496","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.13","_shasum":"a9fc091a623fde2e59e1119ea64fb4063e3169f4","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"a9fc091a623fde2e59e1119ea64fb4063e3169f4","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.13.tgz","integrity":"sha512-2g09NVSv6OXpSJD6d/k3QOJUGjzCKFMk2jqWSzjPI15MZ33VM5036W6E22cKHJRqUXrsxrc+aL8tJuP6kWpdbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUzdPeN0m+Kw+ONqM5MH3QwMO5lKSB4K+GsUKSLWh11wIgBJJmiD56xlCKjcKeREzfRTZex1A/eMc2RupWi4iksjU="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.13.tgz_1487710243729_0.3212986974976957"}},"5.0.14":{"name":"drivelist","version":"5.0.14","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh","drivelist-win32":"scripts/win32.bat"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"52a981785978d08be39337eafa4674ae46c5c30d","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.14","_shasum":"1409507fcdcaad3e35c657f799fd110b00e29509","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"1409507fcdcaad3e35c657f799fd110b00e29509","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.14.tgz","integrity":"sha512-NhmVXjUfKSX3okvtgmpTNzj6xQBlLSTDRB40nECOHA4RRhcb8hcLWZFyi7b8w5kOp/sOAURxAU/tT6ObvcRKeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGQJgydiIOhpJNRVcswjqD0O+gZ0nDoLJcoMCzgSipz/AiEAq/tDTFku8NN2NolsD5bq6r/UWw77eaGdB7GdIIAWK+Q="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-5.0.14.tgz_1487876360797_0.7240927191451192"}},"5.0.15":{"name":"drivelist","version":"5.0.15","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh","drivelist-win32":"scripts/win32.bat"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"53cb48899cf0c5c30f3669dfa04c65c53b5ea160","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.15","_shasum":"de908bc97a05d266ff09bc9286cefd6ddf1aa016","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"de908bc97a05d266ff09bc9286cefd6ddf1aa016","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.15.tgz","integrity":"sha512-pxqC2oJdkX4Gq84L1jSGibaC5jwtiW68VDt/QPUY+87ixsdsiBdtH6NA2XMQlQeeRKY2KtSIQ5wqOXU60yysEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEXY9LiVIrjrFanAxYn0J6bXeISgfvqA13P9X/5GABu5AiBiLLzdwJaJ5z833GxaDYz6N0L2P9YTkld98sXoZ/Eb/Q=="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.15.tgz_1488815273788_0.9269839178305119"}},"5.0.16":{"name":"drivelist","version":"5.0.16","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh","drivelist-win32":"scripts/win32.bat"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"3d7cac66a9e1d0aa40a18d0a85a0e911409a7bcd","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.16","_shasum":"34667219b76f7558add44cad4e326b1bb2b46d47","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"34667219b76f7558add44cad4e326b1bb2b46d47","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.16.tgz","integrity":"sha512-gUpH4Z/ePBhkwLo97ZmOze346sSQbCpOT5o8C+/HHkbCpP+k+qJlmKHEvG/MDDiTRzbQSChO+Sx32CqRM7aShQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFam5YoSkHTLa7DrFaOQVwhH0DhH9c1z5mkcpTOO7QePAiBdAXCRwN6tJVRBwFjsMO7NOtCswFpWVATVO4zzs9GhjQ=="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.16.tgz_1488827782128_0.9334044980350882"}},"5.0.17":{"name":"drivelist","version":"5.0.17","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh","drivelist-win32":"scripts/win32.bat"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"4297f95cb26a108831832eecb483458f891e47bb","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.17","_shasum":"1a6e89488e6f8e7c923ee7bd2a9364646115ac16","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"1a6e89488e6f8e7c923ee7bd2a9364646115ac16","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.17.tgz","integrity":"sha512-JB9x7LTZ657Jl1MOjUJ4MISKpQJ2O2V3YZHejHoDU6ZQKmFlweaAizGO0ppfm9i2fdJ/f25LMjx/g5Zap0YzCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID1GTQYwduyBqbvTUCDhwrgBsJoSCXjQg0JGBLeMrrhQAiAUaryFHcy7UmW8WHe0rUSgFy/41M+Q//px5bwJZ0Np+w=="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-5.0.17.tgz_1489588809576_0.6123647498898208"}},"5.0.18":{"name":"drivelist","version":"5.0.18","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh","drivelist-win32":"scripts/win32.bat"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"475f5b14317f6439fe5f8631e90e0c3fcadc06ba","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.18","_shasum":"7ea3c04df4decaf57285c9c04ee911186074c9c5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"7ea3c04df4decaf57285c9c04ee911186074c9c5","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.18.tgz","integrity":"sha512-5ef0HwDIGe413xRjM+lo0kcAhMaD2HGavY2M1nbmjLBaJyZ4pIWVf38WI6tKFhrAIDy176+rb6G8fRQAQLeF5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8JBO8udTKT5dw+DreVi4p0mq1ts5Tb0Dl1OcIoMHSFQIhANqPIyADaNej47D79YQdcsk3OtycoQlP60idIvFBMzKM"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.18.tgz_1490109529086_0.905097191920504"}},"5.0.19":{"name":"drivelist","version":"5.0.19","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh","drivelist-win32":"scripts/win32.bat"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4"},"gitHead":"63fc67faa88c7fdc9cea2d22a81bff93879052b4","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.19","_shasum":"780f6314b38f1b43a7b626942c768dda1415ea7c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"780f6314b38f1b43a7b626942c768dda1415ea7c","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.19.tgz","integrity":"sha512-NnOsHTj8miboAAChoWR899rwZnPTT4ZdxyPaPqBswrw5xsGMfz3imOeta9VOHx9e+S8nZ+MDbXIc3gunkjCFpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDDPYQ2YPsaSeOTTSjf7hYmWnXsGS561youHzxvBjBcPAiA6hng0Onlv4S785JrJctp5+jiCV5hrvE4hYeUjVCQlJg=="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/drivelist-5.0.19.tgz_1492626223603_0.8641696977429092"}},"5.0.20":{"name":"drivelist","version":"5.0.20","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh","drivelist-win32":"scripts/win32.bat"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"bluebird":"^3.5.0","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","tmp":"0.0.31"},"gitHead":"6cecc72a07945ee35be7f469edb5d9fbe159e08e","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.20","_shasum":"0166e6aa6756212210e8861839c21c76f4a917a9","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"0166e6aa6756212210e8861839c21c76f4a917a9","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.20.tgz","integrity":"sha512-zfaCD4YScP4fF4PNiErW57eHD7kbKbEPnUc9KwqBpeb3+ELxY0mg61GmAuN/lDiHHNlu2PsuI5bOeXu00lHybg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDD/YWY2n6HGAEykUWf++bwsLrdizL7ByurWnba1JAV2wIhALYv12pB6vmevBQWjSLgjsTwBHcOtvuVpaKqx8fZkyW9"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/drivelist-5.0.20.tgz_1494440689224_0.743427416542545"}},"5.0.21":{"name":"drivelist","version":"5.0.21","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh","drivelist-win32":"scripts/win32.bat"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"bluebird":"^3.5.0","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","tmp":"0.0.31"},"gitHead":"4803013619dca1abc3adf77d21d56660eb98f598","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.21","_shasum":"84fb2a2575cc8fc2ed2996e4b924f4c549009d21","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"84fb2a2575cc8fc2ed2996e4b924f4c549009d21","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.21.tgz","integrity":"sha512-dKikK1egulOzkGUTzkie74A+GSpw2NaqK4xe2nPdpp3+l7dwpAitlFXw1kd6rw1LaFzg4Jg8QdXXCZAlMap5Pw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxHWO36egStPG815So2Tj5cFOllLZ4cTQhcrXFDGBUFgIgSMo6TS1fFFVXCl2Cnxr2hjT8NDgICkdW99N2bNVtGAY="}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.0.21.tgz_1495759016206_0.04128530668094754"}},"5.0.22":{"name":"drivelist","version":"5.0.22","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example.js","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh","drivelist-win32":"scripts/win32.bat"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^3.9.0","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0"},"dependencies":{"bluebird":"^3.5.0","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","tmp":"0.0.31"},"gitHead":"5ee5e7324108fa3df1d497e57ed136f3de641582","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.22","_shasum":"64029a16d530b485d7c2b3f748149c9bc6e871f0","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"64029a16d530b485d7c2b3f748149c9bc6e871f0","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.22.tgz","integrity":"sha512-YhlzqVWf4hGqMyb5JNylWN0jQ27L0hgV6Hoi++5rL5V7KnS1u4fS8himRfr/DTyAG3LYsBXY+R9QLzvmRucYPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRhurvphg4UQ2xHIRpjkUq9ooVLKcC2CtkmBqeezTF3QIhAP+nvaMQgnfRZEg7OSSh502auMj51UWV+7fmBqix3xew"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.0.22.tgz_1496931874689_0.4531692061573267"}},"5.0.25":{"name":"drivelist","version":"5.0.25","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"bcf8d7477050aecd720eb58a31031f8843d5dc70","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.25","_shasum":"a57ec73f07ddb998fc5443ba568dcf421e09bdc2","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"a57ec73f07ddb998fc5443ba568dcf421e09bdc2","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.25.tgz","integrity":"sha512-z3joCT6e9TByDTgHNVm6JwUA0uDeZ9DoKPPr5g4CSfAB5lc6gBa+F0FYf8ben3CIlh0jcqURzWq8KuO7OnGePg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCS/yS2vcAKOpbtCBjjqRInSSv777Gryo601cJJgQqGdwIhAMHGXGjnKq60rNJurNHt7IlBCBeOIqVJZT7kRgGooFU3"}]},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.0.25.tgz_1499808509426_0.08075654786080122"}},"5.0.26":{"name":"drivelist","version":"5.0.26","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"ca3d031a9738455c337cc577f511f8810b97fb5d","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.26","_shasum":"56d4443a59670f3d0a96f392a6deff10ad87d114","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"56d4443a59670f3d0a96f392a6deff10ad87d114","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.26.tgz","integrity":"sha512-noDBvB2GeMOgBF2u8zC/Z2AMrIscuD2Ciea1Aub6ZDi4PNTkJJAdZsX5g/JM6gZuCsw3bkhPz3WY9FTrlIYJgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2jIl/e6zG9oqPtsOK7c6Yg7BLgqrTe4WJW1ggNmOcrAIgSHtJlwUEB1kB3fL5+NdHAANR4Dj9dIHs/12VNXgcIzs="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.0.26.tgz_1500407829190_0.7075580132659525"}},"5.0.27":{"name":"drivelist","version":"5.0.27","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"a8f0e39b83f40d25423d142e3f9df50262d30011","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.27","_shasum":"32b03b684032c09c10cbe583b46d6e570d750400","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"32b03b684032c09c10cbe583b46d6e570d750400","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.27.tgz","integrity":"sha512-n9bz4TgmmRLMpYjuv0fG3S/Xv0GoT3vD/mrmrk9kcaHZW80U+/9ywqiGl/9VoXcAXNJ3Ln5FlU+XOtdyQWsXvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXHZZsSKKY23zUcDqgAgNioXh30eCzeP5kkMxHcJ7g/AIhAP9l3qBC1mhj4RW0L4wMCCuCuGtsF1ocFl/la3fxlhZT"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.0.27.tgz_1500473031814_0.13943896419368684"}},"5.1.0":{"name":"drivelist","version":"5.1.0","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"4b0cdab61336b479568c4d8f9ed31266599d7cdd","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.1.0","_shasum":"446e70b7c800468d2e471d54fa416d5e1b76177c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"446e70b7c800468d2e471d54fa416d5e1b76177c","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.1.0.tgz","integrity":"sha512-bEH9HDmlPqRfZ3cLrE3mLdqbPusc/3Bk4phhHBmIl/m1yJzWgmmDklykli3myLI2owFzT8gfijOP2SJ+VVQoJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDY40Wlk3FEX6wku4TFTOBwUIq/71h1Dfx2we+Apxnw3AIhAKnYFVU1JJcCS5HwyQS7npsjaNE2zDenapHYA8k41Sf2"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.1.0.tgz_1501534772247_0.6525291891302913"}},"5.0.28":{"name":"drivelist","version":"5.0.28","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"12e5cc88a25205b0c7942b7be7a532480d3d3ef4","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.0.28","_shasum":"379142cb5e5ae74addfba23e3901e85487680d44","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"379142cb5e5ae74addfba23e3901e85487680d44","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.0.28.tgz","integrity":"sha512-xnZLI+tX1payHxBZObZZNY7ivmn2pO9HNpUTvVl3n8lfWTdVgxftGD9PI1efgJiL3fEVfM+uHwqBU7RoPxc7pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHrkA4mZj42wQPrzrNt2LDMZsa8t48mhis9xlFEYUU0wIgUZ518D+wq83gW2aoYT7QRVvNOtTX2a/l7Ijwz6XteZg="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.0.28.tgz_1501534788407_0.8301316821016371"}},"5.1.1":{"name":"drivelist","version":"5.1.1","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"b9da3b27231c3351f5088d9c3cb68da70cde85d1","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.1.1","_shasum":"9bc08abb7828333ad7f33c9d0ebc69d5ad30be9b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"9bc08abb7828333ad7f33c9d0ebc69d5ad30be9b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.1.1.tgz","integrity":"sha512-g2XqoEdlRzKC2XteTo9mOyqC2Vsz/DCtmMmf7HEyNMJ8AVBpfE2AnMJh2Po3KGCSP55opxQaI/RKmqdqruAkmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID/yUoAnqmagjXK/yI9xUbyCKi8xatWMdJ16Gv55uZNqAiBCyZHRaQfTDK3HwLXCoJjIdLW/9HgZzY1ebpTqTeXcpw=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.1.1.tgz_1501611818586_0.3614461659453809"}},"5.1.2":{"name":"drivelist","version":"5.1.2","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"fa980c03088e0b750bfdcd3247aa1796b345013a","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.1.2","_shasum":"bc6f8d74829b98d5eb7182ef04889e22d4e4058d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"bc6f8d74829b98d5eb7182ef04889e22d4e4058d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.1.2.tgz","integrity":"sha512-kLz4TVtYyRAnIDlNXkSCes3MaKI3Gr6Y/BCw3ClGK/+XLhlUf0YOOFWC53pOw+15EKnHt/+hqcWeSGL9Qk9VHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGxK6OR3Jw7wbJFzNegfYOYXJKC93OEmdFsbtANRn32AAiEAxSoRdCXbJX28FNoniQzQ+NlAieZY9qKkKDCR2g7l/Cg="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.1.2.tgz_1501622234402_0.042162887984886765"}},"5.1.3":{"name":"drivelist","version":"5.1.3","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"df53904e92795d37f7daf75eaa9ccdfc61759742","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.1.3","_shasum":"101a30c1e3006583d08c574e99726b931f97910e","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"101a30c1e3006583d08c574e99726b931f97910e","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.1.3.tgz","integrity":"sha512-/mUclYns8T0pj8h7NO0G93BGbh8i+p3yyCCoo+bYbj93A4uS8wv/4CUVtacoYSXvQRGB+apJ+u0SbsaCZZmIcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAH/y1q4Z1UfMPMzDEBUiYjl1enm9zRhXps22mx70PYtAiBl0a6d91XGYr/BJRBkVdK+etxs8V8pW8XNS3Uek4ka9A=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.1.3.tgz_1501625815052_0.9707488047424704"}},"5.1.4":{"name":"drivelist","version":"5.1.4","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"3b7087a37aad35d9da0f88a020cbbf44c762e648","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.1.4","_shasum":"2bd5e3fb6653365407993d7e0b9580ec91f08f95","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"2bd5e3fb6653365407993d7e0b9580ec91f08f95","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.1.4.tgz","integrity":"sha512-DIZpQ8pX3NpIcsmAhPPW7cCizFNp8MJPK3G/ydMQ6A8/tU6oufTRQYo0PVN34WQNEGaCvzAw+quYgUnkr6iotA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsQ/JwGx4Pq2RYXQaQXfY15LNi7Qg4aHumcYLNCuUb+AIgQ/zedmc6bharUtol5sTtbnxoRUfyqCJCKpCjRIegPkg="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.1.4.tgz_1502074462288_0.8940333609934896"}},"5.1.5":{"name":"drivelist","version":"5.1.5","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"6e5cfcb6fc51957930cbb3bd786d83f1556ae658","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.1.5","_shasum":"271422bad8220a824990f7293bf797ae3847ac29","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"271422bad8220a824990f7293bf797ae3847ac29","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.1.5.tgz","integrity":"sha512-my8V1HbGFdPUDGpHjzdvnddk751kEWDIj/Q/a3DuGiyBj1ke82UQtbeJ16E04CCTfiujNSE3pgyyU8U0tV1/7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5ADfPLEl0/0mHE+vKOGODEbH0lJd+970QF8C5K7x/wAiEAqam8E1C4LyHJKhrFQeEuDdd2zvVUb01UQtLchqZ4v10="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.1.5.tgz_1502729542911_0.5153639523778111"}},"5.1.6":{"name":"drivelist","version":"5.1.6","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"6e2b5e498f9a97529d2bb86be84d38bfcd66da05","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.1.6","_shasum":"1935e14962121394d8e5cf8d4ff5c43ca5bf5e8d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"1935e14962121394d8e5cf8d4ff5c43ca5bf5e8d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.1.6.tgz","integrity":"sha512-qa1pD/Y9JomTzFWqi7NKm7CQBf4VeGsWa9nvcxi/5uo4qEQl7HjbhUeUR/pgbQ96qQRDA316DrlmV24/p8KXaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/fssAIpJ4hh3ZI8CNoLthPvee27bKel0BKEllPUoMvgIhAJzJDtWKakCaD4gaEUG587ERDGQfb+vBYErYHtJRxjPt"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.1.6.tgz_1503935519236_0.2251628115773201"}},"5.1.7":{"name":"drivelist","version":"5.1.7","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"22b24e87d9455d594752fa7accb45c2279228dc6","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.1.7","_shasum":"e6391b1e455d11ad66d2f9d5e9f1c4e056d7678d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"e6391b1e455d11ad66d2f9d5e9f1c4e056d7678d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.1.7.tgz","integrity":"sha512-aGtgNkcfTLrxtkSkLCj0SXKdFCcJkCdBpqTwKQq0TySwSGA/y1IG0O2zPaOGd/H9M8UTta7NQ3L7Djl/OCYm/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt41wEyLbcTfUFWhpINlJwS3y7ykaNLDPZHM5thYImYwIgYkM1mnXBhan4ZlgBl8cBu9zRmCN1BJgU5LimuS0QFgQ="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.1.7.tgz_1503954744225_0.1155069125816226"}},"5.1.8":{"name":"drivelist","version":"5.1.8","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"node-gyp rebuild"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2"},"gitHead":"ecec12080ee8b61a0e70b30b027dc198b2e16533","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.1.8","_shasum":"76f0d5f747e36544b5fa77ff914ff9a97877b01f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"76f0d5f747e36544b5fa77ff914ff9a97877b01f","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.1.8.tgz","integrity":"sha512-wh4UvzyDDtIbM76INhn7y0CPuY74/CLq4SX/0L+AmWj8MbSaDrsVDB3nkLddOssjVumr8ekLKM48RgP8+13gsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWnAR9/vPUTJR847V329/AKY/D6vh+FOBsSeFnFCs2zwIgc3LHDn3IzETNiVCyUU4/uyHX9kKy70/cKc075eBzDJk="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.1.8.tgz_1503962486061_0.15597933228127658"}},"5.2.0":{"name":"drivelist","version":"5.2.0","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.0.0","jsdoc-to-markdown":"^3.0.0","mocha":"^3.4.2","mochainon":"^1.0.0","prebuild":"^6.2.1"},"dependencies":{"bindings":"^1.2.1","debug":"^2.6.0","js-yaml":"^3.4.1","lodash":"^4.16.4","nan":"^2.6.2","prebuild-install":"^2.2.2"},"gitHead":"d95c0cb8d23e5d7dce42bc28f298889fca422494","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.0","_shasum":"8aab60f22def0481208597b4025f8a7980945ce3","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"8aab60f22def0481208597b4025f8a7980945ce3","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.0.tgz","integrity":"sha512-4mFOS3NFkXex1IFhaeEnmP+XbWR+tFvOTvyK7zQfHJHTKRIq3yWtBOx0q4b8v9KjRf9Kxa4qxvzrKThALlYkLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbFERBPx917fGloQ566UxtzGh5BjMFR306fMPmrono4QIhAOlDMOYAGEKqNxfero8C3sXMV2mxnuitrsyG9XVAGLiK"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.0.tgz_1507283788740_0.2954850704409182"}},"5.2.1":{"name":"drivelist","version":"5.2.1","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.7.2","jsdoc-to-markdown":"^3.0.0","mocha":"^3.5.3","mochainon":"^2.0.0","prebuild":"^6.2.1"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","lodash":"^4.16.4","nan":"^2.7.0","prebuild-install":"^2.2.2"},"gitHead":"152753c32dc7eab8a43e7ea664b90d698bf7e40c","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.1","_shasum":"519a89c7d4fd0dec96949e483c977b0e653d016e","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"519a89c7d4fd0dec96949e483c977b0e653d016e","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.1.tgz","integrity":"sha512-ijryB4DgSSuMcyMp/n0GmgyIgKFrQ3dqTl+D/IXgpsk7n4mSXKuqriCsc/TyZiwlFE18q3ie9iBfMs99Lky/VQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCsY5cPSjxOMqzgc69h76haFZOTuR3Fw/OYrK+kuloQwIgJcz6uYmo6i7C7cmuOHqQAU6YPpmMok2RlATD0AwnHIE="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.1.tgz_1507283799695_0.809001995716244"}},"5.2.2":{"name":"drivelist","version":"5.2.2","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"eslint":"^4.7.2","jsdoc-to-markdown":"^3.0.0","mocha":"^3.5.3","mochainon":"^2.0.0","prebuild":"^6.2.1"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","lodash":"^4.16.4","nan":"^2.7.0","prebuild-install":"^2.2.2"},"gitHead":"8b7863140df98e31f9799108384afb0dc6189635","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.2","_shasum":"e53359a3bbbbe8a9d2cec2249ac1d4615e51566b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"e53359a3bbbbe8a9d2cec2249ac1d4615e51566b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.2.tgz","integrity":"sha512-durnEZzdoAchKxCSJWllChx4lm7sXt6q8kaIuXDfzTttyfMh+5YVGHPUA8ved/itNjQtKO20D986+HQPOeAqLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZPnCRvURBmJZfceR9hC1JI5sDLIjpfGmSO4onwOY3IgIhAK+XPqO7DUpJWHcInCMTC2aWBZxcI78dOLjjPhfMVrMm"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.2.tgz_1507283808232_0.6102626952342689"}},"5.2.3":{"name":"drivelist","version":"5.2.3","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.7.2","jsdoc-to-markdown":"^3.0.0","mocha":"^3.5.3","mochainon":"^2.0.0","prebuild":"^6.2.1"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","lodash":"^4.16.4","nan":"^2.7.0","prebuild-install":"^2.2.2"},"gitHead":"dd8e788024436c89a763dbc4e9402c39c2f2c639","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.3","_shasum":"0a64c03d603f0c07711c5c72e066efc223dd63d4","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"0a64c03d603f0c07711c5c72e066efc223dd63d4","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.3.tgz","integrity":"sha512-UtvUyby5i2ihAtq5TJWe3DWT3mXJcOdkcAQ8Mp8v7Tk39XkYkV+3Pg4YbyRICvFQpaJKgBx21v0X2qedS7RcOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfF5M4d7RXsjrqI18Y6Iseaz29H8zeRQ8mlBBeynGjfAiEAuhPA2PVwT9dePgHaRcIr8L0ZlbPi+V/fNQfWVe+x0es="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.3.tgz_1507283929060_0.246596516110003"}},"5.2.4":{"name":"drivelist","version":"5.2.4","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.7.2","jsdoc-to-markdown":"^3.0.0","mocha":"^3.5.3","mochainon":"^2.0.0","prebuild":"^6.2.1"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","lodash":"^4.16.4","nan":"^2.7.0","prebuild-install":"^2.2.2"},"gitHead":"6d58327f9971677e6de187ce9906f034636c7f2e","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.4","_shasum":"2c3cd929dd71fa056361043a0563ddfe3d49bc7f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"2c3cd929dd71fa056361043a0563ddfe3d49bc7f","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.4.tgz","integrity":"sha512-6cEZjmEsAjzW7zm8YACZryHtTpIiTcOc4XlAakSHovj+4LNuZh9gpN607YgshW3tk91MnROjwySn5hRuxI40/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCL4/ikBOd1t7C9XoZE9W45xiXBk4uryzfrxwD3X7RvewIhAIzqIaQVgNYvucrNGtzUmlOQZ40y2Z3IgVfemfIVjaSc"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.4.tgz_1507309253868_0.037977206986397505"}},"5.2.5":{"name":"drivelist","version":"5.2.5","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.7.2","jsdoc-to-markdown":"^3.0.0","mocha":"^3.5.3","mochainon":"^2.0.0","prebuild":"^6.2.1"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","lodash":"^4.16.4","nan":"^2.7.0","prebuild-install":"^2.2.2"},"gitHead":"b69a20206c9d4706626d8d35e4209d3f86b5fa20","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.5","_npmVersion":"5.4.2","_nodeVersion":"8.7.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-hrXD6sfveNTMj8H9iw9J9O0RlS0T2dUkcReHeYhdfVbUMipdEChlAOhaufhkxFzWHILT0B5fU3POJrJJsY6pUQ==","shasum":"af0b8c32bf2ef0fa05f4aaa40e033c52e0d54f80","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBSytpjjhhYCmajnCQlKNH8fuboh+z5aWBsM6X918fqVAiAxP3+y2DmTsIM1QLVgQKWdjn0xdVrllRKRJcB6BE5qHA=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.5.tgz_1508165063333_0.2082287548109889"}},"5.2.6":{"name":"drivelist","version":"5.2.6","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.7.2","jsdoc-to-markdown":"^3.0.0","mocha":"^3.5.3","mochainon":"^2.0.0","prebuild":"^6.2.1"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","lodash":"^4.16.4","nan":"^2.7.0","prebuild-install":"^2.2.2"},"gitHead":"317bf154b0b0c30f64781d4fecbf0a65281f9e2f","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.6","_npmVersion":"5.4.2","_nodeVersion":"8.7.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-KfjqFdx5JrHWPIedkfQI0EB20ma/knHJjTUSyWC5Zx0a6TdtZOWULI3D3ef7tGbBk7MtRNVSmnTxvLCfYz6Fng==","shasum":"f75fdb4ed5bb564c3525d55455c605d76767f134","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH19NzCf9PF5+8FX5mHJ6SUyzC10P1GzC3WlBuX0HGPECID3yDuphyF7tQ0wwl//wXamDjn6LXvTrKagP63cTY1BG"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.6.tgz_1508165104608_0.04856402100995183"}},"5.2.7":{"name":"drivelist","version":"5.2.7","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.9.0","jsdoc-to-markdown":"^3.0.0","mocha":"^4.0.1","mochainon":"^2.0.0","prebuild":"^6.2.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","lodash":"^4.16.4","nan":"^2.7.0","prebuild-install":"^2.3.0"},"gitHead":"713149800eb5b5274555d63d8db3cccc0684709a","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.7","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-TslD6xoCLUUxlP9vNCixEkIwRv/aoCjVrdxiw5jd2iVWBS631DhashXYZaUek8TgfKnE59Sox4Wo12jVuM+XIg==","shasum":"0a14d686cb151eba5b6a791b7f0ba43e619e881d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqpExsaof7ECA4Wd7GaQckjHRtwK7nh31de9iCuEKZWAiAxTXRdbyMi/G0tk7W63/ELp2qsfAOAsU9+oZWrxfbM0A=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.7.tgz_1509993208657_0.7510418936144561"}},"5.2.8":{"name":"drivelist","version":"5.2.8","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.9.0","jsdoc-to-markdown":"^3.0.0","mocha":"^4.0.1","mochainon":"^2.0.0","prebuild":"^6.2.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","lodash":"^4.16.4","nan":"^2.7.0","prebuild-install":"^2.3.0"},"gitHead":"03557d8b208c03626e38de389dc7f8793f8bfac1","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.8","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-qxC6y5RBcOMyhU0pzfOvBHTrzfJiYFeYXtau86IAZaPwB5TksxSndbu6MpN3NVEJ8nE5uHuRUW7gdyn076ODBA==","shasum":"ef0444db5c85248d36c015d80cbcc020e66a4aed","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAsCDKeMWBZX+pJlbQB7RVxgag4mE8O6FfjXP1eaQaf7AiAMEPfkky+WDBMr+wds+YyKnhV76zoRYka+Vmz1vgEbBQ=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.8.tgz_1514989937561_0.9546979516744614"}},"5.2.9":{"name":"drivelist","version":"5.2.9","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.9.0","jsdoc-to-markdown":"^3.0.0","mocha":"^4.0.1","mochainon":"^2.0.0","prebuild":"^6.2.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","lodash":"^4.16.4","nan":"^2.7.0","prebuild-install":"^2.3.0"},"gitHead":"16cc3cf9eb2429092ad51333ffa7741d8145123f","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.9","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-4zD0hXyS+5JG//e/VJmRpTPJsksjORNngaXBQwWeAFVzD0pEaxMKA8peQ+ouM5OK8M+vE2ehC1Pu4VTPGCGlHA==","shasum":"6804dbea85d1b6c7eff4ef709c704b7e2de46844","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.9.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoFCoj5OHtQKNCeWohgfz21iC7aB+i49k5rYnwn+VI9QIgX8AIQY1y/xcIE1DHnrRYKk9n+TlAcOiqzzNbbLgkW00="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.9.tgz_1514989988514_0.9959456813521683"}},"5.2.10":{"name":"drivelist","version":"5.2.10","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.9.0","jsdoc-to-markdown":"^3.0.0","mocha":"^4.0.1","mochainon":"^2.0.0","prebuild":"^6.2.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","lodash":"^4.16.4","nan":"^2.7.0","prebuild-install":"^2.3.0"},"gitHead":"f1bef9665ace608eb41c928db83f3dab9286e399","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.10","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-UPRPAyS3Vk6dP9S7EH3KM++KSv2p3cazFNEZgoncF6EHkRddIOFHk6GW40UKnJkihTBq5mWWdxUMZLEXEjXUhw==","shasum":"0ee0c3fca864ec79c5951b4445f02b1362c4bbdd","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.10.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCa1fbLzXNYZTOXb1aGpE4WIr8YfJe2KRR6CwsdMDEOagIgSTaMq/MQklLtgYbQ+K/K7TWRbWbHDGomyRaPOY+9dcw="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.10.tgz_1514990015722_0.979314542375505"}},"5.2.11":{"name":"drivelist","version":"5.2.11","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.9.0","jsdoc-to-markdown":"^3.0.0","mocha":"^4.0.1","mochainon":"^2.0.0","prebuild":"^6.2.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","nan":"^2.7.0","prebuild-install":"^2.3.0"},"gitHead":"b2d75c5539c34fec752f0325c20d2e6af95abe6f","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.11","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-rtUvwz8YqJPnOmMF2jx6+JXrp1ewWWFNwpgnLATOvCvHwjCjnFWnWFdkOBaK4PmLoD54AL8KCtEenFq3MEOpsw==","shasum":"d5eb15a7cc100828e50cb871a92c6da6629de935","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.11.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICGZA+dw4dGH+ac1dHxk65NsRW2N6I3tX8UuAJ3+iqZOAiBA69FHed6gaRh1AGReIIFJOPJwC8quHPiTlHYoE3UeKg=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.11.tgz_1514990040601_0.9934355122968554"}},"5.2.12":{"name":"drivelist","version":"5.2.12","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp build","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.14.0","jsdoc-to-markdown":"^3.0.3","mocha":"^4.0.1","mochainon":"^2.0.0","prebuild":"^7.0.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","nan":"^2.8.0","prebuild-install":"^2.4.1"},"gitHead":"01d3ed6abd17f24ff474d27ec4690c0cdb3a4371","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@5.2.12","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-l4IYMiPaLjUb+wDb/az0xHwLNVK0X1OcXBTHK3UzUgZA89qG4nLpQ1chyWNRaFgFhy+a7EMKfOy5rpMstcH/TQ==","shasum":"9a85d03dd4f9604f9e80e2fe45073c0385f40446","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-5.2.12.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbir9oma67NLzCbwLXNfJITp5/jWWAOYWLrfV602d9WwIgacl1eWZxTZgKULrIkjBmBJAckYQXeffbefDngB/65Lo="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-5.2.12.tgz_1514990085947_0.6183381874579936"}},"6.0.0":{"name":"drivelist","version":"6.0.0","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.14.0","jsdoc-to-markdown":"^3.0.3","mocha":"^4.0.1","mochainon":"^2.0.0","prebuild":"^7.0.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","nan":"^2.8.0","prebuild-install":"^2.4.1"},"gitHead":"5856fa0a5fce99637f544dc0965c1838615b21af","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.0.0","_shasum":"f60777f38e6eda23d77793024123288c63e48516","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"f60777f38e6eda23d77793024123288c63e48516","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.0.0.tgz","integrity":"sha512-RKQd5aBPpB275/JvTEw0X+igWGTbPumt00az/fZ7z4Dhg2tFOngJyUkJA43a5B0IiXEK/3WNYmoZiOdqq5oDlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKmgPHVZAhs9TkY1qIRfPPSAnLEEndF/KmcZBmEUVYAQIgBsrPZ3uIH8PNTYTkO7q6nuslT3Vz9cwJYnHwIVdZlWo="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-6.0.0.tgz_1515118038984_0.001427059294655919"}},"6.0.1":{"name":"drivelist","version":"6.0.1","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.14.0","jsdoc-to-markdown":"^3.0.3","mocha":"^4.0.1","mochainon":"^2.0.0","prebuild":"^7.0.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","nan":"^2.8.0","prebuild-install":"^2.4.1"},"gitHead":"750cc1cc9739379848b1481e231ea8e3bedf20fc","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.0.1","_shasum":"04ad730210577de52b5b61b366f62ed925e660a8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"04ad730210577de52b5b61b366f62ed925e660a8","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.0.1.tgz","integrity":"sha512-wteFfmC8iY4ZFIDIBfsGhEBThqmv/V4MvGxV6p31QTQL/sPZ/to69cLl5zhO3qs0dt8TAhs9+ny8i6jUofEOfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMNhx8GvJKw+FwCESihdBUz4sKpHNPM44x9o/37Fm0CAIgM0GzSeHTeC/N0tUTb0XsFY512st6r/6GirCKYuzmpNY="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-6.0.1.tgz_1515766511160_0.3211189219728112"}},"6.0.2":{"name":"drivelist","version":"6.0.2","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.14.0","jsdoc-to-markdown":"^3.0.3","mocha":"^4.0.1","mochainon":"^2.0.0","prebuild":"^7.0.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","nan":"^2.8.0","prebuild-install":"^2.4.1"},"gitHead":"ce762ba99028c5e196dc11c4b42c599a67e0137d","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.0.2","_shasum":"fa03feaa413c3a96bde229e33c3ebb52d29bb06b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"fa03feaa413c3a96bde229e33c3ebb52d29bb06b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.0.2.tgz","integrity":"sha512-Qs2x2SHI2P0c1yRjHjaUuBYJBIWsMqFHkqEPgcDQOLPqN9r/+B0n+6uSjwUUywuTbvURUuYghklnF70lcDaeuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHk5cGmpNbli/96VMofaekPJ0aMZLWTwj9AygBPF63PKAiEAhkVMH3teX72UkxblDvnvdN0GnZBYyfjOzoknV0gFc6M="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-6.0.2.tgz_1515930265587_0.21273522125557065"}},"6.0.3":{"name":"drivelist","version":"6.0.3","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.14.0","jsdoc-to-markdown":"^3.0.3","mocha":"^4.0.1","mochainon":"^2.0.0","prebuild":"^7.0.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","nan":"^2.8.0","prebuild-install":"^2.4.1"},"gitHead":"dc355035e616a437e8794da811406a7dbe255e4f","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-sMjIaIejAqbpTUt01/tn7Wnc3IPEN1mqPIYkzagutT60rT1dbH+oogewgnt0zw9LRtihRMVW68T7excpjQJlOw==","shasum":"08c14707b3b9d87498d6241e799f721c8a8a62ec","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0HMlcemFMaPo16ti6dgUCFuwRgnPfiKVNCOanq+5koAiEAk7tAt1RzdkUlyECjEQLU4PpQQ6N++NLTiIKmKB7/hvg="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-6.0.3.tgz_1516295144771_0.30083623505197465"}},"6.0.4":{"name":"drivelist","version":"6.0.4","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.14.0","jsdoc-to-markdown":"^3.0.3","mocha":"^4.0.1","mochainon":"^2.0.0","prebuild":"^7.0.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","nan":"^2.8.0","prebuild-install":"^2.4.1"},"gitHead":"17e9d049bb1a7a358bb31112acf90182d8c6b54d","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.0.4","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-k/WVfrjpTfpKOnRuj0qecEdWhTAW/Csn5GTmm77ky316eYoMYqFLY/S2dGPmF0lYf0C4tRAxVSVnF1RQxurq6g==","shasum":"971ac575356a8a4c14859824ecd28cdf3c586433","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.0.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9gO5q6ELXM9Em3FPGCGrb5MC7QfRMLf/+BedTpJDASAIgZTWnBdFIEwPJmR96plHzdtI8s5sKnLJJnI3sgvtI+pQ="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist-6.0.4.tgz_1516301006546_0.004966241540387273"}},"6.0.5":{"name":"drivelist","version":"6.0.5","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.18.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.1","mochainon":"^2.0.0","prebuild":"^7.4.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","js-yaml":"^3.10.0","nan":"^2.9.2","prebuild-install":"^2.5.1"},"gitHead":"2139ff245e2b4f44bdd758f8d5d75984e70a010b","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.0.5","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-2q+ohjTVBwwJAKsFfilSWBwU81Vb9w+tOsu8IXliXEHONjwjRtI2aiTr5QYiykG8N6RCC2AB1ABg09jam8Vn1g==","shasum":"928da59a0a7493b13d0dd2018dd41af1e11c26f0","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.0.5.tgz","fileCount":19,"unpackedSize":88990,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfva6JlsgLxtoXdHr2nFLq8hl6KZs1LyZNlwZd+/H89gIgZ1Pbds6c/nYxmlg75K1wwUWSHK/d0G4jEzpsDUmi1II="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.0.5_1520951350737_0.09251440595744409"},"_hasShrinkwrap":false},"6.1.0":{"name":"drivelist","version":"6.1.0","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"bin":{"drivelist-darwin":"scripts/darwin.sh","drivelist-linux":"scripts/linux.sh"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.18.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.1","mochainon":"^2.0.0","prebuild":"^7.4.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.10.0","nan":"^2.9.2","prebuild-install":"^2.5.1"},"gitHead":"6e4a432b8cc011db227842df2e008f31dc1669d6","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-1EJa29WOJXhRkOhOakNV8p3HhPemVGNWXEcaArMklGsYmm3uxpFo0Hc2AGOm4vgJrWqQYF6pOhh2X1FCQOT7EQ==","shasum":"276f0cadce103a99a7e1a0d59b02cf5b68a2a25b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.1.0.tgz","fileCount":19,"unpackedSize":87971,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRbRlQnj3ihwYIRObua+2d6sghrrOizWam0QB0SrMd1gIgGnI60OMdVCpctF0Tu2oVz1B+9JiRmUioLxgwoO0GaR0="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.1.0_1520951391460_0.9451632544693118"},"_hasShrinkwrap":false},"6.1.1":{"name":"drivelist","version":"6.1.1","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.18.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.1","mochainon":"^2.0.0","prebuild":"^7.4.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.10.0","nan":"^2.9.2","prebuild-install":"^2.5.1"},"gitHead":"5beaa42dda76e7a2f3c11414b34840b4fd9370fb","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.1.1","_shasum":"684f9e9c61f6bb810d33484eb8dab93ae2071997","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.13.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"684f9e9c61f6bb810d33484eb8dab93ae2071997","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.1.1.tgz","fileCount":19,"unpackedSize":87961,"integrity":"sha512-aHpOViiWmOphuTR2KeCqTH2vBtyrE5AwLuwv/eoLFYjpQvjQsE8x0p9mtfDvY9uKvnWLBDlar5LB576nX09nRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGPMsbpxMW+VdIIKg+J2FErO+LM6AHUDkyThP4zz8D3yAiBo0GIMLZWtObBbrRzAaAsJpC0BdGY7DjIWS1Tvzaucvw=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.1.1_1520971555594_0.9013396449144382"},"_hasShrinkwrap":false},"6.1.2":{"name":"drivelist","version":"6.1.2","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.18.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.1","mochainon":"^2.0.0","prebuild":"^7.4.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.10.0","nan":"^2.9.2","prebuild-install":"^2.5.1"},"gitHead":"1045d11c9046e87b2d102a53f7c666f44c8aab30","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-o8HdQLUqnabU+DZmBeqkcNNBcOYO7ANUWZkfmHurr4xoSa9nvdhmsOhohTjrt1CXbD7d9GpcojrJTZrbx9CC7Q==","shasum":"e8cba8e860e45255594605f02f66d3fd536c8e37","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.1.2.tgz","fileCount":19,"unpackedSize":88607,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIACsjkMsQWNodS7YMDM5SuAeCwrEz8pTraIlg9K6vtQYAiAznkppAjIhnzp+Uy1IHJhiuIpSETZgICo42UenliAEQg=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.1.2_1521200379997_0.3918874326172681"},"_hasShrinkwrap":false},"6.1.3":{"name":"drivelist","version":"6.1.3","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.18.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.1","mochainon":"^2.0.0","prebuild":"^7.4.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.10.0","nan":"^2.9.2","prebuild-install":"^2.5.1"},"gitHead":"64e94d8254b496c31b7e8260d75e306fbd3853e3","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.1.3","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-B7pDtnBdto+MLP0BF7fAWY6ozvx8mTwcnuOsiA9W6CCcq2lnejprI3UPM5ddtly5lkpqBJPxqQOTX52NC7Rbhg==","shasum":"5515764eebb4a5410ad429a6c5820c9b92e3c69f","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.1.3.tgz","fileCount":19,"unpackedSize":88750,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0wJq/j8BM6yTew1DEVr2so9L4aLSspXW8MHleL0wyRAiBoyatToyo1fxYLhLUN3uuwVB0j2N5vURDnNHEH5nEvnA=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.1.3_1521554219423_0.38390112405694476"},"_hasShrinkwrap":false},"6.1.4":{"name":"drivelist","version":"6.1.4","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.5","mochainon":"^2.0.0","prebuild":"^7.4.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.11.0","nan":"^2.10.0","prebuild-install":"^2.5.1"},"gitHead":"69ef6fa652bfc3e4c6752db38903de0c83a28776","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.1.4","_shasum":"1db80bad3e30400394970c1b64d2d721b2114c15","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"1db80bad3e30400394970c1b64d2d721b2114c15","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.1.4.tgz","fileCount":19,"unpackedSize":88838,"integrity":"sha512-q1T4fxmSppH0b4m9XAxJr8d4L3MQGV0y5edL1mRvOSL/K4RXJBzIQljKPbzSJQXvWjKf3JdY0DXrn8UCTlul0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAH6IbPJV8xE/Oa4yWQ/RNqzgZa0XzgaSzPtK9cyzjANAiAlY/9mi5nR0gSXsax6j10CVRy7wEgZvkFH4eXy3kIhZA=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.1.4_1522844013735_0.5068480287807802"},"_hasShrinkwrap":false},"6.1.5":{"name":"drivelist","version":"6.1.5","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.5","mochainon":"^2.0.0","prebuild":"^7.4.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.11.0","nan":"^2.10.0","prebuild-install":"^2.5.1"},"gitHead":"c14e8850b4a28c407ddcbfeec7a8e19ec942d578","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.1.5","_shasum":"8303983385a93f0c19c20631763ac71666eecab5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"8303983385a93f0c19c20631763ac71666eecab5","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.1.5.tgz","fileCount":19,"unpackedSize":89098,"integrity":"sha512-UldlYGcapWuVJo7LunCGFgQ7IqSufxaqRGUXNnL45lGjVLeKBO5KpNlFlFqCvrd+uMFtQ8fLtYuDQwflOzG2oA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIETkZMNJiAVBYTrp38X6R1DUr85db6Hla2VPCP+KRN1VAiAacrlzD8u+jHWjOFv71F4CS+2wG1cpzUojJyy8Jmw30w=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.1.5_1522956161545_0.08088753581139874"},"_hasShrinkwrap":false},"6.1.6":{"name":"drivelist","version":"6.1.6","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.5","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.4.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.11.0","nan":"^2.10.0","prebuild-install":"^2.5.1"},"gitHead":"9143b6d2d22f14a82732900036b49294a5ea8c9d","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.1.6","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-/wcpJGQSv4HdOc4cgTl0Oqei9JXCu9Dvpbbdom7NFELwEUMa7WXbI95qzho4NxQbExO+edWxvDZKT81A8NaPJQ==","shasum":"941c8fa200cb643aac3311f548f82a828ba101aa","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.1.6.tgz","fileCount":19,"unpackedSize":89488,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoqL0GULoVJLyPW07MECLqF//YY5sb1ivX4rGM/VA2jgIgG7QvnC7k7TFaUiaFNydYQW0H9WBikq8tIVZQWHUq6aU="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.1.6_1523633438205_0.34602389745075945"},"_hasShrinkwrap":false},"6.1.7":{"name":"drivelist","version":"6.1.7","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.5","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.4.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.11.0","nan":"^2.10.0","prebuild-install":"^2.5.1"},"gitHead":"143ebbe84a6c1e534d689836d1cfb1d7cae328ff","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.1.7","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-dih75STTLY7q9SLaql/YtEnsfVX5namJQLc9nnf9akEpdlsSfJWcYrbbt+bmw9Wrg4GCJuEEGFgB7mKxGmxnLw==","shasum":"fb4fb498886896cf11b17510dd5a71ac19793449","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.1.7.tgz","fileCount":19,"unpackedSize":89814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa1SHwCRA9TVsSAnZWagAAuDgP/jsR0Tf1EUiKNyMSWCzV\nbnJgbKiArB7XNWCtWlsyIwUTBrcKNKmOufX3KKriQkC7OkOcAcdfoKQGHdBY\n3b3VSMhTd7yCMCWz7XnhxkeSxMvuB1lLTSnZpOOPisPhDBjM5L1wZw6P/eW2\nyEFIECdJC17TDNYinO7oZmhgVU9xTuP/CZiXPzNz9F9YRlgNXxSOa4kOP5gl\nGUz5myKh8ta5oVjJJM41gHyNTBU8U/C+1MdrMmeRtOI1jW8GYThtwm/dJL0K\nOs/D9RjZdwtNzixRiC17mbZAt2y6kSnppfy11yEXwV4gaoxQ4S4jtguIZVC4\nyMZNO8s81EMvM6R5o9iL1zKKUeaUVdMznE1nBsvvwePStnq9DR1fg0+wy+wP\n6jLbY20OkJH4fGRczriyXr9LZIzzIF4Qu//3G6weyO1DLkwAAht4M+fv/d85\nbRGBF9hXq/CEBoSEelr8jocijRLFAJWojbORgHWVqyOKHA3ncEbNPMohWLrF\nsu30tSe98ZljH1evahGCTXdwX8SBbCc1XqOy0CcEo1wucalpXKNhDLG/20Ce\ndWilnEClrnDdIKn4XectRi1I3pCQysNk3U9XXZ2I0pWAYSiGy9wihyqxv1Ai\nWEBqtfWrkeYqU1agUQ6avzvTL/7tWh1rLuuYRMSLoeRP+HIrhSj0ldkdUmzn\nksqb\r\n=lIjg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3UYw2uI55YVBzjyp+k1DTQdumITgTBYBa/zzDivZfRwIhANbY3pe4tmsH89iFrDHCsk1GbXJKyEdadHSOkysOGmjm"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.1.7_1523917295168_0.1890724648865436"},"_hasShrinkwrap":false},"6.1.8":{"name":"drivelist","version":"6.1.8","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.5","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.4.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.11.0","nan":"^2.10.0","prebuild-install":"^2.5.1"},"gitHead":"dc19f66b54f40974cd595d46fbadea498607b319","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.1.8","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-jU4QVJBoYg6EDmlTlwAIHWsOFkUvkvPRb3DUCpYcKIIl7Nq3p1BRX4dxEfeuSQJ8wPUTePs7dlabwETZuKElSA==","shasum":"2943c4340a8eee7705438093a079375d6b7a572c","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.1.8.tgz","fileCount":19,"unpackedSize":89916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5xm1CRA9TVsSAnZWagAAEq0P/2lP3DN/pRNk5G2g55Bo\nbDPnM0HAlo4JzVTpbFoiQsMo7S1tlOgFjplEtPoymI+E5GjoT4W3bDTAgdLy\nriCnMyBCkdqmlb2Bx1LR+hrS5ItohSonVq+WUMSI8m65FM4R8pWt81DAYwlj\n7UWh4NXv5T/+55AcypjJwbdMfkU6Emb4egXzRkXBYWTadYhLIxlNlCDoRL4t\nOU+S14OeQK1EeFWbmS2zkiE0Kp+KqUtHXqWPB+/5scCAuKnQKG93U51utBrM\nAf8b/fQ+Pf3vEjRjUeG5HMZkGlMxz3FjFotEZ3SK0//vQnKe+FNNByQPYAK+\nvacQsNeOb03mpeDhL6pY+64cWb4WpYo2U7Ydx3BPJ/rhHHUizB+6t50cIrse\nsOUOxueGLEZHprBc7vnmCB3U0jYZ1Nn+mGtbSPKMkYK3t1JT7FJcsHKGgEdr\nd2Iwp/HMhdo0M2PSJFQJMaBhZ5R6lBGf2oCKKcOohWQX/K5Obh0vu1LooHVK\nWrKaGNYyI/hRUpwg33nC7S9agyg6Mc79LLoOk+jhxThQEa0In0bN9VVA/ZtV\n+KIE8VJF4apzY9dlzYXIXi59tcW35bDFsANjPCPV5pNOGuFzr9tqZuuCugGB\nWCUj7xiFyL1HiQ5vn/98xeJ93dRpJW4Wa/Qd9qS2T8LBQSgQcEoFxp5KypBr\n9WkO\r\n=sp4k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXngXmjVedQPVtB/epCcVZbqYfjBNRqo3m7I17A/jZ4AIhAOL9DnhYVr7DiYxj/JDT8Z3iZBYwGSbA7UgAjdST/Mlu"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.1.8_1525094835428_0.6600595322291722"},"_hasShrinkwrap":false},"6.2.0":{"name":"drivelist","version":"6.2.0","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.5","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.4.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.11.0","nan":"^2.10.0","prebuild-install":"^2.5.1"},"gitHead":"8965d89c05c6e4cab42c20eb19ce00ea25d8f270","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.2.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-jfgSqN06+8FHjQ8a/gKyiJLPPLXxwOJwjJk7GIBkgkVQb+9mpHxugZdNeQHh5FJmMrgMKa/jixZLSMPnCA0L/g==","shasum":"fc53ec59ec926ef368c0dd3a30cd368628013adf","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.2.0.tgz","fileCount":19,"unpackedSize":90571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9CIPCRA9TVsSAnZWagAAwsQQAIxZhmuD4ifxJHx8K2b8\n5gziSbDf3BwohFcR6SiHhK4ntOL3TUNK3HZJv7AjzDALNItNesw5P4CMLCis\npD4nqNO0JrYqHruZ0rO5vmYvVo1ULBOjUidWLRWG1cNs8krsu7kIt38VW6eZ\ntDVS4x4TWlHDS+mG/R0Nn53pAUIL0uWn5Ow9yGTUXuJSQr/Lu+Ud6d8KO/NZ\nCflro8lgMPrMhEoi4EuBRb6mvlcv3IE7uJrY1YpgO8PliHdqYINmcJhqJhkN\nI8eQhjvXG6bL4RT7/yWrSwrMGKl0gbALlky8nsHHvWr91COdoPid+e1SzsjE\nI/d/zenEzRt7T0gWuesDn2dcb0UaPdetBPwc8yX/84CWcfxlux7bN4veN+1y\n6mw9lxkO7clYuXUsQ6tROjW35erclSkp31viMRMZ4V8bvQQSkLppDsdCVztO\nry0VqlQH2Eou8GWRHb+YUAGyyz+hMTjbWRqV2qnm0KyIahC1It0eyX80wPq7\n93uQxVVWSaLREaWUesASG5acwgSk+zgMOI33WqpdQU0WIMTc6xBa0sMwtmMF\noIyDZMuuBMu7a12nS/ZBGgEk0zS+mxPPQwbPeU97SsMGOhX4xIep66tNEVv0\nlwsLnDQcT9/hwZLJ2aAC/8njxXaZq1YpZDnpnPDC430QfIsndB50y0gNEli9\n8iHg\r\n=wVXm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiaByemNuaHhD8u3CMVnlcgpCI8l3MlqjsGyIfxTMYywIgTNofC/dQIbgjCckeVXLyfvhmFYSvQ8T2onFLaDzdfLI="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.2.0_1525948942178_0.4871942349487639"},"_hasShrinkwrap":false},"6.2.1":{"name":"drivelist","version":"6.2.1","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.11.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"72f86b10bb4f03e1df63597162179183aab29a52","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.2.1","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-jmQaTpc8fCF91+ve4LmX++7FiMH/yB6qMdsb3FrTl/yRJqa29Lr7pwFS8OPnnoq7rfBc6BvG0nWqyEOG/6cG7w==","shasum":"1e679b5fb12dd347655e9f4687b6b6fea6558d1b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.2.1.tgz","fileCount":19,"unpackedSize":90729,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9CJYCRA9TVsSAnZWagAAaWQP/2POpNsWNv64uAv0b6s6\nIgN5vMdgadU9XwpvV3ZbF8BvsXBYax8E2uCdn/qDNXdx7AX7Q7jErLo6Lti1\nKQUarDoBjh1yeAU6DlMTwJhdzVn1+F3Yq5rvlVDvS7RyOT5E1Dh5KOkuEfz3\njLA8IrOS75I4PXI5A5lNCWFgTROG47onQgp4Xh0KaNBVopGHVqwPUGnXZH/j\nhWuz6QZuTJlviNtuY0Xzti693PJy+xFjrTdfaUq7gdMqwQU5P52X4puH6JPX\n4pXLX0o6wJqXDpWXmu0gZKdHcfA9rB5n0io5SFrSbLI6QhJHqlX2B5947J4a\nEozbjqycFST9AAVALNamw5NPF4yLmwP4vSfX6ohbdSzzTfV3x6jJDxGl+Eue\n31kmq1b35hsAAOaJ86XsYxAmOXWrgX30nloFjrV1TQWDV1Nf49hXb8mVJhFi\nYWI1IMfPqRyjMDLATw+C1fNHZJ3brdxbe28lxohdH+LzHA/i2s0YkTDqDUhx\nAEhr+iQs+Ws8DfxKoRcegt9HIb+hn2FzkZjezXRvnugx7Y8ax2G0kYUk6wjh\nvRMQbDBWbcuzs9PGdWzgcUcVNLrazw8vH1DlhsuKIj5NxZEepWEfy8bmsaUM\nVFCn3EewKco7Y9ZkyYxouUUdF3uoH0/F3TwMr693zN8RJs+7IM/hc4GYBUPe\n4ZvG\r\n=eWj7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAmxgZM4B/7km8e1fpfyub8yqlsEs11p8pDR1x6ARlERAiEAsfoY7n5w8wTH8WKyBTU7/OaH0NNXXvJaxAjn206ahjU="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.2.1_1525949015603_0.18946673145961257"},"_hasShrinkwrap":false},"6.2.2":{"name":"drivelist","version":"6.2.2","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.11.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"593fc2d0987fdf373e4bc985f00de96c24027dea","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.2.2","_shasum":"12682b84fde5cdeb5b68a0554771ef2b02bd3703","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"12682b84fde5cdeb5b68a0554771ef2b02bd3703","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.2.2.tgz","fileCount":19,"unpackedSize":90836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9CNqCRA9TVsSAnZWagAA5OcQAI0+LrxZ8f1Zu5jUDUc3\nHXnmv4HkyB91se8MGWAq59I6r08/FzmvcnCYK07GaJetW7+SVBYFkiDnPody\nOvnKqKcXxZKuH9Z0+IDIpT+s3YYHqilxi6LA7v6u0uWWhEt4iHhdxXlWa6gx\nAUKjB9DvvlnJPKdvdLN6ksYMCwKmW51H3dumurx4IlbOoSZohYHCqC+AOhC8\nRPyCpYbA9qZT2qV9BnhaG3KnEHieR0eg7rKZh68qHsqvgzHdybGenAHn/3Zm\nZ8CCHu74uF/APRSpYNyfdsSI1BCk/trIup90TNXngYgP9qlpuRdBJIgF1txt\n4YATbzUpoZ6xTkcHd1p4bUTvsAKJs2LnX20hYlTsCZ7C2KfKVNFOmFDA8BRy\n0167CxCKTrRKov0a+4QNbu6bH9EQV65sOgoUp5a6CzodNQ+nJWXSXJCfK5+o\nNZ+HgdherOG+16HzLjYBH7ga0LT6nu3bYyjNSVDyJnh5xziy0wrZSaxPPhtO\n87gv6UVUvwvjIfgkl2s8bc1E72TF5lnyFsHGEIU9pInQkrPdnt8aYTwHANpt\nuVT4ySfooT91O7G2xlYnzvoJta5wRFg/8RIxp1mKQ0B6qlIk8mEv9z8Qvcl2\nzIfkX8BUWu9Gn5LQqc1Y/B3814HpT+XENfYs9XLH0zm4HDXAUaF7J15wdHuJ\nam6N\r\n=7GF5\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-OdEWqpalLUaNUJjtYHPsbsKon2badXgtlR1zR3IJDEqgAF+qnP1Kkbwro4rmqtiGBBsxfjvntCnQYwQy4bp4Dw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAJofzgfNgfwY5DKYsfsubop0vZ2G4jj9VASfxVo+k/gIgVPkux4XSGlW6IcRP8qDKLa5VUoFJjXR06mH5vnIRjcU="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.2.2_1525949289312_0.10016398480632094"},"_hasShrinkwrap":false},"6.2.3":{"name":"drivelist","version":"6.2.3","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.11.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"438debb0f1be281fda409d1e03cbfd462a3c59e1","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.2.3","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-4xK6h1yBB2borD7YvHRLE7nvEs36NGdb2IfbPuKXlv537/r1gRZF0+xzED3CA8cjCjY4E7rzAcnA5yZv2B1yxw==","shasum":"6a9b735b76874e1f5a27042fee5fb325131907a3","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.2.3.tgz","fileCount":20,"unpackedSize":91749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbP34oCRA9TVsSAnZWagAAd/sP/jQmV87EmZDv/VBI2oL7\n/h6F04CmatTxUXI6gql8gs6yuhVwqiYzIQs91m2Qh/Tcq3ggB8chgZeWZp7P\n9xBZhSfTqXMdfk5N0nEVmS8EF3mRkmnKvxS9za+nYILns9x6UlrV45EHXJdA\nqNADDRx7T2mxigrjS7Zc9rENh6vCweYmT7qOP2TgX2Rrzx+BgfIqx9TvHK4o\nGrSygRVFE5ovBZAUFhHLs+txW0Yy+ScVun8eTtsHs24ETbdiqYuoJLGXVEx5\nBF4VzlNjEql036PvQAIpXCflxh8o8saKi+cT4XfbmO2YqxHKtYUpQ6tEveif\naGdF3AxfhN6eeOiz0XYKddj2R4VwAijmFoiLOiQ4fe3rsYtbZIkhf4QDG0zc\nsipuZjAyFoyYbKPTtBFBz9Sgnj5m4MkMcYzOX5PGzAivMnXgjVtc49T181kX\nluBrtsVgQ1t0PBNQPvyya0zbd76zbZswx1v25OkDf1MeOcsgbvNWnRssEouK\nVtG8JmGe3y7TlTym9GYwGj/+rcciMe65GonZFbZt/G0U9Y9tYGQf2SuWOEQI\nXCkIlqpmVfl+24zPQh93SwaXRIstdYZ5XY0/xJxI8UdZs5oeIQUeiOtdkdQi\nPibAdjXnn11MRGtypEDR3uUBp/S4dyTIi04YQ74YPDiadQotBjVrRBR61Vu1\n62b3\r\n=nbA7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDC0ntJOM3xUTgw7k1N4lDhHGHFyI9q3hiPSmUIZu912AIhAKRssbg9qDr2AtAbtarlWhBG61kLGD/uKwHiBfooqo5I"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.2.3_1530887719952_0.7017511651037895"},"_hasShrinkwrap":false},"6.2.4":{"name":"drivelist","version":"6.2.4","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.11.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"140494303651d4a0eb89c6e0023d5b9a9533794f","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.2.4","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-ZU42BT0dwPsX/x78pV3HbJt+9y5HO0jqVkOvrd2q6uwMsCOlqJ7AXtP0ZHI2X1U4H7+lIllCfY33hSYaZffKzA==","shasum":"d4c6035f41e86a108aa342acd26876f75eec7d34","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.2.4.tgz","fileCount":21,"unpackedSize":91864,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbP343CRA9TVsSAnZWagAA0/8P/igxxfSmmkb/tVAOqmwZ\nhJcVd2bLU6deB3WecNqOvK/OQyGYvyXr3OuQO/dd5TPrnMItc9Bs2O2Ul5HU\nExPwtLRaejxKJljfx305DZZkIf6YjdGC/FKVYlGao4buvURQl8FMfjzU0zD8\nX4dqlMukbj+X3Qigl6bgS4D5+cp/Qh4e+iioWh6Q92YyTxK+KK8ktfOWV6iD\npKMQIlXJLzVbPDD/lvix0V1bcQ8O1eVKRcET/UrXmmOhH+qCtsNoUdA3DHJa\n++mcVPbF8OnWGDihAr3Co7XXPfi2sUO6UHcDluE384bMkHQd9trNYwUl4TzA\nl8WFAi+L1cQhg99dOTTvQlLCwCOvDhm3Qk9lXucinmOtco9mGpb9KGjxCuEY\nQSlcCOR38tgb0l6i78kpHZLludSupFoDsiHz/gO90LJwFI9DjpXecAE1KEax\npLkLaFW1uH2ARRxlQ7717k5M4Oa5nM6eXTUHZO7PRzMkf7Y39r1rVhYJT6v9\nbp7QJFazezj+CQy9CJFIxIRl0iryGpxBzxMwh0RQG7eNS+X7Sx7kd25QhvOr\nqPoqwnuw838hPerN0y1lFrfOFVeXx4tu/9/U+fSFxa1gkLcNPqJFy/TJ+IRX\nU5EPt9Nr91F3l6ivJcn5UJ+9jTQiXjFtuEg3L6gUDsjzH3kivaZghJeLV0Fh\nKDx7\r\n=ePTS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFGIZH0Q+2aN62mBRYUY6xvF8JZ7W4x5HcRSrZ+mYf+dAiBiOdKLBbpOh+4nYJewvgc7RuYTG2FFsE2Pa/sSN2xktQ=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.2.4_1530887735903_0.10541217583699614"},"_hasShrinkwrap":false},"6.2.5":{"name":"drivelist","version":"6.2.5","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","compile-scripts":"node scripts/compile.js","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","js-yaml":"^3.11.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"dbf349aa917b058ef74f0119205e21e0ad3bd7af","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.2.5","_shasum":"8f9a853fb05de48b716f30a1ef1e8640bddd0520","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"8f9a853fb05de48b716f30a1ef1e8640bddd0520","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.2.5.tgz","fileCount":21,"unpackedSize":92035,"integrity":"sha512-JPFNM4TxGNV+Ae3s2pUg9nIiT0L+ekexIoRre25yFpjfpeeyXPFtMPYqpdXZONiQXZWewC/Jb65NsyWcJTvRBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAqIfJki6Pxwvg7RiGEGsvV4ydK8+mFApqQkV9sh6scKAiEAxzKyAzqKTl9m42LmlI3hBmmdz/r8/aTy45BxKnCqMoI="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.2.5_1530889543123_0.19803284976446567"},"_hasShrinkwrap":false},"6.3.0":{"name":"drivelist","version":"6.3.0","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"24e6485140121f32fac097ac31fa78a009b0d3aa","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.3.0","_shasum":"2527120295e9028574db7b42a34397e19f42a3be","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"2527120295e9028574db7b42a34397e19f42a3be","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.3.0.tgz","fileCount":20,"unpackedSize":85824,"integrity":"sha512-X8cDB23zzFQd0uUs5WSM32w0cBj4keILU5s5OaIzACnY/ov1OhuG5ILZKKeuoQijn7H148ibZE2NmJj59hYaow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAvKcXdlZGy2TSgch1ranektG1o+8yt4Cv9j3GjkxpUbAiBm1OONLgjGwVGL2+CoBUW+JeQMlMnIVNmlIMFybV6kGA=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.3.0_1531150043707_0.23944343177239236"},"_hasShrinkwrap":false},"6.3.1":{"name":"drivelist","version":"6.3.1","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"d75c06e1042abd8967a139601b399720473fcf97","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.3.1","_shasum":"b885904298593f651b357303437aa9649db99c41","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"b885904298593f651b357303437aa9649db99c41","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.3.1.tgz","fileCount":21,"unpackedSize":87326,"integrity":"sha512-I8Yjy5Rl3M5Z0JWDX8Qk+gyrYAichyFyow+b/V9pAwKtop9tPYlDzOafH2w4THLFjCCjwxb06wUBwniX1sJu4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFtKkoGVAjdV0GE7fjJn+/w1PFzVtQ3pV2+r1gQ6XgK8AiBfZEMXAuEjXdu/Ro+iQ2Kk/DWLPG2E1bOuB3ytW7zrgw=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.3.1_1533241191377_0.5213805594996026"},"_hasShrinkwrap":false},"6.3.2":{"name":"drivelist","version":"6.3.2","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"7ccbeb1571ca679749334c70799bbae81e3c0ce2","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.3.2","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-wpAvl2rjudlNlQoNkwMbAGzmdLJLzBCmRm046TH400U5glSLbalDBv01vt2tWpHNsKOEY9xdL8vcMdSIO7GfUg==","shasum":"4c00f26c801208aa8319e335443d99ca91fee8b8","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.3.2.tgz","fileCount":21,"unpackedSize":87458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbY2fjCRA9TVsSAnZWagAAatgP/09JcZZNgcn6SC2Iko66\nyvktU+EhWFyG+KvICxCw7q3UafLAPEUAPLrRn0XKey72nr4w6bNvfd/kFneu\nZyLhFADc8dAu4xrOlnRZZdN3+j7FZUus49qiFtfD5yUqcgYOSWJX+cjX0B6M\nc3hwua3CrYeMEEte+3VYKO7ACY/6Pm0GAbTb16RT9gmqYT1rqGogfIkYUfbh\nfW+LP1dqGP6l4guNwff/WxFjrdjHHsYqhS8pVh+MG1e6ZeCHT4YThfi8FqHT\nLVF2+m3eYlLfD6zu8V/V3bK/uqaPEvh69lhKCjlS3GCPJ75mMqm7+n6ESOvp\nae0lxA0TrHFWB7Wb6cEAL71E2CLeHSNttu2TjT6uNq0Gjyb77JTXxQxHDKbg\nWrnadj7q8ZPex6YFujVhz02f/lsR6cEVmhZCSLnuI3lkc2q6BnTXBXjFs0Qm\ne3BK66NxNyZpXA5vjd5DLOfyXJxiUIb8bX378HeQ/3XzlLfowtrUN7T23ClM\n2rVgZk5Fk/zXFWdj7RZNdBnnJQAu1rN9dC+jxNs9wJnagt0CfZdtoQAsHvI9\nLMPwd3ta2RHUEy0jlI0nQrSbxXVPGPCKDxYIXNfVnW+8Er58BV8hNMJQ8UKv\nCKMJwm9pLCtQY6EF3OrQWU9mqd7cCKKYSFZiAUqsN0RW93hxl8wTIZ7wsTEe\neCBE\r\n=j3al\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICjH3uKCzdjUdiN6RuM31W6+0tLPthNht0JLZr7kjF3OAiBKRCuHLiTd76LyZT0waJWXKVnQjYmzaAh/NfhgxtpsJw=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.3.2_1533241315111_0.09407688899995503"},"_hasShrinkwrap":false},"6.4.0":{"name":"drivelist","version":"6.4.0","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"f17e0e81395c5f795196ae5055d20c693957fdeb","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.0","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-2XSwL+rm9pgl7hq5BWppO56fVRiZk1jvpU4tZSejvdDdpfOTGzxxnr3QmfUcdFKCsNqjS+tyC9UsZz4UrXMqSw==","shasum":"76f3208acfb2429d92856be52fcaa7dc854df54f","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.0.tgz","fileCount":19,"unpackedSize":86071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbY2gaCRA9TVsSAnZWagAAhJQP/2aTMObphMzIQMkhomrf\nXZ1lc61o22JDSI33aEXiVE4QYHh8foiRWutBmfR9wnN28tCbIXICuw3WQxwl\ng3T4Nt5q17Fa1NfoahohjegmlVIQHYl2HL7vpO82HTMCh0KcYSbl7aR/7RQf\nZu1o/76unTWS48YJg0cgdoqxQ7D87BmtAyhgOaQYpqn7MsBaaaSWneYGMT/6\n0wtvkGWEuLzjxh/JQ2E4cRt2fG/Stg8IstwJ1Ouu/OZjmyDjLEdNnLm8CqAC\neS7508/roT/DlyKnQr5r0zanobz62u9N2g76hziqp3oDh6DmvMkqGuzWqw0S\nD3ymgNyTQug/Zh9AOz8/qECV5TS4IYOipUNz2z3snd0nX0DiqwcENo7c8FIo\nn/qaJvJlzMMUooPXnAikZbtgG6nEy+UtbLuhePjVe/v/kwUShPqHYkgViUsL\nMZQqFatxP69130of/czNJQIZLCgqUjvEpXm7c7uzbJdqnFY+5CK0cyKJSxXL\n6I9eEayP6s7xj0vysXHZzRihjafxL2skcmKH69npBIkl3Gzw84Kb6Qa1/0e+\nX9DU2b4VfQPTrmd+rHdJjHqJgeeaktv6vySXXiLgC32KAzU+Sg+kw7goaNJt\nRjJScdxzD5duIUopfQMedexZuBCF5SpMHybstMW6yM8ww+gZ22K6ZRQVojjR\nzkJH\r\n=x224\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCv3pXN8FfoL/3pvzsuc/y5Kbrngeazdfb2WbT7HrZNdAIgeRcHzN8Ekb9ZIe9Cj7IXlhgC6sEk63IsX+SAwqwpEZs="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.0_1533241370157_0.6328160462386916"},"_hasShrinkwrap":false},"6.4.1-fix-device-paths-0457bd8":{"name":"drivelist","version":"6.4.1-fix-device-paths-0457bd8","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nThe `drivelist` core consists of a set of scripts built with technologies that\nare available by default on the target operating systems (like Bash, VBScript,\netc). Each of these scripts attempts to get information about the available\ndrives (and metadata related to them), using any methods the target platform\nprovides, like a combination of `diskutil`, `/proc/mounts`, etc. You can find\nthese scripts in the `scripts/` directory.\n\nThe scripts are then expected to print to `stdout` all the drive information\nthey have gathered in a predefined way, based on the [YAML][yaml] language. The\nscripts are expected to output a set of blocks (separated by blank lines), each\nrepresenting a drive with a set of key/value pairs. The exact keys that we\nexpect are constantly changing while we keep improving this module, but you can\nsee what the currently expected keys are by running the platform script that\ncorresponds to your operating system.\n\nThis is how the raw output looks on my MacBook Pro at the time of this writing:\n\n```sh\n$ ./scripts/darwin.sh\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk0\nraw: /dev/rdisk0\ndescription: \"APPLE SSD TS128E\"\nerror: null\nsize: 121332826112\nblockSize: null\nlogicalBlockSize: null\nmountpoints: []\nisReadOnly: False\nisSystem: True\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk2\nraw: /dev/rdisk2\ndescription: \"SD Card Reader\"\nerror: null\nsize: 31104958464\nblockSize: null\nlogicalBlockSize: null\nmountpoints:\n  - path: \"/Volumes/Patchwork\"\nisReadOnly: False\nisSystem: False\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n```\n\nBecause of the simplicity of this module's design, supporting a new operating\nsystem simply means adding a new script to `scripts/` that gathers drive data\nand outputs something similar to the above example. The challenge with this is\nthat we must ensure all the platform scripts print consistent output.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client, and executes the corresponding drive scanning script as a\nchild process. It then parses the [YAML][yaml] output of the script as an array\nof objects, and returns that to the user.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[{\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk0',\n  raw: '/dev/rdisk0',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 121332826112,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk1',\n  raw: '/dev/rdisk1',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 120473067520,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/' },\n    { path: '/private/var/vm' }\n  ],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk2',\n  raw: '/dev/rdisk2',\n  description: 'SD Card Reader',\n  error: null,\n  size: 31104958464,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/Volumes/Patchwork' }\n  ],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n\n```\n\n***\n\nGNU/Linux\n\n```sh\n[{\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sdb',\n  raw: '/dev/sdb',\n  description: 'Storage Device',\n  error: null,\n  size: 31914983424,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/media/jonas/Etcher 1.2.0'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sda',\n  raw: '/dev/sda',\n  description: 'Samsung SSD 850',\n  error: null,\n  size: 120034123776,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/'\n  }, {\n    path: '/boot/efi'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n```\n\n***\n\nWindows\n\n```sh\n[{\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_wdc&prod_wd1600bevs-07rst#4&5a60d67&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive0',\n  description: 'WDC WD1600BEVS-07RST0',\n  error: null,\n  size: 160041885696,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'D:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SD',\n  busType: 'SD',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\sd#disk&generic&sc16g&8.0#5&c518b2e&0&c3964099&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive4',\n  description: 'Generic SC16G SD Card',\n  error: null,\n  size: 15931539456,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'G:\\\\'\n  }, {\n    path: 'H:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: true,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SCSI',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_usb3.0&prod_#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive2',\n  description: 'USB3.0  SCSI Disk Device',\n  error: null,\n  size: 500107862016,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'E:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: true\n}, {\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_samsung&prod_ssd_850_evo_m.2#4&5a60d67&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive1',\n  description: 'Samsung SSD 850 EVO M.2 120GB',\n  error: null,\n  size: 120034123776,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'C:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'USBSTOR',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\usbstor#disk&ven_disk&prod_name&rev_ax10#0012345667888&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive3',\n  description: 'Disk Name USB Device',\n  error: null,\n  size: 1000204886016,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'F:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: false,\n  isUSB: true,\n  isUAS: false\n}]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback)\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nExecute the following command after making any changes to the platform scripts:\n\n```sh\nnpm run compile-scripts\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"0457bd8870a97362e6f73979122f1d3fb211946c","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.1-fix-device-paths-0457bd8","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-Gv33PrCLoKdLp3g1kYKp1O3n8C8c2wzrqHKV+13TJqaErhI9rWTymRq1LrzdqURjTBBmRYBCh1bhVIWdeWGHQQ==","shasum":"e1178365a9523183b61336c4830a360f719616a4","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.1-fix-device-paths-0457bd8.tgz","fileCount":19,"unpackedSize":87255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhDHbCRA9TVsSAnZWagAAirEQAJPfgFIo+8FhoO73tkTI\n2IQsXpGNsHiEuCKoZP0rpgH+0Wwn9UcDD8568+meOZXwpcEd+Ca24KOyTZDH\nNhQsXK1VBHwmcU1IS+IzYfobWH7iRDW0MV9Xy4EVBaNCQNoYV5iJBn9GenlJ\nFoUbP31/SDFYnFviRAW/WHI4oL3FHvlhBhpUdGa0DiaE0B0pDsa7Y9AF8sXY\n9LlGBwIYuwJDKbSohrRo8VThLwq+cX8u6p5wUu/tpT6aolXa0q9Zmg9X9JQu\nCevmxf4z2T88e003aaIinWnuU10L2IGijAzAf3tF5aEd9FbD85ZVGElCy+nu\nSaM8kyuqAcdQc+uJDo+GSuKOhjQ9U+Fwhx03TKDCBOu/8h/cP/AWvhtdDN/w\nNKoDo/x9NP/YQWg1hGDl4ULNTfBrOiHX9XwqcK2i8kk1wZXsNj5kcSlfJzxq\nak59CzexO8VVjy5c+peybmif5XhzvHDo3X0WSlhXFNOb1gBHVS6lueIr8THY\nt/Voe5bB9yGdjT2IA+Z4qaqa0kWJNqyZ5yQDbZ8dtWD/VJuI1YAQG9X8L09o\nrc1D5OCLJyiVRF/J9BQucRN8BEszanLNgEtiMpBOMBoPUQOXJzEJ6YsWIbTv\nwcMt7m5qFOCkog6xbYjwo+/M6D6RFSpWssSJL+AZe4+kWLgKSLR7QBEc2pna\nMVUE\r\n=YUDR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEUMsbtnYwAM9VldW5bLh1Kufl8E67vCwekv+wMpCOrhAiEA5RGSk8ZbtkSgn7doDME9YyZJxjP52J5dUcob6zbJrbc="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.1-fix-device-paths-0457bd8_1535390170981_0.5997912808789325"},"_hasShrinkwrap":false},"6.4.1":{"name":"drivelist","version":"6.4.1","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"89c01a9f602e7309249254d97342ed27b569b7d5","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.1","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-KcRSi5EJwFfoc1QZJuyzmMQflLbNvX4lsnQVvu2rsWKTwQo8wf4gBn9OlYx3YoBu9qNGOQI4E9vrqO8/VPJTPg==","shasum":"c6a89cd8b52fd55136b999ec070323508d455b5e","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.1.tgz","fileCount":19,"unpackedSize":87230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhWswCRA9TVsSAnZWagAAclAP/jwtkdhmYc/LIY1ymbEO\nXfr3d5fk7M5MpidQghRAhoRa81jLdaGWyiZVxQFB8n4vkfcBjoL0aVcUkz6+\nCgo1xGSVx0dHeT/63qUsYpQMjQzEAFysIJtdE1FRpJ/T+uo0qlZft6efoC4d\n6m1cvjrzniKIC3aw/r1IlRbqatbGH879/fLXUf1rJtE0T+uBzPofJQDEjK1x\nTmtUe70YBCwGWj4QAIR3QKFXxQWMsdZQgM9grVjFvXBpkn8AiA/X33o8VMYK\nawdNIwHCjALjJfOJ6tzFPR0JlNGw/MFGOSbfx6OQmas0AoJ0lIMX5SDOIbCL\nFcrc4iD/uT4olBSyI9JtEZ9Adz8mu13FtdMYFuWl6IpfHzcOJnJSceG9R0s6\nC9F5MkyDzaQb+ztV5X/672aIBVxtOUq/vyrYnpqJq7FvQAcY5Ry9i4LOjdzI\nbbGNLhyANsZq81+QT6xpPPRGulAa74qaxYS3vY2y9xlcDmGi0YBzho1gmNjl\n2mTqEA7D0s8yoleY+fCKzmTyt6ETvdWUUd5yEf1J4yY6hECFHxtxCJGDXJbl\nVsTk0Y3L4Cv3wL5Uw8QealD/vVam+5vsfFUZVZxpypBOzYp5ReEx3Q0OvyVc\n6GGFLf848U4bZOlbQD6nBkbRiOpyz1egkUv7qj6PKQpjIHtHLLlnNuR5FE9k\nSMhm\r\n=sczJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKQ8Z7l+ECUOI9MOnMtddx05l9Nb+GrtD1rLYY4NTzwQIhAOklvIyq9dDk44x18aBEjcjf9r4XQkC7ig9B3mc/mgxz"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.1_1535470383453_0.16834665489639744"},"_hasShrinkwrap":false},"6.4.2-support-lsblk-hotplug-14a8931875fc5cebec232c05ed1a1a59b361ed9c":{"name":"drivelist","version":"6.4.2-support-lsblk-hotplug-14a8931875fc5cebec232c05ed1a1a59b361ed9c","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nThe `drivelist` core consists of a set of scripts built with technologies that\nare available by default on the target operating systems (like Bash, VBScript,\netc). Each of these scripts attempts to get information about the available\ndrives (and metadata related to them), using any methods the target platform\nprovides, like a combination of `diskutil`, `/proc/mounts`, etc. You can find\nthese scripts in the `scripts/` directory.\n\nThe scripts are then expected to print to `stdout` all the drive information\nthey have gathered in a predefined way, based on the [YAML][yaml] language. The\nscripts are expected to output a set of blocks (separated by blank lines), each\nrepresenting a drive with a set of key/value pairs. The exact keys that we\nexpect are constantly changing while we keep improving this module, but you can\nsee what the currently expected keys are by running the platform script that\ncorresponds to your operating system.\n\nThis is how the raw output looks on my MacBook Pro at the time of this writing:\n\n```sh\n$ ./scripts/darwin.sh\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk0\nraw: /dev/rdisk0\ndescription: \"APPLE SSD TS128E\"\nerror: null\nsize: 121332826112\nblockSize: null\nlogicalBlockSize: null\nmountpoints: []\nisReadOnly: False\nisSystem: True\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk2\nraw: /dev/rdisk2\ndescription: \"SD Card Reader\"\nerror: null\nsize: 31104958464\nblockSize: null\nlogicalBlockSize: null\nmountpoints:\n  - path: \"/Volumes/Patchwork\"\nisReadOnly: False\nisSystem: False\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n```\n\nBecause of the simplicity of this module's design, supporting a new operating\nsystem simply means adding a new script to `scripts/` that gathers drive data\nand outputs something similar to the above example. The challenge with this is\nthat we must ensure all the platform scripts print consistent output.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client, and executes the corresponding drive scanning script as a\nchild process. It then parses the [YAML][yaml] output of the script as an array\nof objects, and returns that to the user.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[{\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk0',\n  raw: '/dev/rdisk0',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 121332826112,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk1',\n  raw: '/dev/rdisk1',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 120473067520,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/' },\n    { path: '/private/var/vm' }\n  ],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk2',\n  raw: '/dev/rdisk2',\n  description: 'SD Card Reader',\n  error: null,\n  size: 31104958464,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/Volumes/Patchwork' }\n  ],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n\n```\n\n***\n\nGNU/Linux\n\n```sh\n[{\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sdb',\n  raw: '/dev/sdb',\n  description: 'Storage Device',\n  error: null,\n  size: 31914983424,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/media/jonas/Etcher 1.2.0'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sda',\n  raw: '/dev/sda',\n  description: 'Samsung SSD 850',\n  error: null,\n  size: 120034123776,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/'\n  }, {\n    path: '/boot/efi'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n```\n\n***\n\nWindows\n\n```sh\n[{\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_wdc&prod_wd1600bevs-07rst#4&5a60d67&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive0',\n  description: 'WDC WD1600BEVS-07RST0',\n  error: null,\n  size: 160041885696,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'D:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SD',\n  busType: 'SD',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\sd#disk&generic&sc16g&8.0#5&c518b2e&0&c3964099&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive4',\n  description: 'Generic SC16G SD Card',\n  error: null,\n  size: 15931539456,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'G:\\\\'\n  }, {\n    path: 'H:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: true,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SCSI',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_usb3.0&prod_#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive2',\n  description: 'USB3.0  SCSI Disk Device',\n  error: null,\n  size: 500107862016,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'E:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: true\n}, {\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_samsung&prod_ssd_850_evo_m.2#4&5a60d67&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive1',\n  description: 'Samsung SSD 850 EVO M.2 120GB',\n  error: null,\n  size: 120034123776,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'C:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'USBSTOR',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\usbstor#disk&ven_disk&prod_name&rev_ax10#0012345667888&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive3',\n  description: 'Disk Name USB Device',\n  error: null,\n  size: 1000204886016,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'F:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: false,\n  isUSB: true,\n  isUAS: false\n}]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback)\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nExecute the following command after making any changes to the platform scripts:\n\n```sh\nnpm run compile-scripts\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"14a8931875fc5cebec232c05ed1a1a59b361ed9c","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.2-support-lsblk-hotplug-14a8931875fc5cebec232c05ed1a1a59b361ed9c","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-SzN0y+rjV2yM7+WYtzUfCHYsiRm4YS3ZTKlW18BhFkmKrysADXK3pepEceF6t07+euXfm0XH9oIGO4MUS6YUrg==","shasum":"541bbefacd9ad5daa68d425b6f1d6f729a8c3ad1","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.2-support-lsblk-hotplug-14a8931875fc5cebec232c05ed1a1a59b361ed9c.tgz","fileCount":19,"unpackedSize":87447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbiVvgCRA9TVsSAnZWagAAbt8P/0Valbm/lLeddXk9DJ7Z\nFlT2EWFh/aZEDK22AkOltHHrOasZ7pvCMPQCVKBH0+mBxujvz3lSSKCIDpM6\nC2812guYAzlUJ493tcujmOyQ4F+ateynp+CR3qV0H4H+huk0n/Vx4Wp6pwaL\nirRmOjxRvAej7a+ZwKCVYhN/D7YkkJzpEM+BA0y/XrAyllAbkROfeUSuAOin\n1JaWXuAGiE9DyQ+aRpoqFVkIsaTyF77qkMO6pTbAeUEG3N9fUrMl+ke0R/Zq\n7SZiSgDzyG2jOgshkB0/Hz/ZhHPT9ZPGhW8jtJKcd7KH89EJu47lduU9bGow\n0/FyzBycUXrN3g7QiVoeDIDaqODpH/p8mQZnmEY9hMc1TFyJKNnJPydndkuO\nbRwAPGuLoEmjMbtJBG2IY0QV0GP+9wWe53U/3g3lp/hPbFoH312napqEGZjd\ndEfM2rrTwr/v1LcHBmsphruNlcqgi1k/0YfdatQ2Zy+um5K7DbNO3fmKkYkW\nkjGDBEUT+towHlcMbGHQO2A514CzfQNSmG9lY8tUd8AD9u/nP+TVnmVdC8Ns\nWebzUuWEdvqYF02xS3jKWk5zrqwmfeAuTw2ZmsZz0+v9ow73c3V1jQqLFDOM\nGydJA24z+XXcaNBBoeDHZ2yRYRV38UGQgBJOEf9nbIqKMP8LqVwiiL9OivLz\nvd3P\r\n=untK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+7kHuzXN2hQoH/VqytmVDjarHP5dOE5Fj3TaH6ofrPAiBed7nBnJd0rBYbKwQq9YBqWx4bYEkOMI5cXlr7tLhWAA=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.2-support-lsblk-hotplug-14a8931875fc5cebec232c05ed1a1a59b361ed9c_1535728607393_0.7360289776825448"},"_hasShrinkwrap":false},"6.4.2-resinci-fec5d1bd11fd4f71d352230b44d5382158199731":{"name":"drivelist","version":"6.4.2-resinci-fec5d1bd11fd4f71d352230b44d5382158199731","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nThe `drivelist` core consists of a set of scripts built with technologies that\nare available by default on the target operating systems (like Bash, VBScript,\netc). Each of these scripts attempts to get information about the available\ndrives (and metadata related to them), using any methods the target platform\nprovides, like a combination of `diskutil`, `/proc/mounts`, etc. You can find\nthese scripts in the `scripts/` directory.\n\nThe scripts are then expected to print to `stdout` all the drive information\nthey have gathered in a predefined way, based on the [YAML][yaml] language. The\nscripts are expected to output a set of blocks (separated by blank lines), each\nrepresenting a drive with a set of key/value pairs. The exact keys that we\nexpect are constantly changing while we keep improving this module, but you can\nsee what the currently expected keys are by running the platform script that\ncorresponds to your operating system.\n\nThis is how the raw output looks on my MacBook Pro at the time of this writing:\n\n```sh\n$ ./scripts/darwin.sh\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk0\nraw: /dev/rdisk0\ndescription: \"APPLE SSD TS128E\"\nerror: null\nsize: 121332826112\nblockSize: null\nlogicalBlockSize: null\nmountpoints: []\nisReadOnly: False\nisSystem: True\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk2\nraw: /dev/rdisk2\ndescription: \"SD Card Reader\"\nerror: null\nsize: 31104958464\nblockSize: null\nlogicalBlockSize: null\nmountpoints:\n  - path: \"/Volumes/Patchwork\"\nisReadOnly: False\nisSystem: False\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n```\n\nBecause of the simplicity of this module's design, supporting a new operating\nsystem simply means adding a new script to `scripts/` that gathers drive data\nand outputs something similar to the above example. The challenge with this is\nthat we must ensure all the platform scripts print consistent output.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client, and executes the corresponding drive scanning script as a\nchild process. It then parses the [YAML][yaml] output of the script as an array\nof objects, and returns that to the user.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[{\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk0',\n  raw: '/dev/rdisk0',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 121332826112,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk1',\n  raw: '/dev/rdisk1',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 120473067520,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/' },\n    { path: '/private/var/vm' }\n  ],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk2',\n  raw: '/dev/rdisk2',\n  description: 'SD Card Reader',\n  error: null,\n  size: 31104958464,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/Volumes/Patchwork' }\n  ],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n\n```\n\n***\n\nGNU/Linux\n\n```sh\n[{\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sdb',\n  raw: '/dev/sdb',\n  description: 'Storage Device',\n  error: null,\n  size: 31914983424,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/media/jonas/Etcher 1.2.0'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sda',\n  raw: '/dev/sda',\n  description: 'Samsung SSD 850',\n  error: null,\n  size: 120034123776,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/'\n  }, {\n    path: '/boot/efi'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n```\n\n***\n\nWindows\n\n```sh\n[{\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_wdc&prod_wd1600bevs-07rst#4&5a60d67&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive0',\n  description: 'WDC WD1600BEVS-07RST0',\n  error: null,\n  size: 160041885696,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'D:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SD',\n  busType: 'SD',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\sd#disk&generic&sc16g&8.0#5&c518b2e&0&c3964099&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive4',\n  description: 'Generic SC16G SD Card',\n  error: null,\n  size: 15931539456,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'G:\\\\'\n  }, {\n    path: 'H:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: true,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SCSI',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_usb3.0&prod_#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive2',\n  description: 'USB3.0  SCSI Disk Device',\n  error: null,\n  size: 500107862016,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'E:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: true\n}, {\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_samsung&prod_ssd_850_evo_m.2#4&5a60d67&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive1',\n  description: 'Samsung SSD 850 EVO M.2 120GB',\n  error: null,\n  size: 120034123776,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'C:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'USBSTOR',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\usbstor#disk&ven_disk&prod_name&rev_ax10#0012345667888&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive3',\n  description: 'Disk Name USB Device',\n  error: null,\n  size: 1000204886016,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'F:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: false,\n  isUSB: true,\n  isUAS: false\n}]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback)\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nExecute the following command after making any changes to the platform scripts:\n\n```sh\nnpm run compile-scripts\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"fec5d1bd11fd4f71d352230b44d5382158199731","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.2-resinci-fec5d1bd11fd4f71d352230b44d5382158199731","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-uUi+LOkGmZ+QOk3gdHGd+0x3DjqZUw/b3WzuQiBE6r8bkIvZQfXWLM6lHGBnNr4rJgDmj96fRJdJuhbKL/scSg==","shasum":"c8836f18d49be85cec1731c9c83a419a652deee3","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.2-resinci-fec5d1bd11fd4f71d352230b44d5382158199731.tgz","fileCount":19,"unpackedSize":87476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjTEVCRA9TVsSAnZWagAAgP8P/0wmDMXq/y5H+zE4IZBN\nMl4cckwJjq5HQbHXIXbZbNL2pWq7d2XZ+YDfCixEpxWJkp0oqGNxy+e2suM/\nBsmSZ+Sa22sjZYgBptuBtyeyR89T+0tHZQAZtqXcMFkLE6fQIEw6H2Aot4Bs\nKbYbcNPaRMWJrRYAPv49IUdpUtr1jG7NZMpmAvncq8U2rBmes1D++acCwYKm\nVofzyPXCxlzu5miLObZNV1FwITYFzc5qEx6UeH09IgSG1rIvsNlYeXMTyzGp\nzp+zeUQOyeBiSqk8UI9IwpWV/0j8NyCW/Tofmzfl7uMB+RH01j1e0eUqPLJ/\nMhq4RtFLMTF1TlrC9Ya+DLVkFDhK7vJGefS0qKMxCGE4cL4NoV6eOJH/28el\ndT7Xtu0bQVMbE6Rh0oa/0oGlAJZC3C2wf4Y8wWIh2oZFJL93oFC+VG/boxmi\n2r1NcbXNISIWgJCDcNh1krFh3Jne/ygBrftdPtKYVpiGTfWrtttALh3SQ9nr\nAwSXTfwLnRjVqwLyz/MP6urWffbzttQsKTxT5xqcLJQDAeHKMym3qImL7z0N\nOVsVI3d356FArVSaS04yHFluaKdsGtHUus8pLfe/lT8vbZPcljiF6FdKQlkw\njLzP7vnkJjhm8tg+flX7JHdV0gdx4vNdJxZxNDagjQbIxUAc2GX5cjWHgDRC\n4ULO\r\n=NH37\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+qz+ESfmxi/mRKIcdxxNjIZpIr8lIcQ+VJdanKo6hyAiEAiXcmpvXd7fNprjQ6qSj1AB/2z+F4UXTc+KAaPPyVHBI="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.2-resinci-fec5d1bd11fd4f71d352230b44d5382158199731_1535979796615_0.7738202792368991"},"_hasShrinkwrap":false},"6.4.2":{"name":"drivelist","version":"6.4.2","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"38c69ea5535732278874598a0f3587ce1b944d2f","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.2","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-l4RfX3w4ApeO5SvLH5iLvHAfe8eDGm7F6q4r6wKloRbKwWbw8U4ovyk+aDnmFPTk2sfameJAmxbJub28CchDdg==","shasum":"ff55c92d3889a42b9fc91c0d2edbe59a8750e073","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.2.tgz","fileCount":19,"unpackedSize":87427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjX/UCRA9TVsSAnZWagAAk7UP/2d/WlWSOyg1fdiIM1MD\nhxvG1idOk+l2TlIoOfQf8M4FNsH59fN6NzWaFxMg9bnh9BCXac690JR2wjsx\nS0dBYU7NW4I2CR2kblcjnyanhXujsLR253l/G/lLUtNa7XMHyqZ4SmF08CZz\n19vyEuRw34gny1n8qNzoIf0ugX3Vw+bK/FkWqZpIhn6HvoVz/0ohxCDplFFo\nriAkQuC3uN+W+BkJsmGCerXUB8uw2ZNF0RNWDOqWsp/7JCqzEKvLzmrNXZe4\nLpKVrJikE8da9cg6L/BeelDgiK/eyhSpxRBexAypp6zV5nMuZ4RrdBUVYZNX\nSHPDlFUi4GgdHlQyw7U9WYly4VdXG8jxj2py4P5Eo8fRkxs/rmko5RcgYfgA\nYDx6LbzdijrFgyv/Yh8TxiBMYK8DZnKCRnHbSnxFB+yWw5p4JV3lK+qFt+0l\nRD428PDkrGRUCsny4/5/wA5qM2GAl0L4iUXicTMRxwcOhhzPd+bzz++LPUA0\nks4RsRubi+hAv3SRhHlvox4q98kyKW8tFokorWsk4BnosdfO2BgNwzfqzCyl\nYTpkf33/P27qbPkVJrqx1Nu+JB7B6Gu4sdKeBdnKKS7+x0BtlBd2my8FSKHS\n8hF6yc2P2YLOYpk9B1BEwmBV1exzVFXsmn0dJ7OYO5MCpqM5Uqqo2UnhcVys\nVqn4\r\n=+zRU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGQRuDU6MTCyj0Lcv5TbrgNAzJtX11Qyxx+Jdzq3IN/wIgaEWEx1JZ4Eo7ZGGqhMNvS5MbOLsONAzDF8swa7RhmE4="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.2_1535999955296_0.5218332322248882"},"_hasShrinkwrap":false},"6.4.3-fix-lsblk-pairs-81a08b5cb076c2bf415acf0fa1a9b57f902c0517":{"name":"drivelist","version":"6.4.3-fix-lsblk-pairs-81a08b5cb076c2bf415acf0fa1a9b57f902c0517","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nThe `drivelist` core consists of a set of scripts built with technologies that\nare available by default on the target operating systems (like Bash, VBScript,\netc). Each of these scripts attempts to get information about the available\ndrives (and metadata related to them), using any methods the target platform\nprovides, like a combination of `diskutil`, `/proc/mounts`, etc. You can find\nthese scripts in the `scripts/` directory.\n\nThe scripts are then expected to print to `stdout` all the drive information\nthey have gathered in a predefined way, based on the [YAML][yaml] language. The\nscripts are expected to output a set of blocks (separated by blank lines), each\nrepresenting a drive with a set of key/value pairs. The exact keys that we\nexpect are constantly changing while we keep improving this module, but you can\nsee what the currently expected keys are by running the platform script that\ncorresponds to your operating system.\n\nThis is how the raw output looks on my MacBook Pro at the time of this writing:\n\n```sh\n$ ./scripts/darwin.sh\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk0\nraw: /dev/rdisk0\ndescription: \"APPLE SSD TS128E\"\nerror: null\nsize: 121332826112\nblockSize: null\nlogicalBlockSize: null\nmountpoints: []\nisReadOnly: False\nisSystem: True\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk2\nraw: /dev/rdisk2\ndescription: \"SD Card Reader\"\nerror: null\nsize: 31104958464\nblockSize: null\nlogicalBlockSize: null\nmountpoints:\n  - path: \"/Volumes/Patchwork\"\nisReadOnly: False\nisSystem: False\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n```\n\nBecause of the simplicity of this module's design, supporting a new operating\nsystem simply means adding a new script to `scripts/` that gathers drive data\nand outputs something similar to the above example. The challenge with this is\nthat we must ensure all the platform scripts print consistent output.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client, and executes the corresponding drive scanning script as a\nchild process. It then parses the [YAML][yaml] output of the script as an array\nof objects, and returns that to the user.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[{\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk0',\n  raw: '/dev/rdisk0',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 121332826112,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk1',\n  raw: '/dev/rdisk1',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 120473067520,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/' },\n    { path: '/private/var/vm' }\n  ],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk2',\n  raw: '/dev/rdisk2',\n  description: 'SD Card Reader',\n  error: null,\n  size: 31104958464,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/Volumes/Patchwork' }\n  ],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n\n```\n\n***\n\nGNU/Linux\n\n```sh\n[{\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sdb',\n  raw: '/dev/sdb',\n  description: 'Storage Device',\n  error: null,\n  size: 31914983424,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/media/jonas/Etcher 1.2.0'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sda',\n  raw: '/dev/sda',\n  description: 'Samsung SSD 850',\n  error: null,\n  size: 120034123776,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/'\n  }, {\n    path: '/boot/efi'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n```\n\n***\n\nWindows\n\n```sh\n[{\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_wdc&prod_wd1600bevs-07rst#4&5a60d67&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive0',\n  description: 'WDC WD1600BEVS-07RST0',\n  error: null,\n  size: 160041885696,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'D:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SD',\n  busType: 'SD',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\sd#disk&generic&sc16g&8.0#5&c518b2e&0&c3964099&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive4',\n  description: 'Generic SC16G SD Card',\n  error: null,\n  size: 15931539456,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'G:\\\\'\n  }, {\n    path: 'H:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: true,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SCSI',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_usb3.0&prod_#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive2',\n  description: 'USB3.0  SCSI Disk Device',\n  error: null,\n  size: 500107862016,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'E:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: true\n}, {\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_samsung&prod_ssd_850_evo_m.2#4&5a60d67&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive1',\n  description: 'Samsung SSD 850 EVO M.2 120GB',\n  error: null,\n  size: 120034123776,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'C:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'USBSTOR',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\usbstor#disk&ven_disk&prod_name&rev_ax10#0012345667888&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive3',\n  description: 'Disk Name USB Device',\n  error: null,\n  size: 1000204886016,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'F:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: false,\n  isUSB: true,\n  isUAS: false\n}]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback)\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nExecute the following command after making any changes to the platform scripts:\n\n```sh\nnpm run compile-scripts\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"81a08b5cb076c2bf415acf0fa1a9b57f902c0517","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.3-fix-lsblk-pairs-81a08b5cb076c2bf415acf0fa1a9b57f902c0517","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-lVFAk/cds63SbpRO8nidQk18nwmUFr2bPquJRo5qzko5pLdbpIdn4VwSILmTtcUYHdbwBgY4Mj1l+Cv4FBGYEg==","shasum":"bc05d791c3979b5fed1af090abafea87858208a1","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.3-fix-lsblk-pairs-81a08b5cb076c2bf415acf0fa1a9b57f902c0517.tgz","fileCount":19,"unpackedSize":87590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkpOnCRA9TVsSAnZWagAAS0QP/juoBsV4+s8eKLv3355F\nfjRcOJg/PIvBxFIQSCRwx/3xCdYJ/Rjs7A9raNHo9+Qhrn83g7/QP/ROiYLb\naD0KDy6XT1vbITFEWP4A07DmEg/QjhWncJcqZ4fxnM6zFiyhoui8RzFYrFb9\neypcoV/4pjz7Vbqr1IT+aQ1x0HHGTCXoke/cOW1w0pS6kEZLkUvkyR51EXv7\neiPkYj+jhxcW6+IR6PJrONScjIns2n08FY9+eWLFWAnmb1y2KXmXiC55bD1t\nL0wFJ0o6AyoIjHFMVBSujdvcJjvHjyTrH6msDT/ZTXzeic2hqGFfUdhU7akz\nqBH8olMMLoe1TY7cDGrctJV0SO4QkJ203vOF15D1oBzqR0Lixu4UximBpd6Z\neg2uMQCBPLEIGEHmyyFdJCO28AjRCR26ZbbFsPQNhxKqnjr775BHNd6B8/HL\nKVha+MZ0igMU0zhporjUY+66WL/4ddui09SPlsuqgMqUbfMIFgjopN63SAzb\nFGObpGZwI8cQTDc3X1o2kgCZVpzg9a7RMK7Ljow/IE+S8KP2sbOF1nSHIYU4\nAtNfaEDTwvgE5WIrXy9GPuxe00CZfLxQqhSukA3krXZ1tQXGpwvSo5r/UJAm\nGbuLPF2EZFm2Fkc+f7FVOy8SKrWcWhvJ65SZRQO36pyUzXhPNvIRrnQdvn+P\nuZaV\r\n=bk/L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjmOaF0lx+NdoM/CivgVPG8dIY72UgMHjH7eclQBJ0gQIhAK6Z6+s+8cayAqoMfoTTJr0E/ZFzPlx7FfdbCuF5tue8"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.3-fix-lsblk-pairs-81a08b5cb076c2bf415acf0fa1a9b57f902c0517_1536332710839_0.9959029534569339"},"_hasShrinkwrap":false},"6.4.3-fix-lsblk-pairs-e35ce5dbeff4e63960c2b919a639c3010010c8fe":{"name":"drivelist","version":"6.4.3-fix-lsblk-pairs-e35ce5dbeff4e63960c2b919a639c3010010c8fe","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nThe `drivelist` core consists of a set of scripts built with technologies that\nare available by default on the target operating systems (like Bash, VBScript,\netc). Each of these scripts attempts to get information about the available\ndrives (and metadata related to them), using any methods the target platform\nprovides, like a combination of `diskutil`, `/proc/mounts`, etc. You can find\nthese scripts in the `scripts/` directory.\n\nThe scripts are then expected to print to `stdout` all the drive information\nthey have gathered in a predefined way, based on the [YAML][yaml] language. The\nscripts are expected to output a set of blocks (separated by blank lines), each\nrepresenting a drive with a set of key/value pairs. The exact keys that we\nexpect are constantly changing while we keep improving this module, but you can\nsee what the currently expected keys are by running the platform script that\ncorresponds to your operating system.\n\nThis is how the raw output looks on my MacBook Pro at the time of this writing:\n\n```sh\n$ ./scripts/darwin.sh\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk0\nraw: /dev/rdisk0\ndescription: \"APPLE SSD TS128E\"\nerror: null\nsize: 121332826112\nblockSize: null\nlogicalBlockSize: null\nmountpoints: []\nisReadOnly: False\nisSystem: True\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk2\nraw: /dev/rdisk2\ndescription: \"SD Card Reader\"\nerror: null\nsize: 31104958464\nblockSize: null\nlogicalBlockSize: null\nmountpoints:\n  - path: \"/Volumes/Patchwork\"\nisReadOnly: False\nisSystem: False\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n```\n\nBecause of the simplicity of this module's design, supporting a new operating\nsystem simply means adding a new script to `scripts/` that gathers drive data\nand outputs something similar to the above example. The challenge with this is\nthat we must ensure all the platform scripts print consistent output.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client, and executes the corresponding drive scanning script as a\nchild process. It then parses the [YAML][yaml] output of the script as an array\nof objects, and returns that to the user.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[{\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk0',\n  raw: '/dev/rdisk0',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 121332826112,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk1',\n  raw: '/dev/rdisk1',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 120473067520,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/' },\n    { path: '/private/var/vm' }\n  ],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk2',\n  raw: '/dev/rdisk2',\n  description: 'SD Card Reader',\n  error: null,\n  size: 31104958464,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/Volumes/Patchwork' }\n  ],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n\n```\n\n***\n\nGNU/Linux\n\n```sh\n[{\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sdb',\n  raw: '/dev/sdb',\n  description: 'Storage Device',\n  error: null,\n  size: 31914983424,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/media/jonas/Etcher 1.2.0'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sda',\n  raw: '/dev/sda',\n  description: 'Samsung SSD 850',\n  error: null,\n  size: 120034123776,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/'\n  }, {\n    path: '/boot/efi'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n```\n\n***\n\nWindows\n\n```sh\n[{\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_wdc&prod_wd1600bevs-07rst#4&5a60d67&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive0',\n  description: 'WDC WD1600BEVS-07RST0',\n  error: null,\n  size: 160041885696,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'D:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SD',\n  busType: 'SD',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\sd#disk&generic&sc16g&8.0#5&c518b2e&0&c3964099&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive4',\n  description: 'Generic SC16G SD Card',\n  error: null,\n  size: 15931539456,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'G:\\\\'\n  }, {\n    path: 'H:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: true,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SCSI',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_usb3.0&prod_#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive2',\n  description: 'USB3.0  SCSI Disk Device',\n  error: null,\n  size: 500107862016,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'E:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: true\n}, {\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_samsung&prod_ssd_850_evo_m.2#4&5a60d67&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive1',\n  description: 'Samsung SSD 850 EVO M.2 120GB',\n  error: null,\n  size: 120034123776,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'C:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'USBSTOR',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\usbstor#disk&ven_disk&prod_name&rev_ax10#0012345667888&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive3',\n  description: 'Disk Name USB Device',\n  error: null,\n  size: 1000204886016,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'F:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: false,\n  isUSB: true,\n  isUAS: false\n}]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback)\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nExecute the following command after making any changes to the platform scripts:\n\n```sh\nnpm run compile-scripts\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"e35ce5dbeff4e63960c2b919a639c3010010c8fe","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.3-fix-lsblk-pairs-e35ce5dbeff4e63960c2b919a639c3010010c8fe","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-XRCdxE1OoNXqpSTYEUZuUDYRONuJ94uWelOh4G3dtLBTctyDwD7G/xN8na7mJQEEQTqA/o689NtoTIJuIGW44Q==","shasum":"0beb7c0dc87d8361be3a935737cd9ddef3c3e5b1","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.3-fix-lsblk-pairs-e35ce5dbeff4e63960c2b919a639c3010010c8fe.tgz","fileCount":19,"unpackedSize":87590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkplZCRA9TVsSAnZWagAAea4P/3z++YKX/c++6ilC6WHS\nDCOd0HnvptcsSk9534DmkjjYivc/avvcdXgH3t55DzSK1hjNEBJYanWZRI3d\nrRz0jPjeBR1ypuh96Ptg+mjhHuUEfR+6Bu/E8is1c1niDiy/Uxt96MADVLFS\nsNL1FDQzsN00Zlk/yw0WRDe2E2BqHGmGAqXISS+wkk3l6bEFZwWnEO4cXQ97\nC+2XhJwG5wU2qhA+2CrTe4Gi+ud/zk6cL8wwW/W/ECvEAlfEoclM+zVjxttE\nlpU3E10b3u07m26FCllCeFNCIp+tk1NCwLKcoqcJTVThDp9NpwDwtepQ8jQP\ngnRg0ytPiLe2YeiD8jBG1KFBkSqF/ehk9DaJTSeCqU7NoCObcZ+5AoeRmlQ3\ntBaUj3DWVkUHDHqNzaPhIQSGZ+JzBohHHBEStSxAOONxZshE/FTV72/U0Uj7\npQUfj/vOQc3S2QR5ENiYN6wouPr+rkIeTx5bTKevQQUgbTqAYcbnrXHWJRs8\nnDTM5syrY+JfDlJyAbeTGh8etufGaM+W+Q2SU7nRaGeRJ1bb84jeQRp43ZoC\n0MolWRBEhCEDQEDJF5oL/iDBvIEcU6gS9S2VJJ7ebW/jGVsbMkG8cXB6HJ/I\nRsIxWAQcjorFgXmNI5pCpEeWOdGSFlf0SBen/ox3zxuHiyfk+qgKk3V4WJJL\nRBZf\r\n=eaow\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLuJw2Mlfk4oeRPI46wzuUeV8ijOqydYLlqHUXZdj+0QIhAIxarOo7BF/scPZsks2Gz4jkPS0Oea87ZqGP+BEAuafD"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.3-fix-lsblk-pairs-e35ce5dbeff4e63960c2b919a639c3010010c8fe_1536334168771_0.7631887084883509"},"_hasShrinkwrap":false},"6.4.3-fix-lsblk-pairs-f6c0ce71ae47847a2ab253751e59ec46e42bc9e5":{"name":"drivelist","version":"6.4.3-fix-lsblk-pairs-f6c0ce71ae47847a2ab253751e59ec46e42bc9e5","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nThe `drivelist` core consists of a set of scripts built with technologies that\nare available by default on the target operating systems (like Bash, VBScript,\netc). Each of these scripts attempts to get information about the available\ndrives (and metadata related to them), using any methods the target platform\nprovides, like a combination of `diskutil`, `/proc/mounts`, etc. You can find\nthese scripts in the `scripts/` directory.\n\nThe scripts are then expected to print to `stdout` all the drive information\nthey have gathered in a predefined way, based on the [YAML][yaml] language. The\nscripts are expected to output a set of blocks (separated by blank lines), each\nrepresenting a drive with a set of key/value pairs. The exact keys that we\nexpect are constantly changing while we keep improving this module, but you can\nsee what the currently expected keys are by running the platform script that\ncorresponds to your operating system.\n\nThis is how the raw output looks on my MacBook Pro at the time of this writing:\n\n```sh\n$ ./scripts/darwin.sh\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk0\nraw: /dev/rdisk0\ndescription: \"APPLE SSD TS128E\"\nerror: null\nsize: 121332826112\nblockSize: null\nlogicalBlockSize: null\nmountpoints: []\nisReadOnly: False\nisSystem: True\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk2\nraw: /dev/rdisk2\ndescription: \"SD Card Reader\"\nerror: null\nsize: 31104958464\nblockSize: null\nlogicalBlockSize: null\nmountpoints:\n  - path: \"/Volumes/Patchwork\"\nisReadOnly: False\nisSystem: False\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n```\n\nBecause of the simplicity of this module's design, supporting a new operating\nsystem simply means adding a new script to `scripts/` that gathers drive data\nand outputs something similar to the above example. The challenge with this is\nthat we must ensure all the platform scripts print consistent output.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client, and executes the corresponding drive scanning script as a\nchild process. It then parses the [YAML][yaml] output of the script as an array\nof objects, and returns that to the user.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[{\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk0',\n  raw: '/dev/rdisk0',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 121332826112,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk1',\n  raw: '/dev/rdisk1',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 120473067520,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/' },\n    { path: '/private/var/vm' }\n  ],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk2',\n  raw: '/dev/rdisk2',\n  description: 'SD Card Reader',\n  error: null,\n  size: 31104958464,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/Volumes/Patchwork' }\n  ],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n\n```\n\n***\n\nGNU/Linux\n\n```sh\n[{\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sdb',\n  raw: '/dev/sdb',\n  description: 'Storage Device',\n  error: null,\n  size: 31914983424,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/media/jonas/Etcher 1.2.0'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sda',\n  raw: '/dev/sda',\n  description: 'Samsung SSD 850',\n  error: null,\n  size: 120034123776,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/'\n  }, {\n    path: '/boot/efi'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n```\n\n***\n\nWindows\n\n```sh\n[{\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_wdc&prod_wd1600bevs-07rst#4&5a60d67&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive0',\n  description: 'WDC WD1600BEVS-07RST0',\n  error: null,\n  size: 160041885696,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'D:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SD',\n  busType: 'SD',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\sd#disk&generic&sc16g&8.0#5&c518b2e&0&c3964099&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive4',\n  description: 'Generic SC16G SD Card',\n  error: null,\n  size: 15931539456,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'G:\\\\'\n  }, {\n    path: 'H:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: true,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SCSI',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_usb3.0&prod_#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive2',\n  description: 'USB3.0  SCSI Disk Device',\n  error: null,\n  size: 500107862016,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'E:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: true\n}, {\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_samsung&prod_ssd_850_evo_m.2#4&5a60d67&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive1',\n  description: 'Samsung SSD 850 EVO M.2 120GB',\n  error: null,\n  size: 120034123776,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'C:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'USBSTOR',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\usbstor#disk&ven_disk&prod_name&rev_ax10#0012345667888&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive3',\n  description: 'Disk Name USB Device',\n  error: null,\n  size: 1000204886016,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'F:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: false,\n  isUSB: true,\n  isUAS: false\n}]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback)\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nExecute the following command after making any changes to the platform scripts:\n\n```sh\nnpm run compile-scripts\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"f6c0ce71ae47847a2ab253751e59ec46e42bc9e5","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.3-fix-lsblk-pairs-f6c0ce71ae47847a2ab253751e59ec46e42bc9e5","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-KoB/zzlAkchGVuNdnpTqh4FUPOcggvGytw/8DGORwDiZPqDdHsxk5/bGwld2cp0CtwEsxOPj6tIBP09Dhse2Cw==","shasum":"52b8d9dedf387befafadd6ea835b45aab0e523e1","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.3-fix-lsblk-pairs-f6c0ce71ae47847a2ab253751e59ec46e42bc9e5.tgz","fileCount":19,"unpackedSize":87590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblotJCRA9TVsSAnZWagAAvXkQAIE97nVLskgQz0Ik1uCn\ntxozSVjYI5kqulaaevPj100OiUmRFvGkPcRGJpoO8Qa8VqbILnZ04qrbV3bM\no44HYpBc+/ntEXrm8QspoKuhndQTiMdY60LLGYJ/gUdLK9jVLVEwJSkls1Gc\n9HhELMtAPXLBGzL1s3nTosPm9QNocADfmp9EztVnzPqsG+sBUGv1xfGtycFe\nP6YxU53HZd4tQ2EGvL9xSDc/ECEbJueIVdKx2SnxrarxeKMHRLD8zXT+65KW\nmzerFehfeCkeO1CZet1G7y97f0ygK9t4ZKe9+THJMceTiyTOZRfzGEpeYAKB\nSOHIL2BBKjtvCuMF6IaS/ravP+P0AKtQyEcPs+8UdKVYCerIkPPeuLADA8el\nhwEgbRbvb29oi1uykRbqbQKw8KgIMQCJvUUi38sZkv14DqXC8Qj7ILdjXuqa\nykl6DY0HUup5wgH6rXi2ZhR8QR5pqbcLIVw4s++pBqlJmS77e1IhKVEvXb1f\nEekc8s1wLzgJEL7eQ7qRRDOrHDR3/DqqmXUJom8ay4pXJb27ZKL+gMKfVJMG\ncBFWZvy4DTNxWAiE1tHDm8ikK7GmMb89HfzWpklqfnVN/JlHjaO+c6ale1ZS\nvriwVvNvH2DcGocJABgWPJpKx1brv/L+Pt/q3fMNm5MIKGIUTrUWeuFxGjMe\nSVEW\r\n=TEBS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGWZ0+YWMlX7oJwLsHGUWHtLHqrmLM3SZvh5zziUURDTAiBhA2WMh3ZQycXKPgoxaVr/RXEUy0R0rLXuvLqTl7fJ7g=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.3-fix-lsblk-pairs-f6c0ce71ae47847a2ab253751e59ec46e42bc9e5_1536592713208_0.6908079837593573"},"_hasShrinkwrap":false},"6.4.3":{"name":"drivelist","version":"6.4.3","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"656c852c552ccb9743a1168ec7d1f01279475803","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.3","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-VwQ/7jQeEvZkDNMOUzqcI7ADx25wSxPK9hPD7HubTLPMBcBhIyAAoYb+fhH1XP2TOmGx7wcZ5+Zb22Xiq2fGkQ==","shasum":"b6bf640d26e77ccba2f90c47134bd3b6a34f9709","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.3.tgz","fileCount":19,"unpackedSize":87533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblp/bCRA9TVsSAnZWagAAneIP/RhHf2AQg8VwZWI34TlP\nAj6JW4nY7XT9+qste62rgXmc/7q5KVt9ZUN21jS8yHnyEuJZFXUxLahmJz1S\nZMrzWkeECYIdlt4xucwKzK22LXoCR7utHk2dz1noV+ryHQ7JN3Z+Y0DpDg+9\naw7DuG2QVLwItRLc3IhJ+PlgqpJmbSErZMCK2O2rpt1OftVa6MaMS28uPAyj\norxVy+TTS75ndGlnKJGu1QWaIMMT1KZ867eO/CePR24pqcpr72sZuLKUfo7c\nOfD0OMtdzXJ3jVDH7JIjuKG2pLyRBS77t0lhQSotq3dc6K3qIEglzBTTYTmV\nueyxWrhNoDcCHF3VdwPli7MJ8I2Yt7zNFoQod5z8DE1VUlSvQDr6W/MpwNSw\nrtbGN8s3bmtU2TrAHnoFohTMkAF+8dofqtBg9mdAcZel91EBHKjpVKoCdkQ/\nlDg9YzfIAXRS3GgzJ1Z3ki8OBsj5HbD2x6mF0QvBioqMmAz4s71uGytY52l+\n03zgoB0jFrtlf39z5hL7d8RL0c8HHC+YJLl2ryMFOuLhxyAgFLgfYd4uBTX2\nlGN7tin2pbieAcomwnDekjf9oGMq9+vxj9JBpEbovyGAXlLoDSEBqb4ZEP0d\nMq1xzrcn5eRn+wj2GrOB8TCYhbzu3+/yZzUBJRpZSHFiruXnsnpceJOQGkRt\nxP+x\r\n=ek2z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFJvL7vZjBLPNizwWcALgWA26HUWWu6yQuq1Xi2GGZWXAiBfpNxaYB6cZAmvpXX/bXxb5jZyefqDuTpAupgOHFrYfA=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.3_1536597978655_0.9022864073272949"},"_hasShrinkwrap":false},"6.4.4-fix-build-on-xcode-10.1-2aa07699347d811be9525fa8b30d1f2bdaf7db2d":{"name":"drivelist","version":"6.4.4-fix-build-on-xcode-10.1-2aa07699347d811be9525fa8b30d1f2bdaf7db2d","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nThe `drivelist` core consists of a set of scripts built with technologies that\nare available by default on the target operating systems (like Bash, VBScript,\netc). Each of these scripts attempts to get information about the available\ndrives (and metadata related to them), using any methods the target platform\nprovides, like a combination of `diskutil`, `/proc/mounts`, etc. You can find\nthese scripts in the `scripts/` directory.\n\nThe scripts are then expected to print to `stdout` all the drive information\nthey have gathered in a predefined way, based on the [YAML][yaml] language. The\nscripts are expected to output a set of blocks (separated by blank lines), each\nrepresenting a drive with a set of key/value pairs. The exact keys that we\nexpect are constantly changing while we keep improving this module, but you can\nsee what the currently expected keys are by running the platform script that\ncorresponds to your operating system.\n\nThis is how the raw output looks on my MacBook Pro at the time of this writing:\n\n```sh\n$ ./scripts/darwin.sh\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk0\nraw: /dev/rdisk0\ndescription: \"APPLE SSD TS128E\"\nerror: null\nsize: 121332826112\nblockSize: null\nlogicalBlockSize: null\nmountpoints: []\nisReadOnly: False\nisSystem: True\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk2\nraw: /dev/rdisk2\ndescription: \"SD Card Reader\"\nerror: null\nsize: 31104958464\nblockSize: null\nlogicalBlockSize: null\nmountpoints:\n  - path: \"/Volumes/Patchwork\"\nisReadOnly: False\nisSystem: False\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n```\n\nBecause of the simplicity of this module's design, supporting a new operating\nsystem simply means adding a new script to `scripts/` that gathers drive data\nand outputs something similar to the above example. The challenge with this is\nthat we must ensure all the platform scripts print consistent output.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client, and executes the corresponding drive scanning script as a\nchild process. It then parses the [YAML][yaml] output of the script as an array\nof objects, and returns that to the user.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[{\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk0',\n  raw: '/dev/rdisk0',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 121332826112,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk1',\n  raw: '/dev/rdisk1',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 120473067520,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/' },\n    { path: '/private/var/vm' }\n  ],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk2',\n  raw: '/dev/rdisk2',\n  description: 'SD Card Reader',\n  error: null,\n  size: 31104958464,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/Volumes/Patchwork' }\n  ],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n\n```\n\n***\n\nGNU/Linux\n\n```sh\n[{\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sdb',\n  raw: '/dev/sdb',\n  description: 'Storage Device',\n  error: null,\n  size: 31914983424,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/media/jonas/Etcher 1.2.0'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sda',\n  raw: '/dev/sda',\n  description: 'Samsung SSD 850',\n  error: null,\n  size: 120034123776,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/'\n  }, {\n    path: '/boot/efi'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n```\n\n***\n\nWindows\n\n```sh\n[{\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_wdc&prod_wd1600bevs-07rst#4&5a60d67&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive0',\n  description: 'WDC WD1600BEVS-07RST0',\n  error: null,\n  size: 160041885696,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'D:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SD',\n  busType: 'SD',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\sd#disk&generic&sc16g&8.0#5&c518b2e&0&c3964099&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive4',\n  description: 'Generic SC16G SD Card',\n  error: null,\n  size: 15931539456,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'G:\\\\'\n  }, {\n    path: 'H:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: true,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SCSI',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_usb3.0&prod_#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive2',\n  description: 'USB3.0  SCSI Disk Device',\n  error: null,\n  size: 500107862016,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'E:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: true\n}, {\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_samsung&prod_ssd_850_evo_m.2#4&5a60d67&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive1',\n  description: 'Samsung SSD 850 EVO M.2 120GB',\n  error: null,\n  size: 120034123776,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'C:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'USBSTOR',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\usbstor#disk&ven_disk&prod_name&rev_ax10#0012345667888&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive3',\n  description: 'Disk Name USB Device',\n  error: null,\n  size: 1000204886016,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'F:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: false,\n  isUSB: true,\n  isUAS: false\n}]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback)\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nExecute the following command after making any changes to the platform scripts:\n\n```sh\nnpm run compile-scripts\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"2aa07699347d811be9525fa8b30d1f2bdaf7db2d","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.4-fix-build-on-xcode-10.1-2aa07699347d811be9525fa8b30d1f2bdaf7db2d","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-3dSHu5lFgUH+nusTy7bXDmy+tXw2wEofFl0fyK5bOsawW0fP4yE3okeDEY5dHScG5fya+LfuIow0zsDiQIAJ0w==","shasum":"f6ecac0ef8a40c0bb9652d688f23ea795b915f37","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.4-fix-build-on-xcode-10.1-2aa07699347d811be9525fa8b30d1f2bdaf7db2d.tgz","fileCount":19,"unpackedSize":87873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN19wCRA9TVsSAnZWagAAEJUP/27BFpxEnhhScuq0q3xf\nWjSEoL2NsqSmGZWHmoSXBrGtYA8L2sKsjgTF+X2e7WIH2zLlUDXiBC1ROzjX\ncxcoxjSEu6UKOUip939CpFXeyIqdmNqp4rxo9jfTTXiCmIwtPnzA22WCOKRw\nn/AI2hT74GBjWdSY8t/LlU+0lc+9hw7Rry4e0Ej/iia5K+vRH8PFhtah2HsP\n1Ce+4Xf9cVIG2hVgsMWcga3d4hvl69RnAX5XxDp7yVnGVEhXcdO4msjnfyPC\nqN3yZMlz+KxiuW/UgHhS/CFRsNkPF2UZSYn1Q0MoWG3s8SXhqTL1MKIiijTp\nSG2S7Hce1bG1FSOf66VRcXJ+ddIpLLZrOrYGEx+sIs5yVYOe5KZ3ai2YwSML\nPcM74XWzLrR3lsl6xJalXX6rjd+SaOYNFdtqhco7uHgWcAVz6EP7xM/OFxH/\npWZ8nv/FYCxkOIxPJVHok0nOzTCFEN5RvydYRLS+67cPSFe24L2R/knZsR3h\nlb3tEvn74Zl5LYo0UIxEm3wrWhO9qdn3cjGY1dnGv94srgb/70iIKDqar0o/\nMnoLf0pngv1AGfjrkgulclV8u0ytIytn2xJ7Qb80HcjG/WKQZhC/0st+NhwT\nUvelaovbcjejyYOkM67gIZKhwBVkAOHEgPZsbg/o8GOPumreU0oX+7O0dpW+\nNSAa\r\n=kXIE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDP14v4jiYpUtArATawAQf3U3Hen+4uOdiTaZiXVz6JxAIgcPn8XMTUeViKuUhO4QT+iAhZzD3cWixcpxx9EvyTWg4="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.4-fix-build-on-xcode-10.1-2aa07699347d811be9525fa8b30d1f2bdaf7db2d_1547132783266_0.40722879461214356"},"_hasShrinkwrap":false},"6.4.4":{"name":"drivelist","version":"6.4.4","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"fe9fec9e30f8cae404abe200b9ccd5d5b955405e","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.4","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-R3AXXc+uo2v7QbfyB4Er98yS5dEGsYjqMbecQufyOibp9NIoURJvc3ENNdlofwAkqiqR3d6GlU/CEo546Nu0Fw==","shasum":"562301bd2c7326603706c614fbff92768c85a5ed","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.4.tgz","fileCount":19,"unpackedSize":87808,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN2WcCRA9TVsSAnZWagAAm9kQAJ07tNvlHV8mI8kBv03g\nvjoMn7Q7/Zcn0gCcrxFFR+trUhlr3lA2QXyY1xGv8QsXvizMn+WC6kloHLmk\n8I27IWaf/vLiWDBerS53pEjfeEZED/xUIVAdVqnd7oHxAYIaKCHwFqZw43Xp\nQhaV5Za6pZUR//eVA891hEV0Q5TxS+1A6DBo/EwYakwXiwUrLRhz7bokpyOC\nRdaWY/PB8z8aesz8z/7BY7xJMP5srZChsgXiY5FvvSMfWt5fLrKAqHc0h3Yq\nL3toerEgMTtYnFTvn63j5OHaOivBpX9zMwoe0bgNL6vAoAw3JQ4rHahk14LY\nV/7rI19G5QXlDM6EaNd3T54rjFz6J1CFqh3DeTQpeGq1Cz0YfN5PlTT8hihF\nMq4YrjpZKTHG9xP4hEUIvAz7ci+VTN95HMZaEbx2mcQKKyPj+jrJLj1GNXVP\nSieBpheRSZTZCGF4ljQSWLybvWIqnjS5PA5HDuQ06Jn2VPOE1g+znrJU2irm\nA2vBu++QsMoEDD6iKMXC1y3HzDWwklybcxivaINPL4PQMgOtYlYSVhP8tnnL\n8ciuvnwKlu5NGs0K3dwM0XcdIBICCC4aALetSRPvfq7katgjo0aOwcoHlppu\n4F3Zyt/GV+hZBhOj96qTjLt7TknoAYLpcEm9mT6JAw4Zg2uSuy8PVwsssA3/\nZaBR\r\n=uppR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAxNZkX6TmxdzfWP1JxxhJrj7X7GjZkSpgs9kv8ufytmAiEAo3Qzos8i/DWWDDP3732Spk9OjYYfHI98RBvyf8VFFrw="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.4_1547134363556_0.9503704258638979"},"_hasShrinkwrap":false},"6.4.5-fix-lsblk-pairs-875fa709e08e5f0dce35ff133b4ac6414f565671":{"name":"drivelist","version":"6.4.5-fix-lsblk-pairs-875fa709e08e5f0dce35ff133b4ac6414f565671","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nThe `drivelist` core consists of a set of scripts built with technologies that\nare available by default on the target operating systems (like Bash, VBScript,\netc). Each of these scripts attempts to get information about the available\ndrives (and metadata related to them), using any methods the target platform\nprovides, like a combination of `diskutil`, `/proc/mounts`, etc. You can find\nthese scripts in the `scripts/` directory.\n\nThe scripts are then expected to print to `stdout` all the drive information\nthey have gathered in a predefined way, based on the [YAML][yaml] language. The\nscripts are expected to output a set of blocks (separated by blank lines), each\nrepresenting a drive with a set of key/value pairs. The exact keys that we\nexpect are constantly changing while we keep improving this module, but you can\nsee what the currently expected keys are by running the platform script that\ncorresponds to your operating system.\n\nThis is how the raw output looks on my MacBook Pro at the time of this writing:\n\n```sh\n$ ./scripts/darwin.sh\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk0\nraw: /dev/rdisk0\ndescription: \"APPLE SSD TS128E\"\nerror: null\nsize: 121332826112\nblockSize: null\nlogicalBlockSize: null\nmountpoints: []\nisReadOnly: False\nisSystem: True\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk2\nraw: /dev/rdisk2\ndescription: \"SD Card Reader\"\nerror: null\nsize: 31104958464\nblockSize: null\nlogicalBlockSize: null\nmountpoints:\n  - path: \"/Volumes/Patchwork\"\nisReadOnly: False\nisSystem: False\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n```\n\nBecause of the simplicity of this module's design, supporting a new operating\nsystem simply means adding a new script to `scripts/` that gathers drive data\nand outputs something similar to the above example. The challenge with this is\nthat we must ensure all the platform scripts print consistent output.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client, and executes the corresponding drive scanning script as a\nchild process. It then parses the [YAML][yaml] output of the script as an array\nof objects, and returns that to the user.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[{\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk0',\n  raw: '/dev/rdisk0',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 121332826112,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk1',\n  raw: '/dev/rdisk1',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 120473067520,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/' },\n    { path: '/private/var/vm' }\n  ],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk2',\n  raw: '/dev/rdisk2',\n  description: 'SD Card Reader',\n  error: null,\n  size: 31104958464,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/Volumes/Patchwork' }\n  ],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n\n```\n\n***\n\nGNU/Linux\n\n```sh\n[{\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sdb',\n  raw: '/dev/sdb',\n  description: 'Storage Device',\n  error: null,\n  size: 31914983424,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/media/jonas/Etcher 1.2.0'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sda',\n  raw: '/dev/sda',\n  description: 'Samsung SSD 850',\n  error: null,\n  size: 120034123776,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/'\n  }, {\n    path: '/boot/efi'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n```\n\n***\n\nWindows\n\n```sh\n[{\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_wdc&prod_wd1600bevs-07rst#4&5a60d67&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive0',\n  description: 'WDC WD1600BEVS-07RST0',\n  error: null,\n  size: 160041885696,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'D:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SD',\n  busType: 'SD',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\sd#disk&generic&sc16g&8.0#5&c518b2e&0&c3964099&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive4',\n  description: 'Generic SC16G SD Card',\n  error: null,\n  size: 15931539456,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'G:\\\\'\n  }, {\n    path: 'H:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: true,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SCSI',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_usb3.0&prod_#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive2',\n  description: 'USB3.0  SCSI Disk Device',\n  error: null,\n  size: 500107862016,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'E:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: true\n}, {\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_samsung&prod_ssd_850_evo_m.2#4&5a60d67&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive1',\n  description: 'Samsung SSD 850 EVO M.2 120GB',\n  error: null,\n  size: 120034123776,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'C:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'USBSTOR',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\usbstor#disk&ven_disk&prod_name&rev_ax10#0012345667888&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive3',\n  description: 'Disk Name USB Device',\n  error: null,\n  size: 1000204886016,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'F:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: false,\n  isUSB: true,\n  isUAS: false\n}]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback)\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nExecute the following command after making any changes to the platform scripts:\n\n```sh\nnpm run compile-scripts\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"875fa709e08e5f0dce35ff133b4ac6414f565671","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.5-fix-lsblk-pairs-875fa709e08e5f0dce35ff133b4ac6414f565671","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-l9QpscqsYEIHwlojBjHfWCxBcArrtMab0w+JvU1ZFEHtx6mGGMNQZeJt1rHQOPOvbIa+oOJB0kEJi6tcKIc7ag==","shasum":"102f0701076eb4cfb548cca3bdaf400221c79a84","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.5-fix-lsblk-pairs-875fa709e08e5f0dce35ff133b4ac6414f565671.tgz","fileCount":19,"unpackedSize":87827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN3AeCRA9TVsSAnZWagAAdeUP/0MeLaUU8fLaS+pErHbz\nuU9GPHqpoj2qfg5DumTt1LZMBKBAtZ9tC8tnIOpWKdrUlyoskQi5KYEzZLNU\n3m+QXwFmiZ4buz0CxabTYebzXcv6Nwyb528f+oJxBgzt0eSk6PvmlI3tf9yi\nV6bH5kCGqTdBp/ixl+lYscmI76E/c+UJVWNqkwgNyVN8eqzegZweGxirlB+V\nSTb1rzPD3gIixh1DAQ0YjkCcjsemx/dBpmOGu0Ww1hh+ZVNGN9R0uongO5/O\nCz02otZeL8NfLjKDqbo9ml1vAohKHhuPfGpuQ4jHvYCS3Zy1IK59YikJBZ9r\nbZELFzQqW9jqgRyBWsqO27CsavzBDnJikkUala8a/zMw4d/XWVQ59HB/xDUK\nSTqIHbbPRoCPqe2AjlxjjSUqoT2Ch2+K62Xy/dn/UHkhPy/3JlN8ana0Crd4\nXevCry4C6MHc252a1K9cHw660EqbtlMS4CA79OIPWU7XtPNJRCFkbyZqEGYD\nuj2jDxYNKhbihJC7Vml+yMUYj/XketMdnEX5XjHgELWjXlcaer5/tUYkO8cZ\nn8MdohMa+BuL8Rr+bsAQoI3fFsCusImvZofHCAb1fvuAmUdAxcBOSZUVtRJB\nt92UoHOahQ6ZLqbDTGCyvS8bp86qbYdnyer+5qZNX7Y+C79IQddh4plMLl+P\nvUAm\r\n=dZcH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsJMkdWIsMDqUkMtjRO8cHo8etTUzVno/OCSKmeXnbDAIgeRTA1Ix4Hq5JvrZQZpI9KhT6BGwZ3P7cXBmuRS40jNk="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.5-fix-lsblk-pairs-875fa709e08e5f0dce35ff133b4ac6414f565671_1547137053380_0.9765202709972616"},"_hasShrinkwrap":false},"6.4.5-fix-lsblk-pairs-cc5518a46399f731ea449b83639a0216e73fc547":{"name":"drivelist","version":"6.4.5-fix-lsblk-pairs-cc5518a46399f731ea449b83639a0216e73fc547","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nThe `drivelist` core consists of a set of scripts built with technologies that\nare available by default on the target operating systems (like Bash, VBScript,\netc). Each of these scripts attempts to get information about the available\ndrives (and metadata related to them), using any methods the target platform\nprovides, like a combination of `diskutil`, `/proc/mounts`, etc. You can find\nthese scripts in the `scripts/` directory.\n\nThe scripts are then expected to print to `stdout` all the drive information\nthey have gathered in a predefined way, based on the [YAML][yaml] language. The\nscripts are expected to output a set of blocks (separated by blank lines), each\nrepresenting a drive with a set of key/value pairs. The exact keys that we\nexpect are constantly changing while we keep improving this module, but you can\nsee what the currently expected keys are by running the platform script that\ncorresponds to your operating system.\n\nThis is how the raw output looks on my MacBook Pro at the time of this writing:\n\n```sh\n$ ./scripts/darwin.sh\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk0\nraw: /dev/rdisk0\ndescription: \"APPLE SSD TS128E\"\nerror: null\nsize: 121332826112\nblockSize: null\nlogicalBlockSize: null\nmountpoints: []\nisReadOnly: False\nisSystem: True\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk2\nraw: /dev/rdisk2\ndescription: \"SD Card Reader\"\nerror: null\nsize: 31104958464\nblockSize: null\nlogicalBlockSize: null\nmountpoints:\n  - path: \"/Volumes/Patchwork\"\nisReadOnly: False\nisSystem: False\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n```\n\nBecause of the simplicity of this module's design, supporting a new operating\nsystem simply means adding a new script to `scripts/` that gathers drive data\nand outputs something similar to the above example. The challenge with this is\nthat we must ensure all the platform scripts print consistent output.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client, and executes the corresponding drive scanning script as a\nchild process. It then parses the [YAML][yaml] output of the script as an array\nof objects, and returns that to the user.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[{\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk0',\n  raw: '/dev/rdisk0',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 121332826112,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk1',\n  raw: '/dev/rdisk1',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 120473067520,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/' },\n    { path: '/private/var/vm' }\n  ],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk2',\n  raw: '/dev/rdisk2',\n  description: 'SD Card Reader',\n  error: null,\n  size: 31104958464,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/Volumes/Patchwork' }\n  ],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n\n```\n\n***\n\nGNU/Linux\n\n```sh\n[{\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sdb',\n  raw: '/dev/sdb',\n  description: 'Storage Device',\n  error: null,\n  size: 31914983424,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/media/jonas/Etcher 1.2.0'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sda',\n  raw: '/dev/sda',\n  description: 'Samsung SSD 850',\n  error: null,\n  size: 120034123776,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/'\n  }, {\n    path: '/boot/efi'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n```\n\n***\n\nWindows\n\n```sh\n[{\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_wdc&prod_wd1600bevs-07rst#4&5a60d67&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive0',\n  description: 'WDC WD1600BEVS-07RST0',\n  error: null,\n  size: 160041885696,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'D:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SD',\n  busType: 'SD',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\sd#disk&generic&sc16g&8.0#5&c518b2e&0&c3964099&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive4',\n  description: 'Generic SC16G SD Card',\n  error: null,\n  size: 15931539456,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'G:\\\\'\n  }, {\n    path: 'H:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: true,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SCSI',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_usb3.0&prod_#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive2',\n  description: 'USB3.0  SCSI Disk Device',\n  error: null,\n  size: 500107862016,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'E:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: true\n}, {\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_samsung&prod_ssd_850_evo_m.2#4&5a60d67&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive1',\n  description: 'Samsung SSD 850 EVO M.2 120GB',\n  error: null,\n  size: 120034123776,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'C:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'USBSTOR',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\usbstor#disk&ven_disk&prod_name&rev_ax10#0012345667888&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive3',\n  description: 'Disk Name USB Device',\n  error: null,\n  size: 1000204886016,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'F:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: false,\n  isUSB: true,\n  isUAS: false\n}]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback)\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nExecute the following command after making any changes to the platform scripts:\n\n```sh\nnpm run compile-scripts\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"cc5518a46399f731ea449b83639a0216e73fc547","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.5-fix-lsblk-pairs-cc5518a46399f731ea449b83639a0216e73fc547","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-lKhxkJQXsEyA3GD1Koh++A4UYYvsOWQNDjL16HP0ivW2WnjEN3FyNSrFSoLaKlQBHxZ32UWtJ5FkMTI1PaMbpw==","shasum":"7a1b6aadb36cca54c8d7a5cd4076bf9b9da51dbe","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.5-fix-lsblk-pairs-cc5518a46399f731ea449b83639a0216e73fc547.tgz","fileCount":19,"unpackedSize":87896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN3uDCRA9TVsSAnZWagAAHREP/1WgQtyk3r+uTVfL/KOH\nJ/YYLoJS7lWKd/ztp4i8XARxL5Duge8mRVioCoH6QRxFDuZqxgMgXsPyVMed\n3L9zIHwIqp1SaQZlJb3UGmihbP6/AFX4yQxk9KOH62BZjSUFDFl0wXwBNxPI\nv+yJigtH1oNWYyU6cRnAOSvmYoKeoleNFUca5OxG9/CwHb8EA2X2haT8n//c\nh8PiGEz3HXCmh4cdBf/fNRc93LzHvnpmFQVFNeT+Clp/1KLuDFZ2VdFj+XS+\nwcuRL00HuiXf62DEPlp7GjjJAQz61mDu4emtdrtcxCSqr0Bo0fhSJ6wTYcu7\n0UPvITNbS7s+x8041o0OfG//0+Qs8qzA/xbBVADJIjZbEoFs06lLb8WSxz0G\nn/y2Kti7yAVTjCwqqcxKLYGorz8esCMU6ijsRGKIigl+M+tkr/t5PMfcMo0v\nOlXwwCtZRHZl7+RDcmbXGiHsVpgRxJQePwsUv1avHt5l8SxmPU22ACt5/ICZ\nKiI4EYlSYJNrTS3XN1pM7YgxG3oNSupW8lscZrcy4PxO2tybrRtW0VYjhDci\nMV3igHcquGVdHtv+7hlEAQCMTjm6cYe3mGbwbdYbfNPsxZFSOJS4UbwXJ71Y\ntnytn+rwbJva+ZANHLv/xdWXsLe1M6Jhiw+QC5K6cD6Xf9hzA1PigQP0AecT\nNe2a\r\n=DDJ8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbrPDYxItxkiQeqIjQhA3T5ysWUcHXffcOAxRlaDRgygIgQhchX+66tdxPL4IG5l2g4B+XwP+nK68STaLqCCsNYfg="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.5-fix-lsblk-pairs-cc5518a46399f731ea449b83639a0216e73fc547_1547139971325_0.30351022869987787"},"_hasShrinkwrap":false},"6.4.5-fix-tests-a6f418cac51a839843a80291a44c6658a93b3266":{"name":"drivelist","version":"6.4.5-fix-tests-a6f418cac51a839843a80291a44c6658a93b3266","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nThe `drivelist` core consists of a set of scripts built with technologies that\nare available by default on the target operating systems (like Bash, VBScript,\netc). Each of these scripts attempts to get information about the available\ndrives (and metadata related to them), using any methods the target platform\nprovides, like a combination of `diskutil`, `/proc/mounts`, etc. You can find\nthese scripts in the `scripts/` directory.\n\nThe scripts are then expected to print to `stdout` all the drive information\nthey have gathered in a predefined way, based on the [YAML][yaml] language. The\nscripts are expected to output a set of blocks (separated by blank lines), each\nrepresenting a drive with a set of key/value pairs. The exact keys that we\nexpect are constantly changing while we keep improving this module, but you can\nsee what the currently expected keys are by running the platform script that\ncorresponds to your operating system.\n\nThis is how the raw output looks on my MacBook Pro at the time of this writing:\n\n```sh\n$ ./scripts/darwin.sh\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk0\nraw: /dev/rdisk0\ndescription: \"APPLE SSD TS128E\"\nerror: null\nsize: 121332826112\nblockSize: null\nlogicalBlockSize: null\nmountpoints: []\nisReadOnly: False\nisSystem: True\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk2\nraw: /dev/rdisk2\ndescription: \"SD Card Reader\"\nerror: null\nsize: 31104958464\nblockSize: null\nlogicalBlockSize: null\nmountpoints:\n  - path: \"/Volumes/Patchwork\"\nisReadOnly: False\nisSystem: False\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n```\n\nBecause of the simplicity of this module's design, supporting a new operating\nsystem simply means adding a new script to `scripts/` that gathers drive data\nand outputs something similar to the above example. The challenge with this is\nthat we must ensure all the platform scripts print consistent output.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client, and executes the corresponding drive scanning script as a\nchild process. It then parses the [YAML][yaml] output of the script as an array\nof objects, and returns that to the user.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[{\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk0',\n  raw: '/dev/rdisk0',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 121332826112,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk1',\n  raw: '/dev/rdisk1',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 120473067520,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/' },\n    { path: '/private/var/vm' }\n  ],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk2',\n  raw: '/dev/rdisk2',\n  description: 'SD Card Reader',\n  error: null,\n  size: 31104958464,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/Volumes/Patchwork' }\n  ],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n\n```\n\n***\n\nGNU/Linux\n\n```sh\n[{\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sdb',\n  raw: '/dev/sdb',\n  description: 'Storage Device',\n  error: null,\n  size: 31914983424,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/media/jonas/Etcher 1.2.0'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sda',\n  raw: '/dev/sda',\n  description: 'Samsung SSD 850',\n  error: null,\n  size: 120034123776,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/'\n  }, {\n    path: '/boot/efi'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n```\n\n***\n\nWindows\n\n```sh\n[{\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_wdc&prod_wd1600bevs-07rst#4&5a60d67&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive0',\n  description: 'WDC WD1600BEVS-07RST0',\n  error: null,\n  size: 160041885696,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'D:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SD',\n  busType: 'SD',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\sd#disk&generic&sc16g&8.0#5&c518b2e&0&c3964099&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive4',\n  description: 'Generic SC16G SD Card',\n  error: null,\n  size: 15931539456,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'G:\\\\'\n  }, {\n    path: 'H:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: true,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SCSI',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_usb3.0&prod_#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive2',\n  description: 'USB3.0  SCSI Disk Device',\n  error: null,\n  size: 500107862016,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'E:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: true\n}, {\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_samsung&prod_ssd_850_evo_m.2#4&5a60d67&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive1',\n  description: 'Samsung SSD 850 EVO M.2 120GB',\n  error: null,\n  size: 120034123776,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'C:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'USBSTOR',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\usbstor#disk&ven_disk&prod_name&rev_ax10#0012345667888&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive3',\n  description: 'Disk Name USB Device',\n  error: null,\n  size: 1000204886016,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'F:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: false,\n  isUSB: true,\n  isUAS: false\n}]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback)\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nExecute the following command after making any changes to the platform scripts:\n\n```sh\nnpm run compile-scripts\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"a6f418cac51a839843a80291a44c6658a93b3266","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.5-fix-tests-a6f418cac51a839843a80291a44c6658a93b3266","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-H8IGHfWrQq9iN2p4MwI+tZcxORFf1kktX8wPp6O7Vgh7yF1RTX6WmfKNny/Zr9n9nCGjQyokSfhZ2ueIgkG2ww==","shasum":"c7f6260f064d55437b23dd0b172b3ed7b7217c49","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.5-fix-tests-a6f418cac51a839843a80291a44c6658a93b3266.tgz","fileCount":19,"unpackedSize":88038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN4pJCRA9TVsSAnZWagAAWsgP+QFNVOStFbxHyUFWqM4o\nx+a6ZOm6nwyPNflDYLEL7ldEDZv1Ogx7/kT/ksT47NUILadc52otiRF9g7Pc\n/g34snc1YH5IW3rnTD5IBKosB0YoheubeCgY6pIv1D+R7X+eMbY+GlT3H5zo\n7c9pqCPxnGPVXERswqgCM8HNKTt06RntQEVmdfn5Ms5jbMwdkGKT/ifx5Rs1\niRfAZE7RIAsEq5QhD3emzR/sYH1cN4haMXsNgmwzNQAjsqfPqIY0J+aN0CN3\ncG4U/kceyZWWxtk4QLONiqWOJ+KiEAzz+BP+ld+WFMdZfonEMQFeCXhwlBB6\nN2RnBfHApLex9afuwyXW1m53SwPwYPJSeYJKHTa5E/40Xm5VcxlCnpT5UDdd\njbjHlEkFiLAqre6RDjdVszDaGzzXHBBb3UeU4ZaxsYwcvykoQH5Apc3IEte7\nUlb0h++KBeslijCSjOiuwPfo5wA3IC9b2RUaMCTDvhcJy3sbMNW3+d47U7qo\nwgkUzI4ZMVqULmVkzAMIjw89MpwnO4W+c0guxMYj/8alGalDLjGzaol+cnbr\ny9MR1K8UhZrBwDeZ/dHRy+aRxkDlg9gSXyf272C7BhTIIHT+nweni5viRs4k\n2ZQe1zDaN4yT+XqO2oVK5IWRTkzun1fwQqlaDYrmpAMMI873cnW00FB0uZd9\nO6ME\r\n=u4Sh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF88pUrdn2O+6f6JEyuc6MyBlGVYuH/vJSdDczH3/mP+AiBnxDnWDfuq18qiEtfsWX9QRVgcjaDEUfZvtTriFcriPg=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.5-fix-tests-a6f418cac51a839843a80291a44c6658a93b3266_1547143752522_0.4523885859217549"},"_hasShrinkwrap":false},"6.4.5":{"name":"drivelist","version":"6.4.5","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"c29139815502532116ffe95825dec5465c13fea9","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.5","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-w+xCngoTUYMn4yhs21Xhn54oeswDrWkKzXnsC2mFdRczqmLNtCHiwSGM5VhsKT7nbx0EkMSAuqFjHCW0q7PeRA==","shasum":"3b8e3cf5d46e77427a7fe7a5028527257aec0bc7","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.5.tgz","fileCount":19,"unpackedSize":87987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN4uxCRA9TVsSAnZWagAA7OAP/23LVAgvMGJC6cET8/UF\nNoVmj6ZtYC39Y/0gCmK97ozjpt37sfaDdFk8SMFv6mqGZwP52LAPbGIjh+Ze\nbXUT4OnWUwMaCm5m2yNqAbjSjnGQVrqNq8GwQ2ReMMOuNO4qFA7VdW6ky0cB\nns7ElGmvJh0Seh2+g5Ec7eQ6AP3x+Auf9+UtER7PrpMyR2GcYOvTOh8GfgRE\noNW4VrnLERgLgE+cpvicyIwgUZwCdjnvoSvmtION4f/BqaCwd+sjKgC2lzAL\nIKWkarEwVdaw52pgF4nLflbPiobKt44L7mTZ6jIlmo2P3EPdKF+EGt2RtzZt\nMkOpSnI/eYd6mmE26XLUeWYEU/DtUQIHNWS+3Mxb+1ZeL2hhuod8PhlV6twX\nER7vPqlqJifd/W4z1+I4t8UxYNlYdapjQkYMuj9CVs9pAjIR3UxJ4VVcA2y3\n4N1d6/ILoqYk7c9BRCV+s23JE9+MnZu+cOk9iwiNi7+hWIkrlYAAoRoOi+qZ\n7PI4mSd4M/uFeOmQHAS+4mkDmfIAjDfjLEsjfGITjZljsM3/3+LwQRAD+6Gd\niEUin56ehk9f3UE8+GEw8csNGrdAdG/2+MODRgRdED1PW2g6dz5gVCuGgXFR\nHvt4JK8jgANGpDmXyEuiEJVLcmmQKJmKQpewEFgX7EDcjarSwJbBJ8uMaeVA\nnRuY\r\n=dh4k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAPJ/Zu2YEKFpgJ+BaK50TgiOa+Cpj89WH/Iiux081q3AiB7E1KruRNMhxOf7/FFQSPNaHV/403rZsMgYxB8Vt4JvQ=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.5_1547144112448_0.8255941276989258"},"_hasShrinkwrap":false},"6.4.5-fix-lsblk-pairs-e73bcef4e07189f994c0f5af27f78bb3d5a7d5a4":{"name":"drivelist","version":"6.4.5-fix-lsblk-pairs-e73bcef4e07189f994c0f5af27f78bb3d5a7d5a4","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nThe `drivelist` core consists of a set of scripts built with technologies that\nare available by default on the target operating systems (like Bash, VBScript,\netc). Each of these scripts attempts to get information about the available\ndrives (and metadata related to them), using any methods the target platform\nprovides, like a combination of `diskutil`, `/proc/mounts`, etc. You can find\nthese scripts in the `scripts/` directory.\n\nThe scripts are then expected to print to `stdout` all the drive information\nthey have gathered in a predefined way, based on the [YAML][yaml] language. The\nscripts are expected to output a set of blocks (separated by blank lines), each\nrepresenting a drive with a set of key/value pairs. The exact keys that we\nexpect are constantly changing while we keep improving this module, but you can\nsee what the currently expected keys are by running the platform script that\ncorresponds to your operating system.\n\nThis is how the raw output looks on my MacBook Pro at the time of this writing:\n\n```sh\n$ ./scripts/darwin.sh\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk0\nraw: /dev/rdisk0\ndescription: \"APPLE SSD TS128E\"\nerror: null\nsize: 121332826112\nblockSize: null\nlogicalBlockSize: null\nmountpoints: []\nisReadOnly: False\nisSystem: True\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk2\nraw: /dev/rdisk2\ndescription: \"SD Card Reader\"\nerror: null\nsize: 31104958464\nblockSize: null\nlogicalBlockSize: null\nmountpoints:\n  - path: \"/Volumes/Patchwork\"\nisReadOnly: False\nisSystem: False\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n```\n\nBecause of the simplicity of this module's design, supporting a new operating\nsystem simply means adding a new script to `scripts/` that gathers drive data\nand outputs something similar to the above example. The challenge with this is\nthat we must ensure all the platform scripts print consistent output.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client, and executes the corresponding drive scanning script as a\nchild process. It then parses the [YAML][yaml] output of the script as an array\nof objects, and returns that to the user.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[{\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk0',\n  raw: '/dev/rdisk0',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 121332826112,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk1',\n  raw: '/dev/rdisk1',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 120473067520,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/' },\n    { path: '/private/var/vm' }\n  ],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk2',\n  raw: '/dev/rdisk2',\n  description: 'SD Card Reader',\n  error: null,\n  size: 31104958464,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/Volumes/Patchwork' }\n  ],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n\n```\n\n***\n\nGNU/Linux\n\n```sh\n[{\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sdb',\n  raw: '/dev/sdb',\n  description: 'Storage Device',\n  error: null,\n  size: 31914983424,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/media/jonas/Etcher 1.2.0'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sda',\n  raw: '/dev/sda',\n  description: 'Samsung SSD 850',\n  error: null,\n  size: 120034123776,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/'\n  }, {\n    path: '/boot/efi'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n```\n\n***\n\nWindows\n\n```sh\n[{\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_wdc&prod_wd1600bevs-07rst#4&5a60d67&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive0',\n  description: 'WDC WD1600BEVS-07RST0',\n  error: null,\n  size: 160041885696,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'D:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SD',\n  busType: 'SD',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\sd#disk&generic&sc16g&8.0#5&c518b2e&0&c3964099&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive4',\n  description: 'Generic SC16G SD Card',\n  error: null,\n  size: 15931539456,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'G:\\\\'\n  }, {\n    path: 'H:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: true,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SCSI',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_usb3.0&prod_#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive2',\n  description: 'USB3.0  SCSI Disk Device',\n  error: null,\n  size: 500107862016,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'E:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: true\n}, {\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_samsung&prod_ssd_850_evo_m.2#4&5a60d67&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive1',\n  description: 'Samsung SSD 850 EVO M.2 120GB',\n  error: null,\n  size: 120034123776,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'C:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'USBSTOR',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\usbstor#disk&ven_disk&prod_name&rev_ax10#0012345667888&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive3',\n  description: 'Disk Name USB Device',\n  error: null,\n  size: 1000204886016,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'F:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: false,\n  isUSB: true,\n  isUAS: false\n}]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback)\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nExecute the following command after making any changes to the platform scripts:\n\n```sh\nnpm run compile-scripts\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"e73bcef4e07189f994c0f5af27f78bb3d5a7d5a4","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.5-fix-lsblk-pairs-e73bcef4e07189f994c0f5af27f78bb3d5a7d5a4","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-masCUuccabvF+VuXYjSOvocK/VV5tqVMSrmx9RN9tLopW/JKuNjE8kmlTQTX9JCzm8Xp4BeLVn/lMIHeOxs2sQ==","shasum":"5088252f285041148d082302e06cdad59c6c0917","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.5-fix-lsblk-pairs-e73bcef4e07189f994c0f5af27f78bb3d5a7d5a4.tgz","fileCount":19,"unpackedSize":88048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN42sCRA9TVsSAnZWagAA6hYP/RLkJ1f/IG5IW3DgFDMg\nUPdGy2ydWA/lkW9bUTsuDwyLWzGb3fC+TLBz2pfv37A73GREM3D5cqbbUPv+\nXf7f2lMoEkfC+gsTg0LEaSIDwfoFks2PBM/SgvtIBCh8MpqWyUPxecVVgv+q\n0HlYn3vrZiZIeupKXvAbBYi6nF5YO0vskB3jjdk8L4bPIuZFl0I8uymVyWfR\nddsr7DZsE+dwo/P6vz+coICSbDv/ttotSxsO6EadRXRz2uYLnBtRUAmA6uMA\n7RTfDmNeuysN+zr1mPr5ROP6Nm59U4Yj0ZEn96NWbsEg7GiArY76jP3sfNcn\nrQSRlWqvIKwm9c2/NKpNVKh3Mc24vZxxO4UtZMly06KvbwqNww5m25+C8qzf\nmPjqEkgqai/WmJfbOAwjVq65RqL58+n4wQfXRgAn/nxtE1saadnUk0HrYqEV\nzK7CQRfQqaFRNKVcK0h7cItaNbligwMiyb4Fg/63g8Y3VoitIfAndvsHncY2\n0vpN+579O4UjMAKBhFClRmkLDv7kcqyemZMRgG+iwju6uAAKEsigHfKnG6Ej\nHXYaM9Iy05GO53uJLkDu36q3JkdUSmA1bFEq9oz69ejz87go+q+O+dqNDlU3\nUJ5E0J8vI6PpFYisZB5NwAQxCa+SbHm6F0iOfYY/CDPX23TsldRo2VaRP2tG\nV3JZ\r\n=lR4j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDh2RVjvxuNSk8pvt1wy4NQUfGlF9UcRhcOOKwc9tgGdAIgUJQSpZlmVq1+IrQO7OKDhgRG+8TOP0SoIDX0akulZp4="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.5-fix-lsblk-pairs-e73bcef4e07189f994c0f5af27f78bb3d5a7d5a4_1547144619783_0.3098108377090445"},"_hasShrinkwrap":false},"6.4.6-fix-lsblk-pairs-a4fea20256d82fac52272270c899fab8c04a9d9c":{"name":"drivelist","version":"6.4.6-fix-lsblk-pairs-a4fea20256d82fac52272270c899fab8c04a9d9c","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nThe `drivelist` core consists of a set of scripts built with technologies that\nare available by default on the target operating systems (like Bash, VBScript,\netc). Each of these scripts attempts to get information about the available\ndrives (and metadata related to them), using any methods the target platform\nprovides, like a combination of `diskutil`, `/proc/mounts`, etc. You can find\nthese scripts in the `scripts/` directory.\n\nThe scripts are then expected to print to `stdout` all the drive information\nthey have gathered in a predefined way, based on the [YAML][yaml] language. The\nscripts are expected to output a set of blocks (separated by blank lines), each\nrepresenting a drive with a set of key/value pairs. The exact keys that we\nexpect are constantly changing while we keep improving this module, but you can\nsee what the currently expected keys are by running the platform script that\ncorresponds to your operating system.\n\nThis is how the raw output looks on my MacBook Pro at the time of this writing:\n\n```sh\n$ ./scripts/darwin.sh\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk0\nraw: /dev/rdisk0\ndescription: \"APPLE SSD TS128E\"\nerror: null\nsize: 121332826112\nblockSize: null\nlogicalBlockSize: null\nmountpoints: []\nisReadOnly: False\nisSystem: True\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n\nenumerator: diskutil\nbusType: UNKNOWN\nbusVersion: \"0.0\"\ndevice: /dev/disk2\nraw: /dev/rdisk2\ndescription: \"SD Card Reader\"\nerror: null\nsize: 31104958464\nblockSize: null\nlogicalBlockSize: null\nmountpoints:\n  - path: \"/Volumes/Patchwork\"\nisReadOnly: False\nisSystem: False\nisVirtual: null\nisRemovable: null\nisCard: null\nisSCSI: null\nisUSB: null\nisUAS: null\n```\n\nBecause of the simplicity of this module's design, supporting a new operating\nsystem simply means adding a new script to `scripts/` that gathers drive data\nand outputs something similar to the above example. The challenge with this is\nthat we must ensure all the platform scripts print consistent output.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client, and executes the corresponding drive scanning script as a\nchild process. It then parses the [YAML][yaml] output of the script as an array\nof objects, and returns that to the user.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[{\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk0',\n  raw: '/dev/rdisk0',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 121332826112,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk1',\n  raw: '/dev/rdisk1',\n  description: 'APPLE SSD TS128E',\n  error: null,\n  size: 120473067520,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/' },\n    { path: '/private/var/vm' }\n  ],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'diskutil',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/disk2',\n  raw: '/dev/rdisk2',\n  description: 'SD Card Reader',\n  error: null,\n  size: 31104958464,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [\n    { path: '/Volumes/Patchwork' }\n  ],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n\n```\n\n***\n\nGNU/Linux\n\n```sh\n[{\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sdb',\n  raw: '/dev/sdb',\n  description: 'Storage Device',\n  error: null,\n  size: 31914983424,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/media/jonas/Etcher 1.2.0'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}, {\n  enumerator: 'lsblk',\n  busType: 'UNKNOWN',\n  busVersion: '0.0',\n  device: '/dev/sda',\n  raw: '/dev/sda',\n  description: 'Samsung SSD 850',\n  error: null,\n  size: 120034123776,\n  blockSize: null,\n  logicalBlockSize: null,\n  mountpoints: [{\n    path: '/'\n  }, {\n    path: '/boot/efi'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: null,\n  isRemovable: null,\n  isCard: null,\n  isSCSI: null,\n  isUSB: null,\n  isUAS: null\n}]\n```\n\n***\n\nWindows\n\n```sh\n[{\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_wdc&prod_wd1600bevs-07rst#4&5a60d67&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive0',\n  description: 'WDC WD1600BEVS-07RST0',\n  error: null,\n  size: 160041885696,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'D:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SD',\n  busType: 'SD',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\sd#disk&generic&sc16g&8.0#5&c518b2e&0&c3964099&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive4',\n  description: 'Generic SC16G SD Card',\n  error: null,\n  size: 15931539456,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'G:\\\\'\n  }, {\n    path: 'H:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: true,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'SCSI',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_usb3.0&prod_#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive2',\n  description: 'USB3.0  SCSI Disk Device',\n  error: null,\n  size: 500107862016,\n  blockSize: 4096,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'E:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: true\n}, {\n  enumerator: 'SCSI',\n  busType: 'SATA',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\scsi#disk&ven_samsung&prod_ssd_850_evo_m.2#4&5a60d67&0&020000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive1',\n  description: 'Samsung SSD 850 EVO M.2 120GB',\n  error: null,\n  size: 120034123776,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'C:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: true,\n  isVirtual: false,\n  isRemovable: false,\n  isCard: false,\n  isSCSI: true,\n  isUSB: false,\n  isUAS: false\n}, {\n  enumerator: 'USBSTOR',\n  busType: 'USB',\n  busVersion: '2.0',\n  device: '\\\\\\\\?\\\\usbstor#disk&ven_disk&prod_name&rev_ax10#0012345667888&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',\n  raw: '\\\\\\\\.\\\\PhysicalDrive3',\n  description: 'Disk Name USB Device',\n  error: null,\n  size: 1000204886016,\n  blockSize: 512,\n  logicalBlockSize: 512,\n  mountpoints: [{\n    path: 'F:\\\\'\n  }],\n  isReadOnly: false,\n  isSystem: false,\n  isVirtual: false,\n  isRemovable: true,\n  isCard: false,\n  isSCSI: false,\n  isUSB: true,\n  isUAS: false\n}]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback)\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nExecute the following command after making any changes to the platform scripts:\n\n```sh\nnpm run compile-scripts\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"a4fea20256d82fac52272270c899fab8c04a9d9c","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.6-fix-lsblk-pairs-a4fea20256d82fac52272270c899fab8c04a9d9c","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-Vx5KOwvo4nicZ1hW4jguoOmO/p2hX1yFPtNDavgN7bF5bDKly6hW6fnO4W2Su1/XEWY39lp7CWx4TeLfTzrHxg==","shasum":"f81e0b608d56d70ce7d6c70c74ef9effc7bc73bf","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.6-fix-lsblk-pairs-a4fea20256d82fac52272270c899fab8c04a9d9c.tgz","fileCount":19,"unpackedSize":88072,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN48nCRA9TVsSAnZWagAA2LAP+wVdOrQbqjla0s3oFZZI\n8Pp3R5K6aBcVAl3J5O50sNaMno4+wuPTEQXb+Oi3wyP+Jj5SDz6NdCbyIfG5\nAxz3mHFUR0+ksiSZYK00k1sABmTsxR3y9trqS8n8hVPxkyYPDhiGHmHPIFox\n70M4eCWgCNCYazGOM9j/1mpgDR+ys10d+XAg/rRdihFSmDfeBuKyp913r7as\nBq+d+OXDr5ixSd4fCxgH0ni2oKXKsFfVGZixjWrtEsv5X3tsLsWJnirxE6yF\nsO3gvJ2AEh1m79izVWja/tH/L4dISuH3bkq7TJC68VPz9Po8xFYFaWo3gLR3\nruhFH5NQRHZIjC4BdU4BaIXne48pI2LEzUUTbcrM2yx5n1LS8TZuBZgudkaj\ntF7COAtQJ0b5WA3kjgHHkrVE0Pv2lS4tgA0olUhoM5/Ta4//mkxX4EUlAhg2\nsqc/+2yo5/CRwx8UnIywNcYy9HxB6olTpck6YICix+dh7ImWGTcpI9WyX2S+\nwuv7RM6VkkRmGRYqayIn+0LMosAZQM0NHjmJX3MgKiLVtjcSZJAP2Q0M664C\n6Fq8x76hNZheNlbv0HwpvyjjHNMTteBCEDhEStzuWa4Nfu1GJL32MFb8Ov7/\n/XdV/1zZRe1ffy1+NWsxpQQDo887bpA3XHS3wQZ4Hb82uv3fqXFszAokZE/d\nrQgZ\r\n=eEe+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZdOxlpSSZwEltUgGUbxdt2apgssR8xEdoeX3jyaQZgAIhAMd/8sSSjeF4I/fFfQB2iubLfL6AP8MZpYFB4yxt4NOf"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.6-fix-lsblk-pairs-a4fea20256d82fac52272270c899fab8c04a9d9c_1547144998371_0.3659521266542014"},"_hasShrinkwrap":false},"6.4.6":{"name":"drivelist","version":"6.4.6","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"b3f3068757447c9567f5bbf5f2dcfe82baa7e294","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@6.4.6","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-FVeQE8GQppabnXm5J3tz3+nNZUWBixLYl2jGuLnCI/LhpopOj6+/fvPMgaWXC/SW/gceVALCx/EBRk8HiXqB5w==","shasum":"3d092dd8b771fbcfda170784ba0d72db58c7554a","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-6.4.6.tgz","fileCount":19,"unpackedSize":88015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPEe+CRA9TVsSAnZWagAAHvsQAIqsZJdiVDQ4TkAY3XZm\nYek3bYKTkKCqUXD73ZYVSvbD4Wx+LQmkorB3YPeIh0IHZN8SZcPWu3m2SaTi\nsbFTno8oZafbsZ6LyKoMi4M09bRP3ePpgN4IXyfdNQ7q0ADq7KfsAeHYccJl\ni3WUQ1PeuJSjYGhyL4s7k/J4fjnqriFy1H3WRa7tu/apksec+SdVJSn+rVZX\nJZhvSook1P+V/egRjeSkOkf8C5IZEfIITodEhhFPqI5e8dM/QuFH11Ox64wS\nRnVVocbCMRCXEhNG5VX/honTxskud39dLTEkP4TJsouoMB8BxnhVoQjRsGFH\nbVq7DDAGsdgZUYZWK9p0TpAzuIWbx6uMAxuHP08kkKCOfC8qBlG5I7LbA6nV\nduenL/RSW+oEfJ8c1tatFlD+TyPNs2cqtHgzq4iPjNylwoMO75yxed+rxfNJ\nLHgK6miMuNFEh8IhLj0q4ATTJ4SRYcI/kcQYes8K0rF0l84vmMQiP3IrFTTf\nzCblh1Z3Mcxvsk9DRthcxfaFvw64lPxfiyRZhL/6Xgmnp1kKC0Tu2iuN0Mfk\nByTm82wKwrXdwrZDTSYzSRb5aNUt0Df0cM5mLErGocLSBMKEQiWKOELSQ4f8\nHvMMCb6iYV+UdXOMJzcyCjPQgz7QHuebptJjFhouWhp9dv1Fn4QY2yppUU31\n/ZI1\r\n=WZtu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBm2zgSCrruxRnHaw1QNZ7qSHaqCDzheJaoOGyH1jyBpAiBpmeYW3Lm92BNJkOewfapcvEfcsdfQBDo4az/sQ/drPA=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_6.4.6_1547454398207_0.3602141159891301"},"_hasShrinkwrap":false},"7.0.0-mac-native-bindings-3f050852c2847957b2003f79cd73694d162c44fc":{"name":"drivelist","version":"7.0.0-mac-native-bindings-3f050852c2847957b2003f79cd73694d162c44fc","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback) ⇒ <code>Undefined</code>\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"3f050852c2847957b2003f79cd73694d162c44fc","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.0-mac-native-bindings-3f050852c2847957b2003f79cd73694d162c44fc","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-tdCh6/JsBw8Guo+D9Pw+fmBe/6Uc7SyP0H7lS3yxTuxFkZFEKVvaHjjekLO1OfTpBgWOZv9syvpcsXX0yPB5oQ==","shasum":"8ec131664802de6a516498e9df6fa8c20f804c68","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.0-mac-native-bindings-3f050852c2847957b2003f79cd73694d162c44fc.tgz","fileCount":21,"unpackedSize":91972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTzoSCRA9TVsSAnZWagAA6YcP/3iaUOjiUSjXt6hrgdOc\nTLJBLBiOhEtcWaD+0WbYnRi4dBGNRuH9aAcqXKo5yBziMy5s0BcZ3Cx+9/BF\nrwUDTH8tdOBDON0lhGxYMTSWk4qaE8PQygIJu8jNhiRjP/B74lHRpj9VM1Bp\nn9CAd+68tVjwPXHCVSuXP6s3z4PRBzvWSzQVA4Wimv4F0mvebimTf2ki+xJs\n/O7glsR2aVpVnMolHAkT9fmwdDqBOX9/47JhME230kv9MOECTSeFBas2KKdX\nEOSjZWW3huGzZ1AyZTRbTpenI09wZ2tfJ8f3QgrX5M9FYjv6G7YHP426FRIU\nsUH+65a7FW0MNA77DC88Zl+Lc8JPqeWU1lpwe8C5g0dn62MEblKJZAkJ1rSB\nuwYIZDGto752E+/6GILtZCGHVbH1fzbIikjkMWgLF4HPAZgSlNNE5KKG5FVK\nQTYdqFRU4vsbMk/qac67W77eAKRS6GAQVzdMSJ0QUK7yReaQHc6E6JAzRCdC\nJBOPoEqueSKGzkKC7ACvf/hFpjFLH+PeOZoUM1upSK4Ahi+HML2wc1NA0F8o\n1UhzGYMwzK2uLtuwEvs+vq5KfYki8vewQ2J56h/tSJdTVSQDQ1f+12aacds7\nUzqke8v79jFDx384rATXbyFN0fpiBpLHNsB+HWi45JTRWWYLrEwFxMN6E6Sc\n8G07\r\n=aeyP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID0cqAHCKPgkQ7t9PVYKvlxZTRwjIlbxAeuhwZ8J4AeZAiEA7j3HwR5lFJORNEDsxCSVjH8fDZpYM6rLgCv19F5bQaE="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.0-mac-native-bindings-3f050852c2847957b2003f79cd73694d162c44fc_1548696082066_0.8668351492504511"},"_hasShrinkwrap":false},"7.0.0":{"name":"drivelist","version":"7.0.0","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","mock-spawn":"^0.2.6","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","fast-plist":"^0.1.2","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"82a1d0a330d42a7c75e24e1588210fc420bc9dda","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-MLDprL0AiMsbnKZQMFVQDLaIN/ftySz7ijtX07C/fBYrLINFC8kIB/AWzajzy7jhqodAPQgfpfIquvBra5JPJQ==","shasum":"6ec48d31e68eb044f75eb6de6cef6426a4a7499c","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.0.tgz","fileCount":21,"unpackedSize":91911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT0G4CRA9TVsSAnZWagAA+nMP/RDcQIpVXxlDLTLlLrcS\nAWEaJQzGlCTqN4Rsk1EXFWvVcTkLh4bG3aScBeOMJtI97Xu44peyGbhfJ58d\nrXXazedmvIIlKND3qa/QMwMMprVBne3HvYfUvFoJcxw0DZYLABY7O2IEjNpA\nmns0YQu3Ics5nuDmFo+bUSsazsmegaKrtSxH5TBAhWOYPAfZifuyJBYhgAFc\nvo34n7P2r2Fk7cJ6T2aYLCE6OE+FAeL7wkSFff3N+rp3GwZlgCCgDwh+C5bh\njLjhqDYX4grX7rD8XagjYnGNeGw2aBxVBOlycl/QuEDputNB9IwwWrz9sUdH\nmKL7k0NR7tn4eiNVL59c6ZqTBgeM1si9Kb2yELhjymMrRBllaYuXStrNNIHG\nJ5B1RL1jLUvQ7n5Zd/KOo8f4k1gIppbsC9VYh2abt9b1sVzLVvYpLhyf2ve6\nDUDKUb+DHxtUK8F8ZzLr/NESpJVw4kYjZYnkyK3cfi6PkxKKJnn3Kl7qRMNN\nrqbwstKMux8JBNu3YYscfxBuaBB+3AY2CjcydM0Q0/SgackOqbupCHbuavQK\nxQVUI5apeyAJufQ8SDT69UTfFPLww+9fUxm4O9wn/rR8WTD69lOCc+LxGlv3\nOoW31uXiW93TRodBRTaaVUY0k9u/laUvawE6E7Rw8SkS/Vvp64ZAAdUsEfvn\nwnm+\r\n=RAa3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH+xeAkuMKbainkXGvAft9SyAOYUJO0N4DriWEJPdVa3AiBvC70rhnYnV/yPDy58KIxCk4/nqO74MtKcl0ujXyrD/g=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.0_1548698039213_0.4070810430023193"},"_hasShrinkwrap":false},"7.0.1-remove-diskutil-94ded4e477b848a1e9be4aa2d6102953e55a5320":{"name":"drivelist","version":"7.0.1-remove-diskutil-94ded4e477b848a1e9be4aa2d6102953e55a5320","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback) ⇒ <code>Undefined</code>\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"94ded4e477b848a1e9be4aa2d6102953e55a5320","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.1-remove-diskutil-94ded4e477b848a1e9be4aa2d6102953e55a5320","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-Y/uKTqu+rI5EaGS9Myb2+uUKkKUtvEC3zituvbI2wc8E2Q8eCuT9djDeqxMwP8JNxkbLeS+EP3LId/Vum1jPVg==","shasum":"801a06fdf65e3d42ac5e62019c46122f7aa79e5f","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.1-remove-diskutil-94ded4e477b848a1e9be4aa2d6102953e55a5320.tgz","fileCount":20,"unpackedSize":86952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT0eBCRA9TVsSAnZWagAABqQQAIn6Uhn8iCV4wwBT9WZo\nIhi7Dsetpt3Dx4pG0LkAG8rqJKTv+SyEoSMEiLO0l+h+AH4qQEtrvBSxx91F\nQvISS+/nZOO4sWGhiWAN2YfrZZL4mPId1ZVnJ/DSmAdSoyDv0+a5hTX9Bx6E\nQAa9ZRnpevHKpcB/OGnyGSCJK4LKTvF9H6Xetal+qdbhGkgDzyBZzmP1rpjB\nEZHxLk+vyiVvBV5nkmImNCm7q/SXVEk9Ow9FRl9Z4RGcxKefYDzVNsdTs+A0\nPeL3Faqi90j6jPkEb0dP2fxcyw58VUQh8ze9GIeqDomKI/0w8CGKKFvgDnG9\nZzp+OUFGox0YTWD+NwtLR7QrdFZWuAKwNbBJ6pRN0uw8VWMXZPlymR4hPYgz\nq9X+UH5LWNef+YmKteP5QwWEShTkBJLVnwfafWHjyO2UNXnq/Catzgan67P5\n4DVYeTFfpbEdEXC4wDaps4nQw/zLxsh3+SLE2jff2ZN81Cv1LsLRXF8zDrTy\njniq4YDaBpffKqcC7P0ddhsiG9OJsGnX55wq1carG+fusgYGlXs9xnUs8BFy\nGw5Cfzd8q9PnCRH9+TyMRZELBGPV/F2QGCcwlHammCIsMNF+f8/MtyryQNXL\n5SLUqHbAliul1zKhMn4nQIjyXFePvSdUkthZZfVTgY3EINh7JALi1vXgS2I1\nN8Mq\r\n=y6Eb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBiFijOBJurkiLq79jRNDW7fDdr+cjiD8BrUrjY8xLsuAiEAuWX9N3UNaQ6hqYirow8T7pM3PBEOtR4FdAGpn+dgokg="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.1-remove-diskutil-94ded4e477b848a1e9be4aa2d6102953e55a5320_1548699520860_0.3211313157821163"},"_hasShrinkwrap":false},"7.0.1":{"name":"drivelist","version":"7.0.1","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"gitHead":"e9ba470dede88f06312c3fd20e267c3458c32f65","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-p5f4sLknSMpg923Vj1xBlxj3uzaKTAOFy7ywkGXFD5+yp8aWd0aAPgTSD7ns/EPUCjTMEGKsdqw34/fjwwT0oQ==","shasum":"fa1345c004fc8113bd142885fee375142116dabe","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.1.tgz","fileCount":20,"unpackedSize":86895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT4ZTCRA9TVsSAnZWagAA7x4P/1YO7aq9WVPxrb9m9Ygo\nMG6prauQ+3f6UyJo5Glq9E61iY0LUfOI1aPElnsNBRssu4WTtpD4eWAuXzjd\nCVIUjvb45to26Kfm/e2wq03WlBUcYT+J/e6fG7qrOOEKEXTcG9CA3iUfSw/O\nk5p2xZ/A+ICE3Wr+n66+9JxATYAIrVWxLFqUt6dhYAySTFz9lH4jU9q+6Mg3\nTquJO2pUIjTRAhmDEWV0aRR70Zk2YQmd9gwubvquZYqshH5XCAOlh/G6s38f\nGfSNPQ0KtuxOZlsNyaLGHJYz1Sl4Yz9MPQvp7YxCHZTKPkN6tjuOJm3Xx/HU\n4XGbUS4ywfArmyv5ufMPhFywFy8UtZvitGDupw/IrOFKTBWdiktQ3ANfulpD\nHgOyjhI1BgGIhe8G0H2e82GbxpmQUOOtsjcAyoURMU04tSGcctpoUsTIlfbK\neuIw2ZnLMI1DovoEoVx3wgPzRmXeHXfei2JsqEwqYAsDom5eCVVQupMu9UTc\ny8uPb63xU45qjS1HtMRvTNsixqs1BAt7Xnuume+/QVSkRKdxJkQqMJBzELYD\nhVLMCfv/JlSYAudtSBw7Mp+0MvfOyU7a5FgEIPctSBFZqWWBMQyZ6O9Yo/zZ\nv8Ws+y1dWXFFLQVCCluF7c1W7oztmOODC9CVCFDcw2bRFG1sYNzga5ZPgUfV\n2dIk\r\n=4VLa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICcLzUKe1hgaNa/WgZCB3FPkJ8aQ/MpAKfvoP0KvqIxbAiEArK6FYhn17qj7CQGdZpkQpa4cH40FTI5rz3vRD+wz2L4="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.1_1548715603215_0.24448688558988718"},"_hasShrinkwrap":false},"7.0.2-sanitize-lsblk-json-dd917155e752ebbb0d933cac1c216197cfdfa536":{"name":"drivelist","version":"7.0.2-sanitize-lsblk-json-dd917155e752ebbb0d933cac1c216197cfdfa536","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback) ⇒ <code>Undefined</code>\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"dd917155e752ebbb0d933cac1c216197cfdfa536","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.2-sanitize-lsblk-json-dd917155e752ebbb0d933cac1c216197cfdfa536","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-zlA+xTovUaHBnmYWG6ZqvD/fIz716Sxst4sGQGoq4S5XD6W9RLwNEV5NDXvMLI9efWfkNxnDtfpvNP4qs0LwoQ==","shasum":"27f8268ba6906abb2593d4abef178759d42705f0","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.2-sanitize-lsblk-json-dd917155e752ebbb0d933cac1c216197cfdfa536.tgz","fileCount":20,"unpackedSize":87092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUxY6CRA9TVsSAnZWagAAe8YP/1aAJda6KBXkKsdQeFMW\nD4WoWAZLOgZ9Eice++dvdTZyTR3NJf97KwWeeyyT649qJ3QkTI2bBfNjNRbo\npgFw/rqK+zbLxhjIdLgSOFV4KRY9s6mmiPEw7c4IWZxSR2oxf4W62mu2170E\nAbe7mmU0s/UJm8qzup/RxU5Oigjf5kyqTRHa1PV4ppSQGCocAZMUtkoxz3VH\nbKsnqNlcv446p2r5xytP9p0ZtfjZEVtrQ81Y44SQQszaCyE2Li+MBXlHCT3R\n8UQeosGgF+b5ywRzVoE3HrcyTA1AokIKgxkhIs8hhfOOaNZ6Fol9wnrekCQN\nBd0AWUw8FmbfOugQ/9zar9cyrjc5BI7nwRhy+w4g0T4guH7alGvlisUERi6s\nJu7iY0EIgpHdpNIL5+kQRbKmVmNXakoiLquU1xmqmNEI2BciSm9Tth/VvMDx\nQVVyQhhEEv6bwJzO43imGrRcAxjc4xKaR08PaFW1Hqv7K5l4vx9ktbZF0xt1\nCTTMR/RyeCGDH/pp+7nkXYnosfmcDzAzLomsqLrd8OXeniEoa8+NMJrIwiai\nFH9E0swBrsaOBm+Am5ujKs14GrU50qxzIFMezK2S0E4Cy+CAfvm3uIb+UNMy\nuuFcVYR5OtkLWNE+f32mdoJH9Bnu9VTxkO0HfWqyGmczrLtPoWATlGNwHrqd\nSVky\r\n=hCYo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6l9lq+qcrrCJ2BvSB0zlj8kzCeeWMjW46JGEpnLCOUAIgOi2Mu5LHZ/kbFItWTtA30u3xktqVX9thZ500BD6Xh3U="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.2-sanitize-lsblk-json-dd917155e752ebbb0d933cac1c216197cfdfa536_1548949049911_0.05512819399012714"},"_hasShrinkwrap":false},"7.0.2-sanitize-lsblk-json-9a9e8b443185f8717f8638c13c6177540fe9cd83":{"name":"drivelist","version":"7.0.2-sanitize-lsblk-json-9a9e8b443185f8717f8638c13c6177540fe9cd83","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback) ⇒ <code>Undefined</code>\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"9a9e8b443185f8717f8638c13c6177540fe9cd83","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.2-sanitize-lsblk-json-9a9e8b443185f8717f8638c13c6177540fe9cd83","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-kUEffjL6uTyvjhp9mvUYNnXJXwtFFoJupEkMnBtXK1PmXj2RW3jFzyhbvO8/1iCzQKOSYL3CKbiNN1qfQEIouQ==","shasum":"8cfeb6ef35eac10dc9469977ed3e64634652495c","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.2-sanitize-lsblk-json-9a9e8b443185f8717f8638c13c6177540fe9cd83.tgz","fileCount":20,"unpackedSize":87075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUxhyCRA9TVsSAnZWagAALucP/3fJ796/UqRZ7mqSrTNJ\nxc8i89vDG9DcEBwrJy5eAyKhoQ1eOVsHiGBC+ySfuBXYNf6xsAzsXfKVceHe\nDcqEPXQOklcBALgH5WOUihRi/HPKzho549aq2yrciSmlhMeNsHu4qhA680nS\nJyo1Rw2Fm+RjI7h/d6mYZhQxI8SvqhPynG0anlRGxsPXyIa5aIWpx2c7fvnJ\nk7KRogOhEf/jLK9VDUuT2WVfR5fyBnGJgkAg2mZLRiQnTuG4r0jTKIqRrY9M\na3A5ggzMGCC0w5tBE0a/T/GeL11AdhEF8OJs43U9BBEilfx6Q8r1njOKZVK/\njNC7ma0kQhmctZnjnIIirKuf65P0eJGzkZmrKhNF1BHXIBESfnmHrRi4nY5u\nin70ZsXzKDJplIo0LF4GgjXYjhXuUwGt1Y2hVV+AhUjlEID0pIxjbXHcGRBV\ngwep+7ZyWvKcJK05Hv/JUYrs96Cx5wfIs2kK1pLwa3viB6fzF19LUH5lPAHt\nC66qbgYMU9Q0w9ncTfKFB4r2arVuGi8xm0rrT6nvW/fCFKpqSDf34Rrty/2d\nVkHLRL7azXf0uCEu7uHd1rQR4UfyPyWTu0GJyY/3x7oZA2RKLH+qCU0k6Sv3\n52dJ3AGqNDJ9d1t1Swa+ryVs6gPqYac7BBQSiFwvnJ3lDoidbjVcxF7l3WVb\nTkPH\r\n=y6we\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcc5Uooa24bEZhdUW9PR9IUFS5FppAEQTLhBz3lmmw3AIgVxpqTbrqJUSBFaHoAukudyg/Vhu20DJJBOj7cyIyj7c="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.2-sanitize-lsblk-json-9a9e8b443185f8717f8638c13c6177540fe9cd83_1548949617986_0.5723801173346759"},"_hasShrinkwrap":false},"7.0.2-sanitize-lsblk-json-796f55cf8eaec892e339251673fe17895ea1feda":{"name":"drivelist","version":"7.0.2-sanitize-lsblk-json-796f55cf8eaec892e339251673fe17895ea1feda","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback) ⇒ <code>Undefined</code>\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"796f55cf8eaec892e339251673fe17895ea1feda","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.2-sanitize-lsblk-json-796f55cf8eaec892e339251673fe17895ea1feda","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-vVwzCeCtkSjSDB5Za3GcXTVB6JFdiBPASvBXOTBKWlyZrURss+d4JQ6i/dxiB2IGxGECWZEpnC+wZ5Yu1kmPjw==","shasum":"33c6aee916d0ed9ac198d4ba02343115aa48083c","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.2-sanitize-lsblk-json-796f55cf8eaec892e339251673fe17895ea1feda.tgz","fileCount":20,"unpackedSize":87166,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUyB4CRA9TVsSAnZWagAAprsP/iLhk0lBdSZpCnlaHJET\nkLNpP1hPeSJ3dTJwpY/usguZyHkoj8mVBHilzMEE17pQuSzU6pqpPLZU7Y/4\nHkd0Pq205VA94iE0ooxbyPJCLDIMbFMw0xpRQiW4C5dRDUdCdZl/j6Z9rAhg\n4MTUGeiZF4cUHcYbQYtfYw9fK9au2H36AFHShoYxsfOwkCn8f4V6rYeNWvgr\nbEOdNJ7HCiLe1s0pZE3aM3t0QIT4ZXK+5ZPknQt6TBHD3x7+7YDjadL9t+A8\nFJza0OxTlfRk0ntWMTT0B9YVgKFsDEC9TnYB+ykhLyxLxKqhbB+Ac3Gw611+\nb3QBFDfaXIFdHpShBov9nXHGOzQL8/b5scqzN47CvaKA1ASeAzrnaNy+UOAL\nfMn97kIQ0DyZ0Y6P+22s9T3YpcoUEC4DnbyYsWZgJ1/VJczKckl5+r0ErSH5\n5fDxleTARgcFEGbzxRQ+zscEM2lIjhCmwWYP7nPIxtoASnfcIJiiNGXGgdF/\n5qraLFcEFdyH81rX8hdSCQuCcm8/WK+rVognrK+Hr+AiEIzf5Hv2kYWtJ+9l\nIYsn3RSDfoleRaCfmqWT9eWo4qPFx9QZGcQGH3YgzCYvbtpgmG7MclNS4rEO\nzpb9YYmKoXba4ufVl5vPOjRvoGz25/GsB0b8cnnTUvrQzJwwACg9L25GVCF3\nI6CD\r\n=xBA3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBtDPVtv4/sNpDX6UpoI/j2b2TtkmCtn4uuN1rED7E4wAiBOSHbpijM25Q4h2GnTLzW1A9T/euQxW07/nETtJp8yEg=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.2-sanitize-lsblk-json-796f55cf8eaec892e339251673fe17895ea1feda_1548951672224_0.5160274155881837"},"_hasShrinkwrap":false},"7.0.2-sanitize-lsblk-json-38423878f6eb8a25d05f0af1565686c21a92b776":{"name":"drivelist","version":"7.0.2-sanitize-lsblk-json-38423878f6eb8a25d05f0af1565686c21a92b776","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback) ⇒ <code>Undefined</code>\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"38423878f6eb8a25d05f0af1565686c21a92b776","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.2-sanitize-lsblk-json-38423878f6eb8a25d05f0af1565686c21a92b776","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-kDGEKZV5ljIMjNUCR/S42ujOU/bUZpQs12GMiLbBUxAKno8PAVMwElw1xvEQI4ZvFOqHYpT20Y9g9iKtZw0jvw==","shasum":"e3fda78bb62ecc41bff69ed51cb85e59698558be","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.2-sanitize-lsblk-json-38423878f6eb8a25d05f0af1565686c21a92b776.tgz","fileCount":20,"unpackedSize":87251,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUyGJCRA9TVsSAnZWagAA2OcP/3ojdfdl8HMW67WY9+7M\ncHIkhTImK7q/oNv0ZJ7U3TwVQ/keWxNWCQy2bwFL+c5Ihm9vvzdnl30xi2Sx\n+4Hheqzjd20XavNmG3aDVoLZBF287zgGHn5R3Bi/iHC++D/XuyzmDqKYl9gn\nMEoHWGyfPzBMriOxPizymMEHRhDXqoi+BPJw5nJdwPm8Y0nE743fI/NxARvX\nFVUvjvNp7x6IKft4Fiim0tw/3PiaoQy8vVfYG1WxpXvFw9k9aLNZXVAO2FRE\nY1swmxXWwVcsJz89lWga/UIRzgyU+bT51eFFeE3K02qvUM3ABVSjdv16paYO\nPMEHXwo1Nju+N4S7tC9YJtSwQTMAuiyTzPReDj3IL5j+twl49VUAeWrspNbO\nClNPxTe76PQrCuXfktI6z5c1A59lhmQVclw3ct5pSdprpM+VcY6SfIIKSmoQ\nkvjwz2NWR4uYSs7BZwBlQrmAFDhY+MOBqsm1UfgzvCmMOEfht4j4DT4TOIDC\nsqcoGxZuvpiidZqsr27MGbxuZGWttFrLf33/AKdo2LmnpCu3sQLcdKJSF6t8\nt/kc61SRojGGrmwHjSKrFnEp960v+N6b8ez8L/r61IUHiFwR+NF0hbBWU8gk\nRGaEbApcEuvoM/b2ts+nKTeBstXBL0NY3PMh6cVqgKz+GYVn3p/SA5yOI2NY\nqwAU\r\n=8uXf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFFcIfEC3sfjZK/M5EC1DpLT+x6+Q7861x31PBHkKCYAIhAK6i9PXZYyfW9z1jBkUuxuL56h8d0F1t7OStJsL7c/g4"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.2-sanitize-lsblk-json-38423878f6eb8a25d05f0af1565686c21a92b776_1548951944444_0.6753017633073481"},"_hasShrinkwrap":false},"8.0.0-sanitize-lsblk-json-d2f5e6a62e93b246d73f15b718b11c81a6197bc4":{"name":"drivelist","version":"8.0.0-sanitize-lsblk-json-d2f5e6a62e93b246d73f15b718b11c81a6197bc4","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback) ⇒ <code>Undefined</code>\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"d2f5e6a62e93b246d73f15b718b11c81a6197bc4","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@8.0.0-sanitize-lsblk-json-d2f5e6a62e93b246d73f15b718b11c81a6197bc4","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-j6XqCp2EwM55J71nhYKD3IZfuAK8O21hvLBJr/LWE6LFBeUNc8ma4gvS1Cl3lHUkZqUk4YF2EMJV88XPyIMm4w==","shasum":"d5c3de4d22014266bc10c0ff3f800fae4f048517","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.0-sanitize-lsblk-json-d2f5e6a62e93b246d73f15b718b11c81a6197bc4.tgz","fileCount":20,"unpackedSize":88025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUym0CRA9TVsSAnZWagAAARMQAKFKLWIfaOZ5hkXzUsCX\n7X5pw7ZWRGML0CUl8VPJwoIvxdM5x4FNtbld8c6RTx6xM8EumSr9tNkkNmaI\nKgOpYk9gZEGDEHvCQ1yONRZtOZ5uonB5ypfthiC5YNRh/aHe8WoTHswPT4V/\n57Dzegcsyf85eEUjX2h+/9uWa3hhEKV74N26NtVWPF9PSS56GvV0fqxP8igk\nhYMh4u5eLXfQydwXiX7CFROZoAHJJDhbvoHYTh1d6/uqCnCbFfg4nHHN2Z4B\nSEZP/3QS+TgszXn8YN9/B05IBpmxfSBo2bM7+Lw9+v54cRCW0miZrzA9/1Zy\nZED+2sJpe7/iWdWvgnhhQzTu/rWEvO4+Clxldr6ZOR4VGi2qXoizsEviyp9l\n+fxorFog/MNpX9xiLE3ocLxgQGJ7nJPN7Zuw9wjSAQVm7qlkmCha3MMisHdI\nXT2h9C7CqsnxYvekiMObDbQoA1C7imaLrlElby7hTJn2efi4G3P3lT5oo6VL\nZsqk2nHMNqjE8vbG8PdAPT/l0FXqZ2X2BDzflJa6W/YpkC3dFXZz9xJaWPxz\nZCju8dMduLbwapHPV3OlIaXG/2dzaX6mZWbHQB19g+4tkMD0muSUByyG+Vg8\nNIn0UAPb0vwRig8setYb/egW3+z6CLsoCHdgYcYLhobL20kbB5e5Upixounf\nXmK9\r\n=GY2N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzULrcyYg9wJ6JRA5wa1tTJQ6r3tirlrne7YkwGGRFZAIgA4HYti28409OUSTZYxyPwlFCIsGH3jxyrDs7gxDAHyw="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.0-sanitize-lsblk-json-d2f5e6a62e93b246d73f15b718b11c81a6197bc4_1548954035719_0.9580680484583215"},"_hasShrinkwrap":false},"7.0.2-fallback-lsblk-pairs-aee037821f108d2d6c13e340af26f84920e199c6":{"name":"drivelist","version":"7.0.2-fallback-lsblk-pairs-aee037821f108d2d6c13e340af26f84920e199c6","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback) ⇒ <code>Undefined</code>\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"aee037821f108d2d6c13e340af26f84920e199c6","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.2-fallback-lsblk-pairs-aee037821f108d2d6c13e340af26f84920e199c6","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-12H8EAzCEAcGKnTiGFiqK0yDWsCsRwimO68M9lFbpY13KqocXdKnnMHPzLg4ytOG0IhKs4iNxKos4auLeTWIKA==","shasum":"0fc7209596d6665b509ad0a3b5b0bf2c005dd4ab","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.2-fallback-lsblk-pairs-aee037821f108d2d6c13e340af26f84920e199c6.tgz","fileCount":20,"unpackedSize":87117,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUytACRA9TVsSAnZWagAAB3QP/RjMpmHFPG2d9Lz0nmch\n4sCGoi+GN1ThvNDb0ipNiErclntn3OtyqtvVv8MZEg/MCIopPCpwvsamh5r8\n6hPTIXdh7PhhXInZghnBRXNs5FtHJSZzwHl/3y3RhXC3ubY06QsNbtQj9lMR\n+10V/fx3u3dO82SJDGNqsXXHhzj50Pr8xTlA5jbkXVR/NvMu/+O2Q8uYZd9Y\nPebYnVZckqIPG6lc4/7eXyeHUs1KDYFzWQdmUtkXEVHQ96diB9MIq1bXnjjo\nCHCU4jUF++advb26+7R92Fn6yVmTFp1QuWx82Me0Aw4s2LfMf1+BDIUz8gSS\nFxSNP13ICjfdnQ9a+X6gTB4K0pOPA7Kst/E6+RwV8MiAfQ2bOblb0DI+QeVI\ni4hZUyBIrrtceZfgJyHhc9HzXyui/EvSM6WjNb6R8Pn8R8B1bGTY/rHVoN7A\nxqFjVF1M5QCKwjmU3+FugckBVMvVW8bkJw/FXk2VyWB5oWJ7q73LZzP75u4N\nlqlw0/UMcM0nngijqtzUAF2Z/Sv2D1njKOcd+oH0/c63MRDjPz1IdRmXZsHe\nBY8lLofBhtVRmgsLV9dHxLe4CFNCjZli278MuoQwN4HFgl4aISH3cjHWbAY+\nA7za++k1IBxCPhnmhFAyKy96QQLoM00GcxgZodzE0O+oAHXpf8KWMlxKZyzl\n+fMR\r\n=aPSn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICsXhB/rBkggh2m3arYOb0znGTwnXfN32OBIxzTrgtQ9AiEA23KguC80F6d0MNGrtNRDjxnsnb8bmsWNZCV42ERw1Z8="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.2-fallback-lsblk-pairs-aee037821f108d2d6c13e340af26f84920e199c6_1548954432169_0.42406268457111485"},"_hasShrinkwrap":false},"7.0.2-fallback-lsblk-pairs-0b521e9bd8aeba32daf938218c1708c6cee688a2":{"name":"drivelist","version":"7.0.2-fallback-lsblk-pairs-0b521e9bd8aeba32daf938218c1708c6cee688a2","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback) ⇒ <code>Undefined</code>\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"0b521e9bd8aeba32daf938218c1708c6cee688a2","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.2-fallback-lsblk-pairs-0b521e9bd8aeba32daf938218c1708c6cee688a2","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-KI6wQKM4acuXGkTfRoaoHcI6r9tYvwq0P87UaMVYCQCKktWGC1x4vDkziPtFnhPYkGs3ye8HH6cC0Mzh5JodiQ==","shasum":"58fdf992dbe8cdb7cbd3a8ad04852bb855f546a8","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.2-fallback-lsblk-pairs-0b521e9bd8aeba32daf938218c1708c6cee688a2.tgz","fileCount":20,"unpackedSize":87149,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUyysCRA9TVsSAnZWagAAVDYQAIzZ6bcDGhPWrg8LMQZI\nRIlpUj6Om+tK9pVOxRA6PkUrZyBfzVxu0eXr1L3Jc/jK5v4S0RX+BMTok9dR\nu651gjSXtRVmGjUql+L8zAcRXLrPW5LXQm6qNx3nfIZB8daap0W9zM0/WHJn\nsAtC6sSHtSxfUNDYHk7P9uBP8cks6YBfdaJFWPwBj6lc+g49HELFo2qUHONR\n4SKPuPUZgpUHwyJaMqh9jCx5uSqyPImLeAhXOQfZGkqkPaIO1OBbLOzE8ydl\nEeLyXyVeehWDjQl9iir41IsOiQWYSq9T86OMm11LDQJsaPSN45LjNicoQVH/\nD6cjorhJdHDCuWTfsN0B0haRQVbmGZ49uEjVXq1dJOffO9XbhqpzMc9ZYwmP\nAOv+01eFz2SBTfTkkJM6Cyp+gKMIHvwry3J6UpXaW3xLwPyZ1/e0ZkUZA9ga\nigTpprUIS6dy79h/UetBE5KII1aHgAr694u1E4kXrFQu/x09VYixKkngjdZr\nF4jUbS05t/vAZK+V7CFeL/MSIc2ODgqYdrIPKFcWeZBOF/S0rLFVIeygOpAm\nP/m5Fuw+KmkTYKBC2upcIrIKcbzAB613Lz9XLvTGaxNGas7dAOPFD/438Koq\ndAI/sAzfJJ21eb3h7xnV8GnTWfObroLMyvt9C91AeSuj7vnC2WHVvyC6kMx4\n4g0l\r\n=Lzm6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCl93EbEvAtu13bfswwoQxF+HaCwtsTMnwuDUOn3mnySQIhALwlycxGQqy6abWnBkLvY4sNfA5THCs3p+TqzqtFUMHb"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.2-fallback-lsblk-pairs-0b521e9bd8aeba32daf938218c1708c6cee688a2_1548954795518_0.31528552149349043"},"_hasShrinkwrap":false},"7.0.2-fallback-lsblk-pairs-2cf22290df92d09f88e1bdb39f84e6e34afa9e74":{"name":"drivelist","version":"7.0.2-fallback-lsblk-pairs-2cf22290df92d09f88e1bdb39f84e6e34afa9e74","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^7.6.0"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^4.0.0"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback) ⇒ <code>Undefined</code>\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"2cf22290df92d09f88e1bdb39f84e6e34afa9e74","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.2-fallback-lsblk-pairs-2cf22290df92d09f88e1bdb39f84e6e34afa9e74","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-UCV2pP9gn+ZVDwgDKIdVknG3GP7bQDEOBx3nrhwgIp5iD/ogzlbldkU3PKHZ8lnY8VEWUDs8eJNRa6zxeMNgEQ==","shasum":"7532c1ef20eb7996dc3a11d17c643fd30bb496e1","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.2-fallback-lsblk-pairs-2cf22290df92d09f88e1bdb39f84e6e34afa9e74.tgz","fileCount":20,"unpackedSize":87152,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcU2P4CRA9TVsSAnZWagAAu3EP/38jP75uFDgptSmop4P1\nS3SEzuXRAhi4u+ksfG/t7V+VSkn+1JpmhDQG/99vvlgACSpG1HlYDSZ1PkXd\nkxFHeSewXzktlC6zHj0M0ayDKr3NM2qC+zTJx10gDGcZSpWqtMsm11NCe+8Z\nTBWhXw5RxFT+i9N3ll56nwpjECMo9U2rG/cspjfL6mHn3Dj+Ff49F6xCx3se\nUWm6L2f1KG50BFhbUm3AjCoSYptd99P8o5UG49gTKztO/qmICm7YKdYoakQX\nSLKWy9bdGq89kPGzcIUK3gyjopIrh8B42EzQwmz6lvCnIMADBGR4DwlRnzsq\nyLtc8FUm/HcFMc0seltzXAKUvguHmBfuWYMC1UoeCjUaxqTL6uX5AZTJtyKX\nB5vtHLW37jOGR+RiXW/enQ+4VNfEuFU08wRbWm4VI7jqgRFHyE/QMtZ6vSoW\niLoA4WV4ML+UZ9hJCvLT0NQnGG2S901gGWgtaOZWQ4caLiQ4t5KLYlPVDtQL\naz4Uu8WUpCKm8uNESuWyHR3HvWsjt+seTrLGoM6TNMcVSfCpuZ7Kw2V3ZMAy\ndYUfMP4eLljKc0D3E1zRxCPxBque6BUrKp3uclOpoXzfPjjsh8qwV3hOsmZd\nKfHshpY65e554ppfY6x07o261yxa4kmaRfGsWD7gTDRNWw6vx387FDUKPBI2\nFxWx\r\n=+2sh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfXrrBVEF/5lL50wkw+AIXwJUO9cec6QNS8CKH6bq4hwIgLT6Wis85g0g1dNDlrFcVkYX9pGS19MgJYNV8tAs/LqY="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.2-fallback-lsblk-pairs-2cf22290df92d09f88e1bdb39f84e6e34afa9e74_1548968951892_0.3590158338470639"},"_hasShrinkwrap":false},"7.0.2-update-prebuild-aeb8e03759654f8043d75bbb86af17820acd8afd":{"name":"drivelist","version":"7.0.2-update-prebuild-aeb8e03759654f8043d75bbb86af17820acd8afd","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^8.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback) ⇒ <code>Undefined</code>\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"aeb8e03759654f8043d75bbb86af17820acd8afd","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.2-update-prebuild-aeb8e03759654f8043d75bbb86af17820acd8afd","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-BamWh+7N6p3Tsiy+gO3KaxTDEtTicYvsF0Tzv1LY/kg7cVgEPqx8kuE1IDNcUKv8/TVd/G+69nS/AErt5r6mHQ==","shasum":"4454a94f691918eabb4598a78d8f59f8aac440b8","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.2-update-prebuild-aeb8e03759654f8043d75bbb86af17820acd8afd.tgz","fileCount":20,"unpackedSize":87026,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbXAzCRA9TVsSAnZWagAA9iUP/0DkpF947EAfHZq77VXf\nw+aUXbweV8TuALMYhcI6CStyfxEOWgyAbef8PdkfMB5XmOSZB8XhuY1kt/xu\nI5mIr7Po5yvrBUJHVz+aMXOUhKN0aqo/Q8HmIolaFIgkNjfkgIveqgaQ43UP\nlV54g9FiQ6J+2jDUT7d05oVvk+/F4q+6DLL5bcYjQXPJnJIHUHq6d93wIP3Y\nBsIaorZ//BmPMEigRMd6yjF5F5ub9d84llrxr1exqqVHmJqd1EhzEkeKWfwX\njPVLZbUnr+OhCCT12+BC9I4r+p6F5SxdMfuNZiEDAoPBHsEBsvH2mFgIic4C\npwtxUkDIGxB/3kvVHEXG+BbtKzdgcihgYdX6BzlH6iTTIF7AFn3feTzeyDAL\n5Yfrb7Ipydd5fDXLvZWormWKMvMu9HYZMT+kRpJRiLZgsZomCh8lH8EppU+h\nXl6JkavXhV448mUIzXgaCkSoONPrPrt0RD+De0CMLSPf8Kwrgknbd2fevHw/\njxFAQiKV/oyyG04CWaHDPq6jMbuPKHFcF/bwpjyvz2+T+FUhEm43aVwZbQiL\nhVmPPFsbUCQ3uDlRuUSPp71nHgPKCiLxdHvLhNonk0hru81e8Xrm289onu12\nShgRivFs2UOqj4dc6TM8dhmTnh91HAQv4CiwKEQVpl7MdJtSslEdqA2ohMrE\nVF+5\r\n=1v0n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH3WrxfQSP4H9ljDVcB43YCu1cuM4E/ISHhPVjkCtl3ECIGN7TV+V+W5PeHGA6h/DQraGLoTZSnlFaDkidWO1Gk0H"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.2-update-prebuild-aeb8e03759654f8043d75bbb86af17820acd8afd_1550676018541_0.18508478644794946"},"_hasShrinkwrap":false},"7.0.2":{"name":"drivelist","version":"7.0.2","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^8.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"gitHead":"9ba9ddc37f44b0500810bca2d95339088da5b6bf","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.2","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-7VPvbN0O0/fWdfO7gXWjVP07UlPZsxgNFB8lCqWEhCivTdl0f/RCsor+z9MN6Ck+0xPBYvwCxnum0EBSxTkrGQ==","shasum":"c7a7bf7ffb9621e4be0e8ee39fbf77bd8a77a036","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.2.tgz","fileCount":20,"unpackedSize":86969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbXTECRA9TVsSAnZWagAAt2sP+wb1Rwa1YH7aZrT7nJJw\nnDy4kR5SZWqKNUuJqrwgzo9bRCci1jzPLewAcP+cwifc4LGbPXvlp4sTmVCt\n8oU5YNCpYT8msQmBCd3X2DqTVAnifx43MOxWdIi0UXLJdxg5ZaCwKcRO8g9R\ne1DeoAUj+CjGOXwNqYm3PKTFht9KRbFc2WGru0N9cJ67M2cWjJH9VQ2nX3tC\n/RPDJNXg8mM2366L4Gw1ZDdFU3YLa6B9gK//TKZPh3k8PHusqJlsjZbi/ykJ\nqMvtNk68fqOUGrC6BhmgEWvZqAf5Zja/Gjpua0ryylpbPdB6Um8nKBQj+PTb\nAiKhG5x5A7jp9EiB6RS/Nu9IGnX1UzY92qVrUkJxDzF1fGBZaG7Ox9omrd44\nNDcmzS4XT9C4zd0fDuW/WC4uACxvEofV5NtDvBa2xBLfGCQtfAkiKTdZg6sY\nh3RCbmGk9rGVbZDjZrfkWlUh3zFghZqnlFVnHFnUXnoOwpgx8KFSZlY+tc0z\nvlksu9lwL9iJ8cjdgwzbN52LNvZQBH42lU7epQfyc+zCSCG1ZBEsQJ7JXRru\n2Zh5cKKhu4namXd3VKVfk4OhHXasIU214a8p0GsdeaR+AMjoKtVd8Stg/fEg\nu3o2/BcnOyTfhjYOgF6nXtE13/0BkQa0wgWBzXdBok0U3RTGSsPQ59bmCM4v\nabWJ\r\n=JV95\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEI8k3KmYREhuap9Zovsf3mshzJN+9radjEN+oE4PvomAiEAnkXAm2UshDWLL0I2ep5Zwo4Cdie8Oa4/i4zs8TSqJi4="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.2_1550677187855_0.8075057959599834"},"_hasShrinkwrap":false},"7.0.3-fix-lsblk-pairs-type-disk-6138276aa371b3747f8da55673ff784607ab46d3":{"name":"drivelist","version":"7.0.3-fix-lsblk-pairs-type-disk-6138276aa371b3747f8da55673ff784607ab46d3","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^8.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist.list\"></a>\n\n### drivelist.list(callback) ⇒ <code>Undefined</code>\n**Kind**: static method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  drives.forEach((drive) => {\n    console.log(drive);\n  });\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/resin-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/resin-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"6138276aa371b3747f8da55673ff784607ab46d3","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.3-fix-lsblk-pairs-type-disk-6138276aa371b3747f8da55673ff784607ab46d3","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-YcYCeKOA+BqOPfrMm0UletuQ7rMdywEedzwVRP89TITdLugiAjHCeYcQezmZ6Bw/cgeWnZ2z3DFY26jOoUe8Rg==","shasum":"a0a0403334c9da5d18b6ac91a35f1394c5c48013","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.3-fix-lsblk-pairs-type-disk-6138276aa371b3747f8da55673ff784607ab46d3.tgz","fileCount":20,"unpackedSize":87169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbXaQCRA9TVsSAnZWagAAClcQAJQJJsQKdWqfarFbznTx\nt5trRQJnrezs+BD2qnjrSxKLcNTqlrZeVquJF4ZwftLxiy/9pPFIQpx2n5Fa\nwHVVKt6/8MwXTEe3TV8f4wKAlbZAg5SDNZluhVDttsFOR98kSrf3UZNQtG6T\nrAKoSOZB5qq8xfrzswerHlFDcrVP3wWMGk7movqcy5BY69BXaGwO7GIkYIL2\nQxq0+AL8R0xegZDd+1g0dTMfGPFWTdbHTXMoiF5MR54N9JmfhEQLrvbYd3Wn\nMNCt/CMZMRWBmzXIcpI7VYoa77L4r3AXg5xNSYEsclEi6hiy2wtDL2Bnl/p9\nYOr4b3uSdKxj4fnos3Y5XrGNUF/uZzDkaaI7RIk2DoZP/hoqCfIgukYUTQiU\n5ddDhdkDyngDDRMrc2fAzLa0ak/TeqAxe8llZmM24vgoqaXbpJpYOv1pRSd1\ndV5KkJuhvo2nUyvjYeJOkFrpmpmkQf+5V87kNoj+Cs9kPK+eN1b4ePdTb7to\nReZmUpNnD0nW9bz8vCm6OdT+hO5u7g9+GuRktEx3gb+bMBLwhcUJnPRjO7Pn\noQc9gmGWtCpQk+MhRKo7snzJkYYnM5jCCZL8rr7qo4bT8T2JbiMGNEM79gYK\nPqXynKS+PhcPmqDjDyktdWuHP5F5/iAFJEJMro65eBLPduUffB5MwPn8K2Tg\neKo0\r\n=s+BG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBZMpOlv/g+d7EAb+7Vjpss0lDdXFMZAjLbkHcOCTTK6AiAvRlu75LvW9u5yXfLqCcPQAIjRcry6OJiSXoOxtkW8rw=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.3-fix-lsblk-pairs-type-disk-6138276aa371b3747f8da55673ff784607ab46d3_1550677647552_0.29793760132124336"},"_hasShrinkwrap":false},"7.0.3":{"name":"drivelist","version":"7.0.3","description":"List all connected drives in your computer, in all major operating systems","main":"lib/drivelist.js","homepage":"https://github.com/resin-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/resin-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"npm run lint && mocha --recursive tests -R spec","lint":"eslint lib tests example && cpplint --recursive src","readme":"jsdoc2md --template doc/README.hbs lib/drivelist.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=4"},"devDependencies":{"eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.1.1","mochainon":"^2.0.0","prebuild":"^8.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"gitHead":"bd6d48dfe46bf00e9820aaf79cf211ef15a943fd","bugs":{"url":"https://github.com/resin-io-modules/drivelist/issues"},"_id":"drivelist@7.0.3","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-Ocre4NNHZTEK5T6HsTq/BphnJRWBK9w8IJyQVR2JWV2cb/lFppWsmoNHTQeUcPnNjlTmPJ/eFurCECuHU91nOQ==","shasum":"d890b9818dbf6aa74a6a7749139eadd64bc1e600","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-7.0.3.tgz","fileCount":20,"unpackedSize":87102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbXgfCRA9TVsSAnZWagAA4pQP/jbgVtcdmqeay1KVOIRo\nJNkuSYAgeaxqS69zWD2bBFXsXY7QvdXmjmJo5oM62GAegUFzjJK8994JH8HQ\nQVlGi4xLg0AX2pXKHmWrzC+nc3nDdHMT7sw85zMDllRXfwiV5KWHPhGwAIYk\ncz7urNnDz4mHT0nzjqlpGhCxVsEcLZNWSNRv923+67ZUpzHVn60//0af4YHy\n3gOHBTndqyPUlduRfQgjrVFve83OOWWw7DHt+YnYYp3T4iX8gNj6A69A9cmz\nw8g9E0w350Mv/xAGRJMku2jlzf3v6ja8Vd07bAyKNqPSNxB7I98qGtaghyv9\n/qj5KX7NnleQhI0CMfP6abgxGzE7HnEHsrHg5UXxvQiwm538z2mVzIEudmZW\nBdDQoSxtlk11YJBwHQgnrxfy3q03LbCdZF8fkz2qkUZiz8wLuQ3F6cTESDS1\nf7fwcCtDdvM6wFczmGwHom7KiiLZ7ODWx9gMA0Uiw/3ZnVtK0siVzBm2or86\nQR3iijA9zZwXkzu5R5lzytx8qoEt5ZWMy9vfiPx6d3I/vF+/XRWE2p8PNJGi\n527aAR8oHXgLFGjjrENOwvLpb7PcnW1FDsKPYLC+f8iDeA3BND34SjfRM91i\nGmmFsspqITCAqq809j8QIHA9mQm1tFUxgQu5NWvsahXd7MgyL6OioDnn/SD1\nPmia\r\n=QJ4Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+ZeC4Dr92H8103jIz1fGl86qI1p+szzE70gwWV7iIowIgLEqTJRF50GfVjaJeuAYWwHFmAEOoHKtVbm756yoJ4ho="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_7.0.3_1550678047204_0.42240948583354165"},"_hasShrinkwrap":false},"8.0.0-typescript-fe5d409935ae1e66fccba782d3934a3460e1a22d":{"name":"drivelist","version":"8.0.0-typescript-fe5d409935ae1e66fccba782d3934a3460e1a22d","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list(callback) ⇒ <code>Undefined</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"fe5d409935ae1e66fccba782d3934a3460e1a22d","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.0-typescript-fe5d409935ae1e66fccba782d3934a3460e1a22d","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-El5L9XKUQXINv4Vn6vDrmuynNpJGuonXeAwbgmNYPKFBMXZm8qi4AR7Ui0NP8oTG1eLijmr1ziupoag702SdFw==","shasum":"fbd3a583c2fc903849b0542a003ae8ad43338a15","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.0-typescript-fe5d409935ae1e66fccba782d3934a3460e1a22d.tgz","fileCount":32,"unpackedSize":114012,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbsrECRA9TVsSAnZWagAAEKkP/1BUoIce55bElYckpClz\n4+sxbiV92lZ5LWYwfEFN623m0gHeR61eJYn1lbD/D2PSJd4fzjjr2DpVh9fW\nY9fZQUX9y8cWXYbpeklKZuneXNVqeyS/BggTVuho1dGuOFk+2FI5QMe6o4iB\nJ+QaeRayn+gZtbekZwXfd46iUb/0vYRPAiYRJ6GeaK8/t9To9U79+1RsHxYC\nKKEttaW5duAyPQZ8CEdfhlp0dCVahobUsfCLO+yTXRh+SGnzl4hw+4vyCvDf\n0QERPZYzSkhTs0SJbUZYp2gq8Bq4xsfdHm01s8r2uLfX1jMdbCqZqQ35NMtg\nBH0NbEvWjc6hyci14umYuSWZLYVnwmjuNYt1qh+rSVdXGWzl8w+r00Gfj2CG\nHb/bGkJcipyMaxKJo1PqY7wUORRSHyLB8BFG4PdKnG6cP+4dANc2J1Wfjrs4\n3iIAHvcGxtndlzvOhaYDSagomFFwMfs1sfIQ2mrLnsCmNO3YwM6smioX4hBj\n9vWViCYG+STYWn9SOYdaSqryX0f6ckhsdLNmaf7mrK6wYxJNdRZFcorz1a2z\nVNGqtVQh1iebJ/PGgVox17SLOSPfzb0h6EuC23n1y6tTtt0qy+chjhN22CY4\nniiCuBam7n46EmCKeAablICzRZ5RuRtLr6BwD29IUFCl8858ktb1U5F8i6hP\ntsts\r\n=YQH/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDi6U+l7sqq3dyd9U2jvwMDKOgWQKBGYeOTMn11Gr9+/gIgFyKFL5KfHe1TCf6MidK/tdZS+/bkMqcaLnef+TsFA60="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.0-typescript-fe5d409935ae1e66fccba782d3934a3460e1a22d_1550764739680_0.5227268170339885"},"_hasShrinkwrap":false},"8.0.0-typescript-e34ae878642f0d5fb0541fc18eefdf68f40b683d":{"name":"drivelist","version":"8.0.0-typescript-e34ae878642f0d5fb0541fc18eefdf68f40b683d","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"config":{"unsafe-perm":true},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list(callback) ⇒ <code>Undefined</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"e34ae878642f0d5fb0541fc18eefdf68f40b683d","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.0-typescript-e34ae878642f0d5fb0541fc18eefdf68f40b683d","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-zKNA/Say0I4t9LtYGzGU6gaIhveIeTcjIz1zFROisY1H6BKjecp+7clg95hD9dg+z4CLlXekFjnfWtlKc49Gng==","shasum":"e92704ee4e771147abe661893425d4f8ecda5f7a","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.0-typescript-e34ae878642f0d5fb0541fc18eefdf68f40b683d.tgz","fileCount":32,"unpackedSize":114125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbtDGCRA9TVsSAnZWagAA6zgP/ArAvWiqLHGCZiVBczn2\n99UoVfNyD/A044Qykqefvv3nA9APvg96L/s4YuW63gaQ7JCKY97CCQfhi7pj\n9L9uJdbwXY3pD7qcDAoA/Xc0Vp+3ZSJgSb0vqpV4ryfVnzVH7nvPTDBWtUje\na8wRdhBjp0EI54xrfDRfHRoN29ZhN2skhvCg/Qut2NrN8L8A6KQVJwVeuIFu\nl5dUk4WnkCKJ3yrJWNCOKcLf52OcH+28a9p2rQrMbbmL89aLGT8Ya2FiQkZc\nE4GI2DW25K33T4JaHt1EmPXfClhFncFMvOpZHoJr3i5azxHgxzXggFGj2o/9\nX5yOLYN8LASuQsdAOgmLgsnPvvaYOo5nBMKOwYLDY5wnXHIe9+4Po8QEOjs3\nKneycRUNPPw4I6OqaonL3jlpaT/qUPawbNU6qUcYv5IrFVrLXNqIgR5P2b33\nB9clvlW4Elv4eR7R1f2GbQb5E3wTsT1fNkqYBaxoKU8XrKi06xvfgLWq/hHK\nb6n3/7EXxKj/+F2sVEnh1aILqVzrZCnY/6Eft+rLqlLSF4EBlcKtud//zF8H\n6nEdArENp7h7z7OgsX5iRYLfCPkPGBA5x+PLelJtlntiHokgocgHIKXyPvBi\nSifENYI37Ul6SrOek7eq+/WKRrLTJVmWAYOKKQw6yojZdR54TCwzKE0jaEq1\n5d9i\r\n=Uoo+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGUBAkFks5w3kEIvpyeqTRqr7nvmO83svFk6azcjJUybAiEA8bbVcn2b7bRE/LsQU6OU9kQ71vjfrK3br94LJKyJAy0="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.0-typescript-e34ae878642f0d5fb0541fc18eefdf68f40b683d_1550766278190_0.5750769424239399"},"_hasShrinkwrap":false},"8.0.0-typescript-621b78febb8ca6b2c4ff8c11a7a1cccc6d7fd0e2":{"name":"drivelist","version":"8.0.0-typescript-621b78febb8ca6b2c4ff8c11a7a1cccc6d7fd0e2","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list(callback) ⇒ <code>Undefined</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"621b78febb8ca6b2c4ff8c11a7a1cccc6d7fd0e2","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.0-typescript-621b78febb8ca6b2c4ff8c11a7a1cccc6d7fd0e2","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-qXcdnLnZaqTLuweBTtWnMq0bDIGB1zCZFNLjrAWTt1qr4Ordc5p0+KzMEq75KdePZrlN8BvcwQTT8q6ri7BAeQ==","shasum":"acb43780cefb644418bdf96748b649c21e36cffe","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.0-typescript-621b78febb8ca6b2c4ff8c11a7a1cccc6d7fd0e2.tgz","fileCount":32,"unpackedSize":114976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbvwMCRA9TVsSAnZWagAAXn0QAIunx10Bx85mZVA8z+X4\n7D6/+vkSge7aK6l5KWNXDxmLbcq/E7fxDj5RIcxh+F9F3sJC/I1b580hO/jq\nJetFoUDgbYL8s7u9dbVCZrCi7W72ymP4QMHtmw33Z44Z/Q2xcV/K6zQ+sn1w\nMY7rwLvkZ5bKHz6TdjdjFuw0v3bKikoQPaCpUXaJX8Kg/ck250HXW5yEy4de\nOGlp8tAG2uo2yFvVMjjF+cls0NaFWsbCk4WuXAEPGjOlltbEWVAUuB9O/Hth\njqynjWLRoC8u+XaTuX59boeXMUrtZhCcS8tpEObdWXi4rQ8IwIenwo8kLgPv\nFONqOS/iU+OiG4fajY8XCwHOy9YkPP7gDc0vaiOcjPtdv7tL/jp1Kv6mKXTp\neQdjQ77ybowW4X1PbeL21ul8ywqp/u1mBz+cam7MfWb9ymM0nU+tvDVrXhv/\ndKVhsMo3fdSMvxEcD4BLaNnifU1AmXz9gIRo2AZA4fgm4A7Aty53dKKStZz2\nTIBZgO/ozLAZJpDPHbbFGsIJH9D9F2gJs4eZ78/4S/bb11DD7MsAhdH9eXkL\n34kkapqopXsEusbejm2Z8chIgq0ESmUHMyh/DmnsIe2G+JdotNvqOglTxz81\nijf7kZNqpswLkzYE39dB0g2kn4TeiS5T7vVGEyJoeRKGHmjaZxKnxswxMpS7\nGicX\r\n=8u7N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDR+rLSbUfas8C5qy8UlJh7BwfluWHbWuWk0m3TZPyJogIhAJsN+46AT1pFihzF5+68V0XR4WopkKhAYRpZg2GOriMH"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.0-typescript-621b78febb8ca6b2c4ff8c11a7a1cccc6d7fd0e2_1550777355111_0.903026695142092"},"_hasShrinkwrap":false},"8.0.0-typescript-d4ba255b6040019244522264bd3dbc68c78441a2":{"name":"drivelist","version":"8.0.0-typescript-d4ba255b6040019244522264bd3dbc68c78441a2","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list(callback) ⇒ <code>Undefined</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| callback | <code>function</code> | callback (error, drives) |\n\n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"d4ba255b6040019244522264bd3dbc68c78441a2","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.0-typescript-d4ba255b6040019244522264bd3dbc68c78441a2","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-y/HRO5LLFG3/N4MFW2iqdT/I+7ixjMDu5H9gluQYZ1CfJ5R61fOUhO30d5/q1N5fnR/6Z42m0/9Lr0O4xenCEQ==","shasum":"7106d31a00bf42eba5490249e7ae9e62683ac38d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.0-typescript-d4ba255b6040019244522264bd3dbc68c78441a2.tgz","fileCount":32,"unpackedSize":114345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccBRbCRA9TVsSAnZWagAAVHEP/1YnFTpfz+j5zYULbezk\n96aD/tTw1W40tjKL+1iOXy4FwanGRCEwFNuK9Q+gZEe0f8rvjFKCjWC+izr6\nCQAm3f3e31qCFy13m0Y1quyfjyjVqxxQB4hUpRavrtI5vWbEb0mvUItTnPCw\npnKAkzHbPVSAmflFqsWGVvNKtENH06A6dmGQhz76MKCpY8VNrIl9NAUpzvAn\n7nZtXdaTfr0zcqnegi2tgq9qCzGNbIWmZ3s4UziGuNCLOigMuJY4svvQTUXx\njAb9T//EI+MQVaHmf7sisGM0ibdZguMs8Xy9wZKHVt+CsJG1LhMs6IsDh+6E\n0XV2khQQTLvA+zmZi1jD+L+65K7BPVwcrNmaSZ3E4dkoSxF+anp1W8tM1NE+\nn8AbkBMg+rR1hboxqAVmmwF0Q8Vhsi8BqwzTlI1YEDXBqK4lwjO8QGeu80gu\ncb2Bv59QIGCNsZqciTJ/DYnFfhij/3T/yb2p/vpUEntzGAduE+3uH8CHsGwF\nKZhGf2jgeNfwCGtwW/xCvw3F1K+Sxe/r0Kj4BDqOlWeCuTam4v9lVqG0AnAL\nqvb34CLiNECI+NoC8nC+9GOb69siWrZk/fK+tsEKGiseOxdFdGebp+hGd/pj\nbU0AKen2/BtoNWE+hQD9AKRDNwjfDSKjHltaxbV5cWnkw/8VUsn1SOu7VjRr\nLWRO\r\n=rXqM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDizZkJE3kYQRSLGehAKhzjbO6/L5KP0yi2xusjLJXMeQIgPJB8CwqpRx2myeDQ8z5utPfcya376n2a1VTsdfqvtfI="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.0-typescript-d4ba255b6040019244522264bd3dbc68c78441a2_1550849114470_0.30243418239790776"},"_hasShrinkwrap":false},"8.0.0-typescript-ba842c9d2deb05d25bb1ccd6dbc574362fc57181":{"name":"drivelist","version":"8.0.0-typescript-ba842c9d2deb05d25bb1ccd6dbc574362fc57181","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"ba842c9d2deb05d25bb1ccd6dbc574362fc57181","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.0-typescript-ba842c9d2deb05d25bb1ccd6dbc574362fc57181","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-62qxjq1dCQvaoXkWlrGcS0/l5EQz9TmEN3sHKJeFWh190I/249uMKLZUnmgB6XSLyUfqVGQoGdFuwaXOK0M5mQ==","shasum":"24675e5fbe5e7b518216d2d346977056fc790af9","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.0-typescript-ba842c9d2deb05d25bb1ccd6dbc574362fc57181.tgz","fileCount":32,"unpackedSize":114118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccBjQCRA9TVsSAnZWagAAd8gP/A3xzaFpgEv130ImIp6+\nPUGYbSgxesZEQAOft7ICJmxhGAENJdOCGWo7BQWlIZxZ4K/IB3SvUuuARvjY\n3zavr2kF4mzpgXvqerZLQKfmkXYBaH1ciNU8JRu4/U97M7z8b3jweO4m7ySV\nK5TU6T75LayuY+Yh9wjwWGlLdc1E4/DXvXPYCyLMZE8WyXxEks4skdqeEokN\nQJyLjRlFpbDSiqi48M2GPlFKY+FrKajiUvC6UjVFBCxAFDSA1t8GWlDGImQn\n32Vd7W6QqfZXHrM+aCV1RlPaosCW2CleESAOCp/Z/9aYEVq7A61wDk8APAgq\nBgWziY6g2VjnPLqjmg3wARCaudY71/lpY3XBhw0Ds7eoewLpRn4vOFfv2793\nstFNRv+AMPA7fwGBX0eOmR2HtuK8JUdh+zMmWwJ2RflSXBYt0vQ3JNjl5HVW\nHNFgQuQ/kgtrT1Jpyb2jczZWP+vLt1N8wqw2JfiZ0vU4RiSWc02PxPLzWbuB\nJTeEuSDimvQxarIFdjlWlAWg0PFIh0QTDlY8YQxVfVqL4nBd5eQsvm/wfEma\nfFRLOLCKhYqxj/RYTtIbWlNVqgnHGrKPTT0YkGz6yQRjOyuJbLP7zjnwwphZ\nK9It2QSk6DKiRbnMU/ScV/2us9hNcI6fmGLjBcQdKokdTnzBHyv1Ve9lsj6X\n91Na\r\n=y1qO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzkWGCAcBbOvn5Vmaf77clLOGQQuWr0DxKsd3mhs8FhAIhANsK5qMskwDb3WprSOcbFArCUukmGjve2dEOoW2JrtSd"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.0-typescript-ba842c9d2deb05d25bb1ccd6dbc574362fc57181_1550850256115_0.2181645354622439"},"_hasShrinkwrap":false},"8.0.0":{"name":"drivelist","version":"8.0.0","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"gitHead":"8ff5da20dc458418fe867493fe5e59c44a2a5783","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.0","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-VsSOGz+dfaCGO9EUgbiGwsWn2M4E+LbYcwI0FM+8Ayf+5Raac1lIUnUOzH4030NKRicT87K+1pHiMlWV/bvy5Q==","shasum":"8a77eaba8ff9bc292bfcb95677bf6f064fe850a1","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.0.tgz","fileCount":32,"unpackedSize":114066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdDMYCRA9TVsSAnZWagAAAcEQAI9xTSpy8H7RBFww3mZJ\nA5FPLdkLGt9kc94kGaaCkpnJvNyerDFOpSMUrIqGmL+WN+ssmNXqSN5FYrn7\nBTQDMy4Cw6mcqKL7DzX4FLIYm0k058suz6CX3We7lEqEFV1mqZNuAFbaS1iK\nkBxfvdJA+3098WrHNJhuOrszblqwuOk/KCiNPaq4vabVbJJWPL4xvg+JiopY\njz8yvwo9WK63pQaganKlBrOoi+6b9NpM/5svPjvCHQfKimBBwGTlbdZGnDOr\nhpjyRpPvwCTw2Gk/3v8mf6uW7h10/o2+e3WZQbOyodPShT3eaitnGGKO5uMe\nTlT4CzemPdeErcgkizwaRFvTM/S4YyB29nx1ayv+osvqC1T/Qm5bnNt0GqCS\npzY8X7w+KdRCZEe9qkwODBhMoFHnVTAJHAD5Q3RyGsIUhlO3rU5bvWAdH1CN\nOuVAjSvRz/ARyD6/DBfzkvvEXSjFoFbp9Vi9hMpfCyU9grKI1rbndIy8ezP3\nNBn+tiTluBJWCz0M4xT9WEKlnDibOqniKou0qAt67Zva1dtdhlHZG5ZqDcEs\nbTKrMqDv4kBsXdQNrcq4OI6GWJ49AnxBGxdiTxBSON89cmocA3TEeDc2O0s2\nB0prxCZlkxM62C+8ixs+uOOObnLMtvN0B7H4RyQNypvJlPBMJvE6bIkYZSin\nHNhD\r\n=+WZt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDjBk/RufuMoX34LIF0aj0RehDQRMK99CCXtavKDk3aQIgeZHZf0+7/dmMOJNKLpPqsQkQe3VU9dN5CPRAxmB5qFs="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.0_1551119127127_0.7410287153447204"},"_hasShrinkwrap":false},"8.0.1-fix-readme-example-a68019f93b6ea1ee42e2af39dc1d8aa890bea95a":{"name":"drivelist","version":"8.0.1-fix-readme-example-a68019f93b6ea1ee42e2af39dc1d8aa890bea95a","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"a68019f93b6ea1ee42e2af39dc1d8aa890bea95a","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.1-fix-readme-example-a68019f93b6ea1ee42e2af39dc1d8aa890bea95a","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-r/UizPDFlgRPLI4wWkEhiJ4oyRVkHPGHF68MI2AKMfO/m3gs1YDyTHD5xHbaUmxXYl+VUkM9ugFHMFuuzMDlyA==","shasum":"6616379bc4fd5f3bb7d91de3cd07ee40bc6ae78c","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.1-fix-readme-example-a68019f93b6ea1ee42e2af39dc1d8aa890bea95a.tgz","fileCount":32,"unpackedSize":114163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdDSgCRA9TVsSAnZWagAAceoP+gJV0MY7OWSFGIGI47Ou\nZQL7cAEi3YHJkUVA9kn++4bawdGTEhV4/fwUyRiqQAyca4QOAWGIEsfYtz7M\nI44iltZ8mRgGjl9botpdcbCK7BhGVQb+b+/MCxPoB3I/QW7x3S/82EPYG7mT\nzx9pen1Oewgv7hz4pKn1Z2vn+h74GAsbSE2hzNcpqRxPIDB9E2ku+ce6pdQ1\nBylaCOdxWR8XHG1+Vk4IKxd9his2L/z2xfZv3jvh5F68hXZBiNGSfGfjrQB2\nzLSBf44b3P5h7PxO7S2lY3ZoTjFpidvVyzxNTBtmK6boLDQ2PScTJzW+rYzW\n2e+9LeIuoAjGTWQejRmgw1yfCSGem35mv5/cXN226E7R40oFiHbhADgPFOxb\nJqr01mtVRO1dfX2qgbI9J9uHA2CcHyWOzulUhi34Mg8B+BZZhJ+lgaZAERgn\nBza2F9x8x7vKTdG4pB6ptJKxSh60xDjtxHbrr1IQmn87gxY0GkpP6wvgv8I1\nXeqHXSoKsecFVwzSV63GbcDvoUDWWH3TjxuhOoV0Hvcg4G7KlFUbz7D3Fw/H\nyZf9lvY3+C/TRWVoF2F5m8FuXRSXyuqT6DtQhf04wx5ynpkZN3UuMak5W4Hp\nKFITfGtF1OA1F3ulEwOfjU+2rKpmvd2Mu/+DbygRos+v4ZIurm2B//smuOb5\ndIDG\r\n=87hF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIApgey/W+l8oTUJiZfHhg9nj0/LOvu1oXe9iFVY17L9/AiB6DANMnv1FZgI0X6NNlqBT9bUz3wX50nNCycsdJ/8NAw=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.1-fix-readme-example-a68019f93b6ea1ee42e2af39dc1d8aa890bea95a_1551119520013_0.1757666207689088"},"_hasShrinkwrap":false},"8.0.1-fix-macos-crash-7d895b5ace28ed57f495a12b551732916f73b60b":{"name":"drivelist","version":"8.0.1-fix-macos-crash-7d895b5ace28ed57f495a12b551732916f73b60b","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"7d895b5ace28ed57f495a12b551732916f73b60b","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.1-fix-macos-crash-7d895b5ace28ed57f495a12b551732916f73b60b","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-kPzy/ok1h5ND86UskgUUka8in3uHTqorFN7kRpHEdzCsEhGx9hl50+h1SdgeivoCJGhng5o7aqCxG/yIftoEbg==","shasum":"69d285320b58bde879aafe15b987b865dc016f62","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.1-fix-macos-crash-7d895b5ace28ed57f495a12b551732916f73b60b.tgz","fileCount":32,"unpackedSize":115053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdnKHCRA9TVsSAnZWagAAXkAP/1lExQ7Q3VZ4bsI8OAY3\n2fM1s+tvQxA15HclvJXAHAZkWQKFmtb/TCWIa+Zd547562fjQ+8HufOFJZIS\nnR/jhRKFvn5ifHsHtmoSRMCYoN49WVbEJoTmc/9W1qkAq764ock4CIDozZ8O\nAOhKgt2c4HBdmdg0xDMBx06BUXd0xJSWaSMPZn9tA6C6s6T1w/2XUm0vlLOy\n///lH+KZ9tGPw/3ueTAirovHTcKNBRaXtqvdj2eCApdr0OCINSja9rmg8Hzu\n3zAaJvwoYcNOelvfoY3MtbYLLtpjhPt9/a8hM6BUYUSJwLcw4OZBKCljuqVH\nKWMO8hjHmvF1ku/dHh+O6AMbvUKoZxCY1xIcUDnMD/UiESm7XU9GRKq0964D\n4D9MN2lHF6nACVNCr8IYC4h3J2iFP4Ovk0GLqEevSLXVIXWiEo6SkLlYkqVc\nS/96AScTjtKM9FXShA100IZeNRbH1fuXaP3ROSWCSyiuR8Q9qoQuX8kEb1wC\ni6wPM5EJLLDGmCX6Jj9uzY0xPCIjdY4ML3fajmRfICKEJUPIKbKQUXPTaPrj\nmaqAuYa+kprwft+vEgEZ3koBTG+axNXSRABcasY7JhKNAUhPN2mSXa1RRFDf\nPGwu1t5/12qgwWBwqGt+xi23cSacsDps4eju/+2DDLCxQluIhYbmhNeCx/sn\n7OUD\r\n=W+VH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHpZwUEAV61UrwjnlZMj+t7ov4WOOq/ZJ9IA6N5oO/2PAiEAm1zZ2o3Yq4KDVF6ur0mn8yrfHQIbno9LDGxsod12WZ0="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.1-fix-macos-crash-7d895b5ace28ed57f495a12b551732916f73b60b_1551266439287_0.06481878967239951"},"_hasShrinkwrap":false},"8.0.1":{"name":"drivelist","version":"8.0.1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"gitHead":"748a2c1db0c7ac8913382002ae51387c8516b5e9","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.1","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-PxEbq+RXPstbUDF3hyo5MUEnI5bxZonxpqRdJUIK7q6ENECwrlipc1i5aY4JIBHPPx9m+3aPNNR7GGd8g5J2dQ==","shasum":"748e697c9443d01b73da1c73e225e437b3c5d102","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.1.tgz","fileCount":32,"unpackedSize":114996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdofzCRA9TVsSAnZWagAAeH4QAJASoJHvY6FfSZeqcR7u\nAWd6dVdZkApAFRLvi97LVM3iBI8PnbT0mi/Gp+3FpT1KHOUGiHmKIytvHyjy\ncSigiKV8yAx1dzZUs9U2DYy7UYRkPW9DwgsrWTgQGXO4/jJbOLbhlKO1NTh7\nC/5eQpUhqEscchXWxQ5pHZH6qhM1/bEARIp8Sx7tviYhV2+6Hl3pKvWkBglY\nWYt9H8LyEQTijFK+EwvTn6AqUq4tNpPc5/y6auKFKp3XZ/T6QjF6PmMRHVQy\nnNNwL1UFGZe9ObtMBjQ4p+ZPXHZIJNVyO9mLnv8647I40vuCkWld9NsHd+Tv\nYANCFrcH/CyxntEsEbXjdx8ftGr9EY+XuESr09OuQ1HP5Fc6qWTvBE1Mwj8f\n0+JzxiztuePw9scRubEPXcYUNdlZR9ce5OpElZmyiZVF20D9IDT0WBAt4pY1\nHTk0hgb4kBWh8DEseN0yee6inlyCKolLHhotIhMCU2d3im1obIkBFMICWwge\nwmEHcERf8QA2a304eU0R2Rn94gOSAkbcyxNC7HoK7XYqZ/o3qWqP5/DisSbq\n+gvE/wIddl0jLhdtrT/HJqbMy0iNU1WpphIAK0L/FowQoqILGJUY2VjUv32d\nDuoTmwH1Q0cR7pNWPWiTHsIaDQx558jm125zFzPzp/NjM0gUQeQLv3rUAsq3\ndvv2\r\n=xyKO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnap51F3swWSyjQdOEMM7trOo3xpHOxem5y1QRFSIdyQIhAMm9OeKEHHJTAe0d27GE0QHpgH3Ib+V01hxWEDqYxDBx"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.1_1551271922887_0.34008756439428955"},"_hasShrinkwrap":false},"8.0.2-fix-is-virtual-macos-b334fa235ae3fca34ad5c5c939107e33854769d6":{"name":"drivelist","version":"8.0.2-fix-is-virtual-macos-b334fa235ae3fca34ad5c5c939107e33854769d6","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"b334fa235ae3fca34ad5c5c939107e33854769d6","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.2-fix-is-virtual-macos-b334fa235ae3fca34ad5c5c939107e33854769d6","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-x5bIuCplqNd9SX8WLdatM8tVp1Ulr2BLBgvns+Cn9ORl87G7i22ejzcprhGBFxoV3YENpmAw96DD+ahD82DGOw==","shasum":"e37558a681886cc7b863a66ec40ebd1d229fc7a1","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.2-fix-is-virtual-macos-b334fa235ae3fca34ad5c5c939107e33854769d6.tgz","fileCount":32,"unpackedSize":115220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfTGCCRA9TVsSAnZWagAAfq0P/2ZV9tl94fupL8L0jbfX\nUVxixEvZuHlFWUXG4sD+fweT40URhRJIFe7ZQglfrXqHmWoSsW5D+WoNMeIV\ni8s0z+5FYtW5vsFgcDf39nncZh52U7T2/TfMph8FCIh8jpI/DD88GBXg8nN1\nmd7cb+l9BTFGgwwPaI+QhvlC0mOkJ2aA8z1I7+Z8g11HjV20kL8qFZxewV5h\nGnFAQ6L0o1PTXN95oY7AwtZBvMBgpbRj+QmjAwxdZ0uZOs1sSLwPXgQANzG+\nwgPQvuk6KNPdQjozU0usSLga0bvuAw2vEwQloL9lGne38Bx0tK7voh4jxxNO\nVZJ4LLLpr8MXMEHS4d9kdjAJ0NC3AiRHyA0L6XJ3oh+0DMmkQ3+edDST5HRm\nb37QdFbSYTnP7gAkUKAE0eQrW6okeTmThQruLYP5X6QYpQ5BqVQ+7iWgHt24\n3vAHUfw0BNObioEJLOZJJqgLc0z/ar6EWopojNwS5DlIOJ5SujwOWrw7JCNm\n6nSKkVLL5Xd7Bzk0DLU1PRvGV43uQCLYHdGdWRVbYu/fyIJ/XcpjwSfK8bIb\nvWIokXw3zPi946ARP/PrJIanViCDB7eQoEpCYSq1lE4jIr2DQF0ggXNdupiN\nRxU71iEoWj+LmSVu4Exb4IJ73xn2CZe9x4ILwmF28wbrYDMQ+y/H+g1OHnwM\n4eRU\r\n=BWaM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhD+2NLH/vgzpeo82SiHKpAnIJmGc+MLawEi3GUrxM/AiBsCAIRpDk9VWiZdoLfMliwJiAVbEUvwbSdWPDm2+K+Cg=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.2-fix-is-virtual-macos-b334fa235ae3fca34ad5c5c939107e33854769d6_1551708545952_0.7431642205469158"},"_hasShrinkwrap":false},"8.0.2-fix-is-virtual-macos-dad391423188a148f61daa16eb0a5986f6a3beb2":{"name":"drivelist","version":"8.0.2-fix-is-virtual-macos-dad391423188a148f61daa16eb0a5986f6a3beb2","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"dad391423188a148f61daa16eb0a5986f6a3beb2","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.2-fix-is-virtual-macos-dad391423188a148f61daa16eb0a5986f6a3beb2","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-J7r9nYIuy3uMS5kQZ8a/ecQZd8KeMWvSOmmrGja9VC6uSCRbfCpzOaRh6/Ard2wMHvMoGOby27jqXDWGWfm5sw==","shasum":"5ec315b3452ac49372d094523fd17050863fabb1","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.2-fix-is-virtual-macos-dad391423188a148f61daa16eb0a5986f6a3beb2.tgz","fileCount":32,"unpackedSize":115061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfTgkCRA9TVsSAnZWagAAnQoP/RIM3CK+dJ9/Ytx/3dOW\n4JnmqcxqpD3PUMbp2V6/hMpjeVqNKuZGfrBP+xNFdHDFtrb2aui5wnGgFN2o\n+Y2UJE5w9ljDaWpGRhUxBb/sEHknBbYoLd1Vn5w30MfPYBODveKGiGn81RPc\nCMOR5LnLLdKq6Qf7fnRcfNPAUah7emhOp67bk45moocrTJ9rImMSaBdNcvv8\nRbpWTuq4NgPqNo0i8W2e58baFf29ltcNERuafQBRVVYOMId7o4QuQPf8Pt6y\nkZQrjo+FWRnUDMj7JetXckmzkTZ7lfoaoKT+EOdPABSf50Rufyczt8Gsn7if\nuL+XQF95s8pnwxzpvKcy/D1k/vfUM/f6eXCLbak8yam56OarkcKUeYYlQ1vd\nuAT9OuaZjly3vcAaUSUpjUEGITSJmpM3CCtQ30USv9MOugo2a/UEV/K/mx39\n9reJI39jEssy8+0Mw9hM53wgZXhnJaUiOxiOODfTgnv9ezjD7ZFZpDnWzgia\nO2Dv5sQnVyxN6xETPQwDlauKiDIHbdN5lJtw+43wcI8mKmupHtVw4GQWUrZx\nvkiF9DIai2rrdtGtONzb84LV0hwhoSoD2sPkJKS78ToWx8dYoxy4NCqlh23v\ntPCyflvd3G4qmLG85bUECBOwq9ecmcgqOchBcoy3hYh894s8vS50yCloJ18r\nndxf\r\n=E5hM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFHqrvRQghpvGOIBPkIawUPzdeR1u/mQAP9NTa6Nuqv1AiBoxbDgtQaYRLpWw4yNRBSzwbANHM6A6hsApFb3c31hPQ=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.2-fix-is-virtual-macos-dad391423188a148f61daa16eb0a5986f6a3beb2_1551710244106_0.7692263704480096"},"_hasShrinkwrap":false},"8.0.2":{"name":"drivelist","version":"8.0.2","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"gitHead":"5a5713aab83b3ed147235c0ac2d0a44eac136983","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.2","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-m9HUfndFQjdvrxiBpP1nRz/r9zvG0LQF591G5/3N0eJYJI7E6fbOV+NStQMU3AOW2InZsxG27D3v0aNtweFfCg==","shasum":"b7af7501ee14407633a673d61154f8307da2d03c","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.2.tgz","fileCount":32,"unpackedSize":114999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfTnOCRA9TVsSAnZWagAAFA4P+gJ7Cq/WbE8KOaoh/J2j\nSmqNGX8Y5Eu5dsmrAGY8sZMXUCLQThV3QtdBXkw/ktwf+2a8nF6tzf+KRwlL\noIyNr9PLzproJ/GfFnf4jPneTMZXrPq4HFP/hx4XnH+s1BHUrk2kJnxEYlAh\nVh5ZP1KRz5rd/0V0tOqm9VugqETd4gEU3RmsiJKKl5J+uVb19gqCoSwsDuOT\nw5ltTDELrqjRl2usG/lEVZbRazoWeq/19xhP7kHNVZoM49nxZHaNAlMtsGEd\n2Gw6v5iTIxaGF5eKO+hylcPTPVYlBSmBwx8CuY377bEAi4Z/n6Sj+J3iySuf\n2LWH0a8CKYSj81mzj1fDuVjdeUYT7szaZwrkR8+qVqnfjA6Ywy/WNAJJxUUU\n5NtD5S0ZLQC1cbhuoHsw8qwsLGsZe596brM9lbS4I4sz8dQUCNs4s5gmR+Zm\nW2rc48/W3dTA0zHvJnsE898Vg4tjuZdqgCK6soDyivDffeVbX4gQDLBUEe85\niWG2ru+9LBH6baCYod1oXpn4nlhTlgMcfcDHwk+49fq6+ktyKEhcp4bpsE9Q\n/gNjnoNITqJ2XCjvk5J7dKpyko4zzK7gLTsfrRWj+XHktdiffYOADf6Bf4Tj\nPPmHj8TcLvETZnU8Znjd5AV0opLy5oObEKzgSmNVcaqyZsxFA4YSFh/c7Wyv\nmUhF\r\n=+G9L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkA0grHYFoEHOAVf7uoGrpxJWSJN81EbbkRyiK5der0QIgaoQxqKEWYVYtT+HPfKXLz/LaW7+B9C/hyV5ItViRlo4="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.2_1551710669625_0.4709282174842795"},"_hasShrinkwrap":false},"8.0.3-fix-types-d04ffa45fb645228d4deffdd1391b3166ae3a5d9":{"name":"drivelist","version":"8.0.3-fix-types-d04ffa45fb645228d4deffdd1391b3166ae3a5d9","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","types":"js/index.d.ts","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"d04ffa45fb645228d4deffdd1391b3166ae3a5d9","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.3-fix-types-d04ffa45fb645228d4deffdd1391b3166ae3a5d9","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-VSfJM2k5TvUxJN5vN+Y3gS20m7uK/c6sIB6OfWaFwlP/SaLkQc9uXp2gPDnImMQd2d4vSDnmYLmy+GSD+RV/KQ==","shasum":"cea472b6412b02cd12e6430b1a733dafbbd6ff79","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.3-fix-types-d04ffa45fb645228d4deffdd1391b3166ae3a5d9.tgz","fileCount":32,"unpackedSize":115164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgmfkCRA9TVsSAnZWagAAZJkP/1oyDN03FSLAvv7j3kFx\nmLwDZQZZQOU8ceDYS29VQerGSJoxico2hfIadrH3psRICQ368DSlY8qdJJGw\nl147BPi/T4NfDriK9fVzO+081BwoYl5kixF5iKV6Hii4giJH8lstNJlA2Czb\nFx8/LGVRT6bqwaA5Q813e992u3bCz4D6Ik10gHnXG53n/DnyPeo+dq7DCQ86\njOpTNmJ3G7Zp0n/tnbFK/Af1asqpZzmLTOmAKsyw5dAelnjWhgo3e7xL0hps\nHdIUao/tXg6MVCZyIqOPsyvKbODbx1bOkl/2TUlIWjQZ24Z+ARNzaDbLFG9B\naaNAzhyIg8+nJChGgvl6rnNgThxHB8HdxRk9QU6n6N1n0aRB5PJjoFUGQrr/\nj3xA5nzSILoIYD5J1TqDx2EbxsDTR5kJquHS4kZg3v1GLO+4W22Xs9zltl68\ngvyw2ntk63GcRxOG4wtHyMiOfsujnWvEgC2u+p/g3tdZDmwjkYEqjHBxqLoI\nF4QqJLCYqw2Tyh+HJVSOJnHw6Pzlkd5ETx5ZfKpJDO41DE6QuhDQGWGa26bt\nme8Dt/tlPQz91WDgP8fhBbMoOpS+YuqyMP1l/HfBFwK4INwwe2hV9QK7xgIa\nmD10zvzPPJvPHJwl/VyoMHHGxzqEBDa5oKrjB0pNc7LbIycoLEWRssA0e5Oi\ncUct\r\n=/A7b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSA+b56B4VHY9pMXK4Z4pM6n1ziq2nnORgXVV3fWdJ6wIgdK+X41sSgcH/RUqGgUHxzW6RI+C2W7fTR3PPYUILox0="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.3-fix-types-d04ffa45fb645228d4deffdd1391b3166ae3a5d9_1552050148278_0.6849866088653789"},"_hasShrinkwrap":false},"8.0.3-fix-macos-leak-929fd6110d1f3eb9bf7bdcc3d27b6fd02f5c6a93":{"name":"drivelist","version":"8.0.3-fix-macos-leak-929fd6110d1f3eb9bf7bdcc3d27b6fd02f5c6a93","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"929fd6110d1f3eb9bf7bdcc3d27b6fd02f5c6a93","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.3-fix-macos-leak-929fd6110d1f3eb9bf7bdcc3d27b6fd02f5c6a93","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-sKGbmUKuxQsDVMpTCLZeIDFeIjec6ORi0LGA8VhAglGN7RBGZ51H5T0yIWRcl0KZnLaPx6fqvjwAFAN1SqevXg==","shasum":"bb4f2c2671f2b1a701876d231f5e57ad11020b3e","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.3-fix-macos-leak-929fd6110d1f3eb9bf7bdcc3d27b6fd02f5c6a93.tgz","fileCount":32,"unpackedSize":115252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj3fOCRA9TVsSAnZWagAAMdEP/ROFy5lHoK2C85iDuqPa\n53IBIp3RKGSIqamMFJBcEsbsAvAlxa17uDtjQhE1x6NVjK8kPiSYCrbrr9UW\nDd9WdAczUPV5Dymh8r+VRablm5+7VAEAiNR6/SLylwVe74wnN1zgUbU8Bctv\ngfu1WNK3FDSDrWE3MW0uZnur6anHuW7YvKF3msmkmF3ce2ccP2ezi+DYxdgP\nPdo0fokSnJEOKrXoo8nMEgcON5+x0elUJBVHUjNt2Io9UAphoJk9qCJvbZQd\nYBvRso4HL5/eKL3epefME54k8x8zCoI2wetE99WeMaB1OwPWaDj1Kfr3uzBW\n0Y1kCjNWla8S4NzB/9cdOSL42F2UCNyzq2TbASMEva1CvcolgvTPiqYKoztq\nbiSvxm0g95uBXbgD6zu7wb34yem8imerSOHSOr6s+zLPd5iNdqhFdO4l3xfr\nkb5lDU130G982RPzPy72wy5ccWC2Q/r27IQ/2+XVFRJwwkblrVQMLVIjxe8z\n2Zqsk22cp9ySd83exVNefPX8XcUNJ8WwPgqPv1c2VWZDVtd8Ei9H0egINXgO\nHgmaqjbtrccAiOs6a04Ug8vr+iligXU7xcG2GXGU7gPAO4RAHnRplIvOQRYN\ni64S05K0rDBQ53s1OagG8WJK3QXsDzvmvI55b1MM1YQP4j0Q41h+v1GCHevm\n/9pH\r\n=fj/q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBjxSKl0nxHS9OafrXdlS5xY3BvoX9/ko6tNO1OzI+cAiEAx7UhaCbA/FV/d/RUCibRpe7giu5BUOuZuLD1n7bj0XY="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.3-fix-macos-leak-929fd6110d1f3eb9bf7bdcc3d27b6fd02f5c6a93_1552906189387_0.03860566798730658"},"_hasShrinkwrap":false},"8.0.3-fix-macos-leak-8c37f44abf5b7d0ec498bca29c29171c5b0a13d9":{"name":"drivelist","version":"8.0.3-fix-macos-leak-8c37f44abf5b7d0ec498bca29c29171c5b0a13d9","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"8c37f44abf5b7d0ec498bca29c29171c5b0a13d9","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.3-fix-macos-leak-8c37f44abf5b7d0ec498bca29c29171c5b0a13d9","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-EMGXgxLhVHZwcY7vB4ivilXghL5vv5sfPFRzpoJwYUvGvKTqVCjFbLh+tHYWPNy8rzfwwewytudkpaCIiJddcw==","shasum":"99e5a54b7eda906e0333e0c2edd527f3e408bc1b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.3-fix-macos-leak-8c37f44abf5b7d0ec498bca29c29171c5b0a13d9.tgz","fileCount":32,"unpackedSize":115252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj3poCRA9TVsSAnZWagAArPEQAJgGJfN83HJgCUxO2/SD\niO/QHMC8HSvrzbTcKKzU6C0+RgNiTxuq+cB9NELn+2VnTOZFONF/ibKCynde\n4Gjd/DbG+35BiLyD9rTqGjgGiwKRi9l+jaqh/lg1rIn7NVwxiaWs7V9LvQKy\npbGt+ZqC65BOfX5IDZDpicNTk3mw7V1eVlewQZt1U5eKIsY8lD4H/vkZeHzp\nTn06H1t+HnamraFIZCIegRWgAY23cKMiVxPfuKVqA8idDnbNCM7AZHGuKwy2\nU+eUbh97ic3z4xS25P0pWnRAFFNP0b1ZZDRmlTjJbaVsYLcZoK79RfknaXCW\nDJQi2LMGhQekuWedX17mBZaozjZZ+XIVAntQfxvDq2NqVh8nv8bWcgtq0IIU\nY/r8Z3cc0Rp5ZrXMdu6DeFDhdMTL1xVpqhE+N83Qs95X8znGTTmkf05Hl8uI\nr0OS2vDBXRzOgxo3/FWnm2uoF4dXhdLxdspvvkVT859ExSUrvA3ew4kpceJx\nelAR3jH/WAO+qd1A1la/Z/Iu0jDMzhvOLCBHYRl/2f56RosXEN/yYJYY3gUU\nbnZt+LkM8OwR5hBZ8ShqyMmyVLqXFmWpqXowtf3OU/+nQdUR1sL9UHhD9QvN\nZmDW+LAJrr++FNgdgLgPNIP0Dp04sNHYTN7VARv6patfvFgtCEt+OK+mwfu9\nyKA1\r\n=P+b9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpm+zj9KVmxnmj+6EMDuJiET6B1Mf82C9IEHcMSDmmYgIgbotRNLDrVovdwgNr5TJpC+T32EHahiVuc9R5auNGQ6Q="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.3-fix-macos-leak-8c37f44abf5b7d0ec498bca29c29171c5b0a13d9_1552906855817_0.5561712967958512"},"_hasShrinkwrap":false},"8.0.3-fix-macos-leak-e75f47a9556b84724fb8740aca19386333db1c5f":{"name":"drivelist","version":"8.0.3-fix-macos-leak-e75f47a9556b84724fb8740aca19386333db1c5f","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"e75f47a9556b84724fb8740aca19386333db1c5f","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.3-fix-macos-leak-e75f47a9556b84724fb8740aca19386333db1c5f","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-OXJxOV73U9fEFJ5AG38euoSbwgf34CO9XGdZcycLDhGv+O1/Cc0893p6zctDorFuulT2oFvcujvkKPwETt5WHQ==","shasum":"73fd330d666a593dfaba444722c728855d39aeaa","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.3-fix-macos-leak-e75f47a9556b84724fb8740aca19386333db1c5f.tgz","fileCount":32,"unpackedSize":115252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj3thCRA9TVsSAnZWagAAZRgP+gK+ALgjnho3CmqpC32O\nlg+kWkddQmpiHJoFUF7WmDJuoE+UF3R0GJlzd682HcX9y1DgORWiAkpLKt8/\nht0ymFu3hmhOPNzh3Vm4q3UDLpf+4A7afycnaPJApRr/i/P46roMoIkzrpkp\nnccpAYarVAiMYyagNQqf46EuIGjrrm8ds1Breje191kB2Sou3kWLMwLVEKhb\nnP5RN1RnijavemhaqRZLeI/VBUzJeblFFbzlHC55d17laafLhkFAel2qu1lb\n3CKDDNv0sE77vmK5uvNqUseRwRLnOhxRdvbWjd4M8iMO8jc4Jl4ozIky2Gjf\nY4VJfaIchm61iYitEIGLjPfMT0cz6hW9E0Sy9D0Zmyjy0TOIch8IO7yqxRtw\nSOJjKHcCkxH+BMcbMJCfEJMRZD/0i9lZDqnLr+sJ1+LD4C7VLmVcGk8h6EKZ\nme21GxqvQj85xLvfEsVKU/bQWjqRJs5wTeBGvPijpQ6x6lxycRkfjH7xV3+h\nZ5eF9nmBLxq6ofS++bU8VLkAYXR68qwc/+mZH0aEH4qc2LTDbG3s+bk5NvZK\nNUrU8eoMK5E8QZwOvDu693zz07076geY6Cfnn4d7qlxodiJImo4ekvHI09iX\nKU5xZytEe2lZmTueWb9L8kYNBHsTbFXh/GzeQCTjqF+9uiRNq6zy06Igxqyw\nAf0P\r\n=5qj1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiUJeoMMvhRtUXCLM+uwXJ4qu7StdJgpEzNsYfraHoCQIhAPHuN5BCjWW89eocirmXl5J1TQDc0bQt8xjhZMffZ5uZ"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.3-fix-macos-leak-e75f47a9556b84724fb8740aca19386333db1c5f_1552907104652_0.1527856109668373"},"_hasShrinkwrap":false},"8.0.3":{"name":"drivelist","version":"8.0.3","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"gitHead":"5e1c6742c35ef313003d0ead712947dd4427f2d5","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.3","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-dogIn7R/62m6WrQoHwwTmEZOd0B6d3xGPC1OpjGy6kNryON7sbJGnS17qn+Jczu7I7c6z43N5hBiL4+J2vsB/A==","shasum":"99360998563919c1113684fefae22cfcd2fe4bb3","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.3.tgz","fileCount":32,"unpackedSize":115196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj3y8CRA9TVsSAnZWagAAz4oP/i7AcT5MXb+22+zjx7w9\n0IMdklETPqeEAar73faTeoSP3LUuF7h9u272nr2QJjOxSkSbV/bUoCze8Q0t\nmscY47uggPZKy/2ytAT2rNhztR7MSfFj4h5Cw4C34avglgP1kU0f8vv8UvHE\nzjS8kZv7ArBspY7rSbSoM3p5699GAzvK0WdF26a69qWgrOnlQ/ZYTUND7VV5\nj5YHUJ/t6HQ4JJIQu+tZ2xz2lzIOTRWma8sP71hAuIg6fb9Kv3aKGOBX6zgi\nX4cpLRB1pDrQ0FI2nU1MKe/qQ9WFBq80TB+gMiszEkooA37mm2ngEL1OTjaI\nt2Bvb3loS6nBWAvXUQcIIdxb354H5Y1nlzmV0boGnR4w5bwAWqb6tkoj9VB/\nPH2teZjw/y+8oxWpA0AkysJOBefSrDcxmmfKXI6g2a5EKLW15onRbP6eArUp\nGpPS76OugTH2GItjklWSBI04+oAW2Gh/dPBdBgiMmNJitf6HzC1hd5cexJtB\npcQlZawqIAWSETuJwyD6WoiHgDOUa8ybydxbRXJU8i41DR+lLJYys3VyTNn7\n5RMyMTjdq0c1ZhkZo5W3xFYdhxDcETFLnE0dcwJLUnX2X63IGpChGPfYqCBa\nwPdBHkqZJ/TxhtvXSgNP66xdjLyK0bvMUkNArnThhKmuL9JEdLwXFAlZSKZW\n+GpL\r\n=YhbK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXFt0X2hMlSIoFHXG7hFWn7hCVjPeTXbFeSz4bYaX89AiEAnawuad8lsJwP01vsPaXWP3ZVa3EgOZrJzoZvbL9C4Po="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.3_1552907452128_0.8941141228722065"},"_hasShrinkwrap":false},"8.0.4-fix-mac-os-crash-1d10303df62218040faa8cec91b3290e066f35d8":{"name":"drivelist","version":"8.0.4-fix-mac-os-crash-1d10303df62218040faa8cec91b3290e066f35d8","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"1d10303df62218040faa8cec91b3290e066f35d8","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.4-fix-mac-os-crash-1d10303df62218040faa8cec91b3290e066f35d8","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-0657l6i+HC2QzQket4IgMdrCDMLG6qv5fKAfHpWtHSzJP1SEcOmYl/j2d346fApmJ8OGieuAQtPKzuLAioHRfg==","shasum":"ea166db132d53b8921793c5865fda8aef00a609d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.4-fix-mac-os-crash-1d10303df62218040faa8cec91b3290e066f35d8.tgz","fileCount":32,"unpackedSize":115367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckL0LCRA9TVsSAnZWagAAcbkP/3HBMY2DC06MuSz3ZcJ3\n8VIqIA05FtQuWnGdlmRtq9+XkWIrx1siBsj4FwXKe6wVAizNBvyoUicTv6Se\nloHuPB6BXuuknY6/VtP460RDeb90cJv1RqSzO8mD4t5Z1tmM/1OuGaYEaciW\ndBbBpM4bVMMcJOuJrrzz9YK6naOTlcw2Qabax/yR48HjUUAaPiNC4oebCU6P\ne9EbCf9dgSP1MNjleINPhg8x+3YrXEsYBLSOITukCEs1O29nCT5DCP1yyIvs\nP1lMOMIKNSFxa8urYlq4f0bNmD/VyMyQM3APhmlb33sNNtIPI+o+83i+NxuX\nfLAgoOuJW/rn3o83Y2LV0ouXol9wsM1vtrfptIHKgSHZDkLSN+AKv4VzifWs\na6CauaL3sycAH07vb8JXaYwpQ9d54Gvz6dg3VhZhMA3GWSpL8prZlH9Y1uZK\nFEnF5vtpFsL0Rp9MBWmSvPlW0ank27P8dcosJ6EU5oy7uXHgJwwpMKTmhGfa\nFKhUfqlmucCVYsZeh8taFE1YiHXEIsEhUr7BO76nsD+MUSgFdsgCg7fUWR/F\njxSl3cDb33o5e2shjO92sbEwrJXjUvP6mU/3WrxEqQKppa6tGPUeWXr/2Y5+\nO6llNRRBzEMxxoX5lPT6b7AIIzx6ldcOFcWYQ+4As7uQzXW1ZBL/AxzKV07u\nK4o/\r\n=vPbT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAgsLasjQwHx9aBubAAawMgZfuCu1fY2u5DKqw9g17rZAiEA7ZldRhO+RhyY/aiNKiLhUDazURKRf4B1BWsYgeZYXkg="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.4-fix-mac-os-crash-1d10303df62218040faa8cec91b3290e066f35d8_1552989451242_0.03897376645697759"},"_hasShrinkwrap":false},"8.0.4":{"name":"drivelist","version":"8.0.4","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^2.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"gitHead":"297cd340dc79342c2a7b3a4afe86be086b2074ef","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.4","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-3biGOJ217vd0rE29E1k+OmZ+vdEgUx4i9tOriyS2ua1rVgQ2EauRCMfQgIzkxzU5Uk0xwAlyxIojPTIUMHNxjQ==","shasum":"1b4690a6c053082529960bcb92ab5f770e7dfd80","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.4.tgz","fileCount":32,"unpackedSize":115309,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckOGNCRA9TVsSAnZWagAAcXsQAIy35Ur4qCFS/IJaQW71\nH0HGm+6m2IcqJ9dpdqCc6DsY+EJhWkKkve4ycx1V3LyoUSiRmCQLicL/5brZ\nboyur0ywvvLij2dfz5SDMFlJ7S5PuQspcEV7nbZHAW+VJBNUb4c65Nkp+zJP\ni/1NHO0se1eap+jRPy+LnFsi5LxXsjBtZzzZfpKqKvan/6qKxT+1RgF4Q0Sg\nruIOthPizi6QM4UzDM8Z63yGnJBq6i4oM4UnDZX8MvOOoOrep9fYwUOs/Pk9\nlKT8f/lBGk3sQzS6dBbcZr3GxEFNx32cYXkEi2trSJtaMV3jfwKnOrVP6syl\nzv5/cDklkRja7cKi1XHT2aZQBIYdjGGdfAJ6uKh0yplnLHFk2gU58dlsfXlo\nnAx4HcxJn+3R3rzi6h0+AioDhP1cY2eHA6YhieXJHPPWqs0SKnhm9vFt2qbq\nDiFyvklVlStP/83rSaa7d8eeIOidLwItpE28SKx8aWH7NcMLyJMPo9yfZI1b\nBqNKUfzTXyQKxdwR8XfKE7uH6VrwKTfXJ5WbGOKd1QbzAyoTBlJ8PdUs44xj\nAi5Mh0Ylgbss5GMDfv9bfv3vIsYntQABaGO+Y3/Uew0uvY6D6gxnj8wkoSUb\nN0coVkWQVCfrIL/+mkBoWReR4qQ5sc3ioY/lxGgoqieM/C+sjqr2ZQqOxkQ7\n8+rF\r\n=RNTc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCYHa8+hQRpHK5zxFAUA7XzJR/tH1Mmi2IoBfEM7TJ8AIgZGwfr/utpRN4XstTqa5Gmk9KDvMF4uga5vXD8dUoxHE="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.4_1552998796697_0.5542285559643838"},"_hasShrinkwrap":false},"8.0.5-resin-lint-3-16958ef29ca4de357fe209e5c69b24f18ef5489b":{"name":"drivelist","version":"8.0.5-resin-lint-3-16958ef29ca4de357fe209e5c69b24f18ef5489b","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\ndrivelist.list((error, drives) => {\n  if (error) {\n    throw error;\n  }\n\n  console.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"16958ef29ca4de357fe209e5c69b24f18ef5489b","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.5-resin-lint-3-16958ef29ca4de357fe209e5c69b24f18ef5489b","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-nc6u1WWZcS1/zZdG/8vmbUktCc9sxT0V02fFnHSr1UPq8GFe+7Osy430L0RDvtBz3Sya5Gn4nTTMbjBX3PKu3A==","shasum":"4844dceb214f728081ffa7e6c5431276255241a9","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.5-resin-lint-3-16958ef29ca4de357fe209e5c69b24f18ef5489b.tgz","fileCount":32,"unpackedSize":115549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckl5TCRA9TVsSAnZWagAAjPgQAJ+m0v6V/LQSF34vSDOa\nd6PDZXo5CFcFK2rrdPdJBZRg1SMdNFlzEpJzaUca3ycVZtxAYxa66I36qxSf\nequrbB961Jfr0cHcJOpqf94FHr3BqxCzERHI9s0n/nw/eZQ38KZaOB/79sPB\nhZmreXElUQVTYFD2faG3SWUoJwcWxCTVug2N1TPxQaliPEJS5j4TWESwwLTK\nsSDZaU5EmLNc+3/T27JP4l5A/VGoPYg63dpY65bwS8GgWZpIJJ/o3OpPiYyJ\nc251v7V0R8bxXU9hNCicL4h4lls6ap330PG5wIyPYYOUvFbp0kU8Lxh1YSST\nKGjru4LasQVUi/+theyjzsfBf59WbvsHndIVyxi7h2i54w3pPKZL5vLCjtY9\nk6I0wlGg1VetrJ07Ou3cLJ14CYqFY7K1i4kavzy3LkAAQ8WDELAF81hPnH5m\nypJXZKGLrt7KjHz4KvvmnNicKNrjcZAcgmm+DlAY4VGdL2PgKK0jkzUFIEBB\niuXIXKuV2O23occvYJjUXElDpIliFeCYb+YRR5hFldmWZKpIQFf/ojopO4CR\n+79yScEtjtDh9RZas5VS6fqxJefFv7XyUFcsf3ZdW0o5hH9SurMl1YWzExMe\nhAmuBoFC902RvQDvmhOXojCkgpHjogu1EGXoa3PGPFUGJzG5Y3v/x6R9ZvI/\n8N+H\r\n=OEJz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICFTVmQcP55CDs5p2yygrADnh1NxEPIa2Y0YnlGMasiSAiEA02AKwv/UzjtHDXTAbuCzNh3PB7SbnsyqEywZKdGqBUM="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.5-resin-lint-3-16958ef29ca4de357fe209e5c69b24f18ef5489b_1553096275233_0.23479426258433533"},"_hasShrinkwrap":false},"8.0.5":{"name":"drivelist","version":"8.0.5","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"gitHead":"e8ea93759614cee6337e8daff40f0e0edee482d9","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.5","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-BBMZeTxL4V+y2NsXW3bj3WSXpz+3hE76TD5MonsRho220z8076DckS11lPpTD5VjycysBcyZFcGtpoM8mcq5+Q==","shasum":"9968092724d2ffccfdabbc8d1f16daee3869c6f4","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.5.tgz","fileCount":32,"unpackedSize":115495,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckl9sCRA9TVsSAnZWagAAE+0P/jXG7S9N2Nr9AMbbrT1Y\nRip33UtNKbl3JFDKiAn66leiDFAFt3Opyjn3rzf+gMRtjx3m49FuQh/RoDwI\nqC/0xSGDe8fi1zbj8TQhYTGzl7yYBd7as0AbhuVsdmlaw9wf0O47eGj4Q8hV\niO53X/poZbIwCAw3yUw7uYgL0stpAyEjMZTkUvimNv4b9bPlNlL3HWT37t/8\ncWVY3l6KTvLI/CbXmK8ljBy0lBlIJVdE98AIUcZhbHmkIzVzfJji0zgnsoxj\nF6xpJkoC6tGmL5u9r2Q1UoSfWT1WhKjQ7BL/b9o+6hAoWwTtHzBTfisgnBMB\nuYJBqtt2H12sMSeCkaXV/qpQ7Q/BOKWbcZDGxfBrNtWfPmpYbba9BD1DrHm6\n3pMNUEkLWcPzGI9XTEtwMEn4QM3ru5oe/OVzoaSLPiDh3bCFLB2VdjSSUK9y\nmDBYasugE1l3TnP8TpJKIIP6kM4r8iiPxwzjdf2Z/ShY6q9rjAOix1F/lVA6\npwJ5cVA/wuW59F2cPlIyMsXGISI5hCnx1CfdDfEwWfNhVWggpynZnWWkHo+U\nlN+xfO/9tiiYsbbBcasGCor9o6vLDpCvern8wr2uWMrhZuU775pPBoXzoXk4\nZ3QUM8ysiRhsTeZUbVMvD7uotGqbB4gHwsXtPVEbM6dFyd/L4C4XJTZGHQDj\nRiuQ\r\n=QhF3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGm0Va0I41tBWobeBO67N4637fA8P4EslZ7167UDh9y1AiAqxcjmgBf+UiQJn8274v1WaFKMJ5TOcwB5DPEa6xikhw=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.5_1553096555274_0.20715397121410906"},"_hasShrinkwrap":false},"8.0.6-fix-readme-example-a13aff57f7bc1d65928c61b5e6dfc3c3899ce122":{"name":"drivelist","version":"8.0.6-fix-readme-example-a13aff57f7bc1d65928c61b5e6dfc3c3899ce122","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"a13aff57f7bc1d65928c61b5e6dfc3c3899ce122","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.6-fix-readme-example-a13aff57f7bc1d65928c61b5e6dfc3c3899ce122","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-L9FkWKaOXddgp7wNDdJuuzZsKUSTLtweEeT0B9YpH9NKRglqQxt7nXqeZfPShVb6C5pIJouwr99w3XHIcKKuBQ==","shasum":"1fff208747997ae2b895e6f72222b9f53abd3f8a","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.6-fix-readme-example-a13aff57f7bc1d65928c61b5e6dfc3c3899ce122.tgz","fileCount":32,"unpackedSize":115592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckmJeCRA9TVsSAnZWagAAr5MQAKT3TfDeV7H+WsaD3GuZ\nJvrnc407s8CvrdBg1KpF6Y7025KjSIpEr2ForgWZfCjOJehJ9g2Gn4/Ke2Sb\nphzU5T+Fxt3wbFb1zo+GEH+kgri6lH0u0oBzb0B8spqov0y0DMGy1zC+XS/K\nwqBcBN2HY9pp+5hG+WE90hu34qB6fGfwTcB0MG8Iul+Mp+QE67ATUZHu0kra\nKTCztpjwlWkjAvGAZtN/dvj2d9oezyHTmIhisQRC074YGSX5ExmXJAZzbWkK\nLcEb7YxW0P3Pn39EdHbdgW6+P6vyULKrL0OCobChDYbp2jZ6Ww1ZxIOga6T+\nIkhlm9Frig3mLiCyPy9rIMR59GqL6yQsmsIysfnQOP+bJ+wuoWE0/aUSuFeW\n8a84lbO2X2Y8krxesufWoWvdWuiRO9dLTWRiH6Zc6/TfNBVeTri+QtFZ5IYW\n1cMXXEySWBR4FkQjjnGPF9874vra5nDJ5TW3FbqvA2mA0MZEi7XB4fhXPpfR\nzqyo2kSyfqGE/Svk5RR1UuX3RnQsWJFhqs65P2TK585kSuT15sFPK8Dbr5KG\nICjbqouOby0HxHwI7TcxMR/PJj6QQm1hiAxBq5IhN0op/N9+lpkfVBZc/OwM\n0WhbA6iJ2AL07rjW3r/luA8YI2WqJCnQ1I8BmJ/6ihCBRIP8MNDTMhkrSUWl\njwuc\r\n=vogA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDi8TCcttLAvuYrEWYNzHZ4Nn9/oKO2USnXw3wNY7F+jQIhAM8O79flBV7JioQeNGSDwBKsMD11KRa+RvKkcqDjprHh"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.6-fix-readme-example-a13aff57f7bc1d65928c61b5e6dfc3c3899ce122_1553097309999_0.3730574512092071"},"_hasShrinkwrap":false},"8.0.6":{"name":"drivelist","version":"8.0.6","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.10.0","prebuild-install":"^5.2.4"},"gitHead":"ce389100d9665ae93d1425e4894515381fce7fd8","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.6","_nodeVersion":"10.4.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-KkXaGslqZP7Y13rofyFZBUl9dQrs0wqT5aXq5PAr67uPE2IDXEUYH+LNGTv69xpd7cUImjQvvB9H4bkziLIs1w==","shasum":"152ada25583857be25cddab682c9c34c580ade81","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.6.tgz","fileCount":32,"unpackedSize":115532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckmQiCRA9TVsSAnZWagAASUMP/17VN+VVIGahZyXmYBfW\n93WibOJMsSdwKJhFKtCoPBZP2hbJwo3NB2HXW5nn1U1juehC4T4e42icSyPK\neCLtBZk2eFihd3mi7JRznQlJkw77sjFXCefaQJZSwxwiI/diE7g9K84Dca1R\n7dFsYd81HveeYOwfU+tTFKTVSNnXmM6prj2vYVRcHmloj0kz/aULbvizVgNr\n1iJ92ipGBN3OcHwk9KzH4YX/9Korim833gBjHU98APohL10RARCfrfrTMib0\nUxh1U3jyR9rDRwK8jQDFfeaQ+cLPraIEfGE61ejGLq2JN/XoGfSrUwAL2Qqf\nWxY8JqYYLfTzrsB7vpqkwW+NNoHIeWSbwdT32ijsFfzQGQH2WriAv1dydfFV\ntzLSRl8SWlG1/vDSNIyfj03fdCdMsDrywbcnhs3xlAGQNdGZxbwUuL6cS+yh\nN0Ey/1WqJtEpS+vPJgx8vflIGDqarU3i3ASxEfaW+YhX7D76wag+cxzFBz6U\nk7SXi/5At9KxU7589pMayb3oJ0vQhe2d0PN6dyaLvwg5tkG+RjfOoC6RIymz\nrND9jGXAO+yksms6YHysjp+9BtkgmwUQZVn8mm7JyXWXuze07Uhr8PHu6y+R\nadmHn8mBUFdzRAvLaSCxdC5Z4HZyWkuQwj3hYNgGciPO5B2EROG2g+4s+4z5\nNT9k\r\n=NcCz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEPhgRC3RfrcaEqS6bEQooIoBIIDtfRePsPaQczyqYquAiB/nsNhRvrq9oY9hyUU0/BM88AAtluVzd6AzmcfUAGadw=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.6_1553097761690_0.017171342727508865"},"_hasShrinkwrap":false},"8.0.7-update-nan-3ab03cd71ea362307e3301c9b2f530cb7d630b45":{"name":"drivelist","version":"8.0.7-update-nan-3ab03cd71ea362307e3301c9b2f530cb7d630b45","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"3ab03cd71ea362307e3301c9b2f530cb7d630b45","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.7-update-nan-3ab03cd71ea362307e3301c9b2f530cb7d630b45","_nodeVersion":"10.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-fTAefbaN+Rz4RGPJdG1AcYTQtvzyfAhaKXL+Cp9nwKefowVJUfK2ecziTogYCnxTIAMVRVf5Li3tu63yDmmbRw==","shasum":"7067bfd0a46821bc1c7a8ab6659f75cb9b0b11a2","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.7-update-nan-3ab03cd71ea362307e3301c9b2f530cb7d630b45.tgz","fileCount":32,"unpackedSize":115850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhQBmCRA9TVsSAnZWagAAPn0P/2Mk6gtfsUE5DXFRWgla\nwVpCHgoxTs2fsgOub0cUAzyLrEqhQV1+Jftgh+4tuIEfb+8Rx95jUO0uN8yA\nCoyieOK8wBF3RMYjKMQ6sDzNAZ8bP5mY/jmOYu2RdCgSlTWDfjuxUgETeuow\n33UdK01ciPB+xiGBDZULFJ/OianI6Vh8ryv5okQlmryvvarybPcwzdWaOPEK\nkM7ubtu7Fvytw0TWAhvc9AyMXsOTaEXbkb/YvHoVo1jqWOP94iGgc81vCwbf\nJZM2K5dpZImYwOB9H1ue7jvCjtGyHErKfLCZdFTAT8AeavHXovg+PfwSuzLX\nTRclP4MfY+6phdjJ0gt9BjkG5O/lnu4bKVUgxal+54ewwu4ltzyQalqz8yVR\nbPcbgHhxdKY/vRKSEP6Pk31A9J14CTK+tt4jONeIQqYsapAr5tdvOczOMduR\n/7x0uktJh/Rk/BVowMfpbE9mG6Eyy6tokeTcl6rdWwo/n0nY1MWZA+0nCRjZ\nNlrMAVADUaR33l+GHCwGcqZtikOLRnClFyXKt/QZRcH/rMXd4t4kMs7QUKlZ\n2/13/MO8h7E1YZSzEZdHoiSWbFPRQSfjt3e26Qrzvdgxood2AMu81bbdxAHz\nawH/xj8kZMNkpg/lJ9ItvQ4PjDB4rjT+zXI3mh7w7dUE2whlX1kZjiS4OSG6\nrZXx\r\n=aHj/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDF3lnE2ukaW+FBdSdniVjgXL68Qv6kMhY3nT7F4dgPSQIgbVTtxsSQGtXSEkEVRC19l3PcHGaTx3SUvlrNmFpiBow="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.7-update-nan-3ab03cd71ea362307e3301c9b2f530cb7d630b45_1568997477847_0.0011793429897666297"},"_hasShrinkwrap":false},"8.0.7":{"name":"drivelist","version":"8.0.7","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"6b4bb33ce2be29c435f89052cf13999ada7da689","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.7","_nodeVersion":"10.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-KgFVzXux+rdRjzt1b1Vv4btqCmB/XC0wOfodtUev9MkJcL8VyxjTsopt+lE3GlSv4M+XPgS9dqf9fBowJ8I/2w==","shasum":"47e5ab9e0bed7af9f95212f013a6bd05a0782e2a","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.7.tgz","fileCount":32,"unpackedSize":115798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhRR8CRA9TVsSAnZWagAAko4P+wTcoYh6m4kE5vpKm/Ti\ng4JDdrBpQ3iebeSEjD6CA8MCFXnVTZBREEdBPDb/afGGEqHfu/6c03Oz+9uy\nKgD6o0rQbCddGesoFu2cDrx0UF7wtms+4IE+skzao/EPfhPs1gQM3iSSFC8m\nS+GueUKQUEtmEOqEHMl6GFfiw6r5UE54em5E5yXXgux1aUc69OPWsJG+aq7h\nQDLIjVSViwx0A3gut+gPj9cThuzrj4G0+rcpk6L/unKQzpN8QH9WiSBS3cgP\n75NqXXLXeacayhC2Od99eAFHmhGGZ8ECpAleKdFuo9H2EpwctomXZPnzDaSU\n0XA3T5Jxvxp2uWaJeJFKPW4ESvIFqThDNZgZcE93dh3A9QQ8yJd2Xf9atC0I\nIE2X98D6QH3ZAltWKB6dTvpSEq3DvtxZ2rziIPlldoEtd+zCWyV9tG/w1aum\nrmPJzeoqY1QJhEbeXQsjrG5HLa7U+o5jv9/u4iftSKLhAWit1YMPQmvU0d2+\njyNy1nIz/QuqGRfn3G7InDHqHZLeNZ71EIj5vqye7CkZGARgAZcQdVsKKxog\n1GXzJYfyWMB1cqqkBFvifNzdOfpel9Lm4Ez3ttaBR1SHAybBQ440yzvnKHtX\n1AefwsfLjle0i8XmJ4U9lzKYniXW4LheMbQmTSAglXcuNAmE3blLwzxMYU/i\nvMhJ\r\n=oTo8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGWS7D/zWT9Rb0KJ1zlh3Q0zRNjwwhwZJql3GT6G1fiGAiBy03qi8FGYGyfj89tN8QOBcWOF6CUAeNivYyHGfzJxUg=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.7_1569002619526_0.4604482996824024"},"_hasShrinkwrap":false},"8.0.8-fix-typo-8271ed178ceb18bbe3ea688e18f1a8c90cc91630":{"name":"drivelist","version":"8.0.8-fix-typo-8271ed178ceb18bbe3ea688e18f1a8c90cc91630","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"8271ed178ceb18bbe3ea688e18f1a8c90cc91630","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.8-fix-typo-8271ed178ceb18bbe3ea688e18f1a8c90cc91630","_nodeVersion":"10.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-hw9qfXaX4CVVPP0XxDDkBrVVGNEzMsFZAiMeCxr6nlGZeJXKusMTvm4JChnfmbPdQiqI+j60UmZ+Ub5kI5yFNw==","shasum":"955c2691a0cba968057f94d5c5c44645d9caef37","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.8-fix-typo-8271ed178ceb18bbe3ea688e18f1a8c90cc91630.tgz","fileCount":32,"unpackedSize":115945,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnRGYCRA9TVsSAnZWagAAth4P+QCDvC5drx7h12NZ2Fi7\nrBcVDv56Phk8T+5sZ1iKp8XYPw+YuGyg9JgDeGoyQdwpxIB5g7x883rp+6rc\nM6foyS1XI7IbOqCqRDr29CgXqqfg4qLiZqxNUG8Cx3O5Cp6UKjbb0rq/t4Qc\nzhHG7UonZqaO2LRKDhWyxHBdm3j+0VNHTdcTWE/7I7h1UqH+ajQmnBi9nDur\nh3PkmIFsuCE86fNhQ2TKRunjqSyq8aQpyPOEL4AmNuDM/KbGKzbxlQHKLfj+\nTHj3SRaEFitTz0dINWmjocEtRZePZdK6/XZzhFkH7KGIL8jAntiXuRzh4Dgn\nQUruPhETz8TxihhRVLmgXTs/GEkibEO9emB6ShIEloYMeLY2y2N6Df/y+xp4\n1dgbAPh9FLRDP/N3vqdM5moFzikDBQtNU4Ffp3RvVzAkIgpBReUcfRF0Y1oG\nj145zF88HbNV/xh0BZTKNJwtuQZ+b2NA9RRsXK3uJPzBR5dCQVviRzTQ9AkV\nKHH7wyYQeH8guHI/fKqqgKf59BMHtSOWdUH3MUxiRQQJ3QKlYv3xbftJ1bcD\n+M7HfQpDv9VJyPv7oU49gRwF7lWlVq0+kLS5OAuhXuu6toDFe2Xgj0EGZxs2\nXk7UkLOX7Ufbjdez9PrG/5MgduSZxFGkSAy478knTseXmuGW6qMyk+m3wcOu\nk9QP\r\n=Kkr+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAc3LoOYvJE0EX/6iqvwEvDO7W/ZQ0OKEd3jjv6oMzYSAiEAv/9G+KitNO7Ttx38Gp01qEF8d7bSl4Bwj/5hPTg+2g0="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.8-fix-typo-8271ed178ceb18bbe3ea688e18f1a8c90cc91630_1570574744003_0.8981303856922096"},"_hasShrinkwrap":false},"8.0.8-avoid-mac-segfault-ea34cd2692dd3ec366dd4afd29d69610ee0c0743":{"name":"drivelist","version":"8.0.8-avoid-mac-segfault-ea34cd2692dd3ec366dd4afd29d69610ee0c0743","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n});\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"ea34cd2692dd3ec366dd4afd29d69610ee0c0743","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.8-avoid-mac-segfault-ea34cd2692dd3ec366dd4afd29d69610ee0c0743","_nodeVersion":"10.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-VisIhLhd6X95T7hYegbYGgOoXoGs7pgK0PFc3oCMdDW/kt31JGnZ6S+u2kHPesw1QeJfjnLtviVLlHYPyfhAxw==","shasum":"5a2071666f77bcc3c8a3b7510c240b316130c85e","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.8-avoid-mac-segfault-ea34cd2692dd3ec366dd4afd29d69610ee0c0743.tgz","fileCount":32,"unpackedSize":116153,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwuBOCRA9TVsSAnZWagAAVJ8P/2cqW5MRPiPStNjK2lVF\n/0QrL1s8M7RBBFmv7CyD28HTvAmMaN6bRUUzhlNDPC5wVDxmYnq+mCtZ4hz1\n8IorJmxyDSd29d2TWq8Ky79Ho/y6onuv/eHCWJjr/6dzHMTeWQ37xsmZdcdC\nxwd80ktZOJybQqNXngx0Sbbk4eeVSF8qM/3pUJotjscqPLf4IrOxXqNeUEZw\nQhaFDm0EF/EMvxfktqjbgkUzRUXPtSWJ2R4aGFTQEX6FCW0sjRkvZeoneRTn\n03jeRssBKI0cmdRtns/WjUpb0poS6C2KP7x63Xg9pNfPlPiBlCY/4AJ687O+\nLgDlwjbnGy0gyKe9SbZfAnYfZF12R9gFgLQFjM2yC2ojxPBKEMSvou27EZJP\neVb8qNanjS8XYLltcIkKa0yLuMDlnsgVLD0QMebuK57pXUvcd+0pD8+7TLEQ\ndHlv2S9FNNg2omlH49TmRt+mxnnppeoBoF54tET5GgPLen96p5iHYzLSxFN+\n9/km3PyVcs3M7ZGPPfW2dt4R52EsgpiQje1X9Jm6skpdPZcsyUhFdP623eeZ\nqPX7zowO0CUPSoRNfu30ckIBrQ3nf9Ne610andbQve/ZXsWTGGFY11aIKweh\n6RLahxnoQWjUPAGm3LjmyzZDG8uduFwBpH1PvGF7Po6Q6VLdGZDUYG8Nv8XJ\nF25P\r\n=fo8u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzK1K9duNy4Q2vuNod0KGamLixD+66ueMTqLWaP7642wIhAIt9pUd+3L+7KdanZZNlPUSN4Q9LAX7fB1/12fVVoKH4"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.8-avoid-mac-segfault-ea34cd2692dd3ec366dd4afd29d69610ee0c0743_1573052494384_0.03253752725719172"},"_hasShrinkwrap":false},"8.0.8":{"name":"drivelist","version":"8.0.8","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"bb6055edea3a3258205e825b4b278ec35c28c296","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.8","_nodeVersion":"10.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-++GpvH0aIZneq9PROvyxT3edXpOHUxJWrBfnEOkkPiNCp/CeJNEfG9k+mUo85D6TPBx3fJnH0VgTNMZpzRAUYg==","shasum":"6acdd22353217145fd37df89fd7861e71467a53a","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.8.tgz","fileCount":32,"unpackedSize":115895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwuKyCRA9TVsSAnZWagAAJhsP/ipb/An7Q/DjIPy2A6gP\n2r/7oIb2ahLZ6dT6fV7W05gGBL3c1hUowcPLzBGJ2sNTyLUNFpM1s8ZHEys3\n7OlCLTtaDWc2fCZFhgc40rwFWmkTzbFcRjznI8t8+SwSHyatXbsNSQFWQER0\ne5Hiye3IQDzPvBIyZLDEW1NVQImWmSEO06e7sa5NnU/atYkHy/syhRi1CXs+\nUsyisPxpoqASzZWtHl49Q3x7PNiyOPGXgeRwUwdDrGu8/YIMqK1QiEl0RIJ5\nbd9YBAV14cWToz1dHBVhf84JwuZkGfb7mgdwN2cSGUkBlDubwwkYE3byWFYD\nK5Dk7QuPc+T0HSSvHSO55wf5TTvOBmK3r631CZ15d6TpJZeRGKWOw8xkJO9l\n8JQavP49aB/LmsWky/orZrqg2amviNkw8an1o5stLqwbSZjNNuTYDpG0H1xu\nkYz9cTB26A+0wEduTsjXlx2RlqIFMScgrBnRo1i59hli1TuEp9Ee1a1odV02\nQSNNp8VqdoHXas7lIP/EdLROqqGKCwoSVgP2pwUKI9e9af/QoQnOpNez5mGQ\no2GRQ50OCHgWgyp2EqsQtN7ynnIXMQLnag6pF20eN9oqrspPZd/IbMlKm8YR\nbkvNccZnQ05YpW5GnzGEoGogF6OJhjBAC0uaSvL61zKHJb/2F7kdiiYUCOFz\n/PJ3\r\n=7T1b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFFSaakSGmZzX+Uvok1CHyK6tMHrxa81KVcmINNnlLJLAiEArdvAO7G5KlFwQy+bQy+SRUwEdSVv20NiD1NuK9KkbaU="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.8_1573053106527_0.3685062367902363"},"_hasShrinkwrap":false},"8.0.9-avoid-mac-segfault-0ba4b4de8ffe099ead4ac68f42ad4cca062d4ca9":{"name":"drivelist","version":"8.0.9-avoid-mac-segfault-0ba4b4de8ffe099ead4ac68f42ad4cca062d4ca9","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"0ba4b4de8ffe099ead4ac68f42ad4cca062d4ca9","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.9-avoid-mac-segfault-0ba4b4de8ffe099ead4ac68f42ad4cca062d4ca9","_nodeVersion":"10.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-vy7Os8ALQM1ea6Ej4E5xF1Y5b9bNZwTUpt2bIs21SnHjt4w/SaPY07TFzp5wk3U1ZZJkD0sV8yWUl7UGTlT/LQ==","shasum":"1e6ed3ba92857ef6983b68f5b59428a2e59c638b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.9-avoid-mac-segfault-0ba4b4de8ffe099ead4ac68f42ad4cca062d4ca9.tgz","fileCount":32,"unpackedSize":116250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwuQ/CRA9TVsSAnZWagAAyjgP/RldMSes6sA9St4t/AZX\nd/lZZr35qamijdOIDpnCOZB5JV1LYyjeBVUGtvlGCzpJQaqpR0ZH+JUGLyS6\nnK0LN3ejmKtPW/e6A89TKRwL+LDJ2ArMjU97sP/4m256vGs2ptnA2zidjpcn\nzh06/u4FpWrbikxQiolJDzVTs7hkAkO7pjpcYMo68hkHT+QcLX/7G5w++yU+\nbzxnRf9UIwg13f2lPlhh8tA53ho0oD8NZAkSRvw7PPNl591qXCMiZ6OZFPSg\n/aFsdldvY12zXFjwTDN6amf+UEBBGpPe7Qg4J0lq4J4M65BCz7ToR0euttMr\nB8ZcKYX5TpFCBhHI4TnSBXR9jtexWDm4Yk+CtcpsMpRlTAig1dmdfDEsk5zP\n+/o1HwjytDG0pni0SLbcqLApsJv/kEbeI5CREDek+qBWeQ5Trptdz+0Ej9pH\n3hLNAQ5SlmKJoU96GZ/7xUF7MuITvW6y619IGzeVtBOVjGc/pB4l8eelEpAC\n+MtxC/PIJOwqSD6j0VFvCZ2kKzE70OtEfLU54Z6rBDEJiu+X+txA8B3ZokZm\nZNWOa/yYNHtGZGMBYTC8RSDM91Ogdd65AuOc/8PIBPGll2/TRb1esYmAneOb\naAfUBZokwnh0gavJpLboUaSQuCmsuFRexStfQHmjRPq2xLAYdLuUbcY2hek6\nXcW3\r\n=tAtu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICG2s7p3X3Q5pqJlm9vXg7gR7YodBzDWLlW4xO7e0OV3AiBn2ARKim4RVu2tJthlJMGHvs5mSOm73OukuMYRzaYe1g=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.9-avoid-mac-segfault-0ba4b4de8ffe099ead4ac68f42ad4cca062d4ca9_1573053503217_0.6176164135580151"},"_hasShrinkwrap":false},"8.0.9-avoid-mac-segfault-98163381248875c2b94ed7fcc25faf713fc0f55d":{"name":"drivelist","version":"8.0.9-avoid-mac-segfault-98163381248875c2b94ed7fcc25faf713fc0f55d","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"98163381248875c2b94ed7fcc25faf713fc0f55d","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.9-avoid-mac-segfault-98163381248875c2b94ed7fcc25faf713fc0f55d","_nodeVersion":"10.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-XTl81PVwNUT/94p7Koyv9YY7RtbIPAFtRPWCiJIJVGVGwDTEBwdjg5ijUt4HYdhudw3I+BLaMhUmeHnJ0uqcdw==","shasum":"c332dbc8a86804746cfa5af8841d4e7e925a0426","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.9-avoid-mac-segfault-98163381248875c2b94ed7fcc25faf713fc0f55d.tgz","fileCount":32,"unpackedSize":116312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwulECRA9TVsSAnZWagAAH/EP/j9jEg97vMuDloYwyt8r\nGHwJ1v80QLNbe0xDmPzhwwM1K2HtGwF51g1HAtnDnTDtlBX56N+06e6R2jME\nr/wxsmF3z9LZVhzjVaeuo5noDqIbeOxsrPUzXIj/3cEWsXxn5VQ8Oqvpmwe5\nqyf7mP6tOBkL12vAjCPgelZbrVqsj9RFSD/2dAFO1abVGrFTdwcAoZjOYcJN\ndcmIn2rnJvQfQiiuSRxh9CbeDKJRwfxEyF6RLTuhTdE737+tlBL3NH3c0BiH\nkPwH1urW3ZQ7/r782bAw/jm6/1r0HYzcf2UjkzmG39l2kHUg31qtYvvtYUqe\nVLb0ibtDth7889xIROVNd7N/C9hhzwYh04lOS1VU93VrzWLCWFOc7cQAwFPq\nRtrLLqfTQS6LM6P8SRzUpleVKDubp3Xk416bpxg63p/e0vPEz263Bdql0y89\nbqrlcB4QwRNmn3wlKrwGWrMvSeHjvRrygVlZcUyxQe5NRwztywG2i96lYapZ\nVLg5vakQ2Ak21AbOXFxSIUaa9MWOJrzZ4Sd11DE0hGqcA6YdVWYQ+1mnZtuz\nnwVVyjxW5HdcxGDrfSDFnO6Nb7uAH9aW6zktX3bL4M63W38G4I6hYOZyJMCe\naDkwkRokZ3BRh+54+WM8ux5Xpi2XeLlrEKRG/Zvb1Yu26yz3BhVhqFTb+HP7\nI7RP\r\n=JGyx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHTqd2ZXfqFWKxiA5R3Cn+94LEeoP4gctwd7deyUfP4mAiA+n9wlrb9ASHBAtMbpXyeZ5ARu7TayzUsazJZk7oNLXg=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.9-avoid-mac-segfault-98163381248875c2b94ed7fcc25faf713fc0f55d_1573054788258_0.9805535087051804"},"_hasShrinkwrap":false},"8.0.9":{"name":"drivelist","version":"8.0.9","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"3c54f04669b7d7a4b098388216ab0506368274c7","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.9","_nodeVersion":"10.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-s25SFYuMDD7WK+/CaOZpXCXCpBU0aJwBwGlg0AkO8ttVTIGEJSdBgjQQdBFeR0Z9Pl/BRGst7YIScv4q2LLo6w==","shasum":"9fc8bfb19b21656e84dbc2b56e14773a348971af","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.9.tgz","fileCount":32,"unpackedSize":116252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwu0XCRA9TVsSAnZWagAAn8AP/02IBqarIcEtbZMcBEom\nRHAnTOYF2Q6zeUrC338a4XN0MEvTTkFr1XzmHGRhSThrXj6usGSdKMTSA0Mh\nlVXJ/0zZ9vqf9SSb5uCKo2zTET3rTQGWtsxbDjJbDAWxusRWzS9E/vX3Do8F\nSN/WhNB1AYlyjI4U2J4BXGdUDSvXPAlu/j4Q9WVO8vgYAxjgw8y5dzZ23OUm\n2XxpzjbSEp8TowJEZnE99i6Cl7vBnYiHJznGPA52XRq7H7S39FjPDo85XXrs\nnw1qQKQiEVgLLLhCm38BCvuCz1BPxwr6oPRYlzOgFoJArlUkg0wpHF2n1UiX\n6IyNUD6skDEoDtOH5OnXi04gi4m2FjQXQangGDvRI7oK353LapcDDuu4Ms0z\nRwx8AB91oc0m5ATJIUmRnc6H1zTF8HvwVYG10pFEtB+nmCkkL/sp0E4ppLe4\nggwlL10BMQL9LgYgrVO+NnF7pSYGSW5aiShtxJVVb40SUEGgsJQLDji02Rzy\nN4jBsuEft3I7Smd6SuJbZZN50H2n76tvzlrjtJ0K3OFLnm+Vcvs7xu6aCqeG\nMo0L4m/Wh98/SPAVH+b6R329cSR5NUTwtII83uqk3+aazTKgJbXq+tU93vOj\nEenC6I4WL1Rhkd/pzVneAtxKjxa6ySVqPMmBoQYXI7fh7rPxbOpwDqnf1iPb\nk7hM\r\n=QGRI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAe8hN/ovBDzAwWagheK70mEwQJLgOqKFFxBw/komsGdAiBDb7fVEiWmpmAsiX0z2brfwgbHBsyV9gwNT9dr0MHnlQ=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.9_1573055766719_0.37909586005006024"},"_hasShrinkwrap":false},"8.0.10-fix-lsblk-pairs-escape-0aebd2bfa340cf759633e4ac8651a7a2356ab7d6":{"name":"drivelist","version":"8.0.10-fix-lsblk-pairs-escape-0aebd2bfa340cf759633e4ac8651a7a2356ab7d6","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"0aebd2bfa340cf759633e4ac8651a7a2356ab7d6","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.10-fix-lsblk-pairs-escape-0aebd2bfa340cf759633e4ac8651a7a2356ab7d6","_nodeVersion":"10.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ZBCPmDVzZXnj0dnw6CzjJ2xRrNe6P4cqDgO0TESGOW+b1ECBcG/t68YHoOOMb+19nq4lb8d9HGAsnrpAToAy0w==","shasum":"cb8c522b2dc690aef51e175bfd7a25ed806ba7ba","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.10-fix-lsblk-pairs-escape-0aebd2bfa340cf759633e4ac8651a7a2356ab7d6.tgz","fileCount":32,"unpackedSize":116581,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeS/wqCRA9TVsSAnZWagAARfEP/3QbvOZU+BysXQoSMnXQ\nr0G43lcMBT3MJlEeTaPm/ez2S6xQb1RZ5CObK17dS9XxgH4H5pyADUkWxMbK\nhkdRvc2xxu8eVdOE0YJIF5LLk3Jl6ErtSSEvGLNEA1xStwaROdYCaf+Oi1Lm\n8AG6FpYCTBgwo5jO8+y8AQNL1FIREJ6cphNa2tu2pE4VswAnXvW6EZzp7+jw\nVlwFNuFi3bHb1AkIuJMC/GLyvcQo6sycelvba4+CmIc9OWcZ0H3UUhdJXRi3\ncpNELOX931NyYdCIE+986mVYXV7wyU866+M96GvNXFyrVrJD2Q5Ok+JBDD2l\npjvDa6/p4m+mSt21Wp15gGaGLF6CATQR4SaZtNLhpSwut4UkikbmhUMCoWsk\nH5wNdPmRcqDKkxvZzDaeOeuMlFdjiYPYL2y95w1mafHRL1nTS6I4oSfqUF6J\ngr5o9p48w607F0VYPGE9tbjLpELc558Sja8e223w7dYwYiwajGmLRoKnZWr5\nJcAiARstoD38zYcbLSf8RFsvh/bgKdyYlIX6670OhqpzeO81pWvvU2QKY/SG\nnJsTIvI1+ioqyE7NiBTJrbbcSjgPiB/XASg4x1zhELfhL4BxSjSF4fEAQtyG\nmUMxrtYz8wu2jdNthI5YuTJM2pEggPMhAZYQut0SIYcNwxS7HdzE+amG7ION\nOosy\r\n=JBKQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICPwuQWHuuMAvnTbnRn55YkHWQHV/wCPnAkyyyujDgckAiANIsHvuzcpFY6jpQ+NKfBNUsvFndXr+pWm0HA0uhR1Tw=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.10-fix-lsblk-pairs-escape-0aebd2bfa340cf759633e4ac8651a7a2356ab7d6_1582038058398_0.8798152566962305"},"_hasShrinkwrap":false},"8.0.10":{"name":"drivelist","version":"8.0.10","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"resin-lint --typescript lib tests","prettier":"prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\"  \"tests/**/*.ts\"","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=6"},"devDependencies":{"@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","resin-lint":"^3.0.1","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.2.4"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","mz":"^2.7.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"65b2348800b46930878304e7ec384008848d709a","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@8.0.10","_nodeVersion":"10.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-2A/NCMn9jQ/9J1B8zohS8rnXQKDM6ZixLAlYS/rBeZV2NuSXJCMr/M8kKdr4vy95oOxKXi8NXk+IVrHCS3bung==","shasum":"d2445c557ad14fd59e2fecc784fcba1752305044","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-8.0.10.tgz","fileCount":32,"unpackedSize":116517,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTBTACRA9TVsSAnZWagAA4t4P/0aWFNpN9DvqX4UzSCJE\nfL2bVIrO49VfXh/wmnCHCWBkXe01lo8alqjO68SyyWBDCFHuhZNYkrk/c/t5\nFhw82T2h0TUPmuLScC1Pu6rR+tYGGUVfS26YJoEQqkM5ECaN1hrprcualm3Y\nwPRE8WZFrO+cf4rE1GvJZNqOxaummSmcL/40vrepgiBFiaeAWE8uDJkg6zeT\nKt+To4QDZUvF7rh9BFUes1eL4IXqj7RdvzvpWecq0nfM9U84wC3X68IRWPH6\nHVArxR5mz0B28OIFuprfzgl5iIvDr6IfY8CTeNGBWrAJqhfhZxVPVaiDYPiG\nW36dYRVvzp6H5+pFUplfN4mLa79JeoS2Q5XS5YvjsRkQIMtEUqj3TBkj7LXC\n9TCB4ajD90BWm5cg3jEFokaXvXEHYAEaVK1mjqPhBKeLRaCWzaSRZQqhMzEQ\ng3ARUihuDnZlTh19v36veq/cVSWol85bgOM9T98NXyQ2cpFNhjhjkaa7x5EL\nzrlh5yCNAUtiFgUroR1SJLcRY2JC5RZfchSgNByS7fpgdItQongIHkYYCjEs\nIHYIHwCy1xwg6l12NAzZJMQ4g2clzFtKRQfXL8e7WbmTIrQkhZqoabdMT6U4\nQNfGKIzlB0aqp0niSXhJvFXdFM5H2B0gPDCk6PfvR+N4QVgqCaZs5BXJfcWB\nrNbI\r\n=LcQa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuQWdz5AWUQkVg4o4MoHwRwbJrzpmzKRiP5q8LblS/4AiBjNW7Ew40BTp7GqIf7ZHGhfHXeHmJsiPNX6qGlyMP/bQ=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_8.0.10_1582044351929_0.5794703702597679"},"_hasShrinkwrap":false},"9.0.0-remove-mz-6adcadcbe062f96fcc125b0308aadaf9035f0ff9":{"name":"drivelist","version":"9.0.0-remove-mz-6adcadcbe062f96fcc125b0308aadaf9035f0ff9","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"6adcadcbe062f96fcc125b0308aadaf9035f0ff9","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.0.0-remove-mz-6adcadcbe062f96fcc125b0308aadaf9035f0ff9","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-hVQwyPA6HG/+ZSUr6pm2Ig+B3E7642RAG7++pIG/FvEYmruYY4n2p5Dhk9nSFsE3VweFaPJXV9xahcHohmlWxg==","shasum":"d9990a959f5ee3507cecc41938184cdc3af57000","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.0.0-remove-mz-6adcadcbe062f96fcc125b0308aadaf9035f0ff9.tgz","fileCount":32,"unpackedSize":114908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezkUXCRA9TVsSAnZWagAA1tEP/0Muv7ecPg8MJhOuLIqZ\nmoz4t9YMc9ZXhCjGVWv2iu0zHhTMAEm327JdW9d0ZKzkaJwmMmtsoaw4+tVu\n1s0xWpcEEgEQ25qiAJM1/CNPY3Q0uK3qexBsTSyurbvFAQf5JvjVIDt3LZsq\nZqZ8bJKFXU9+uJ0TfU/M9z/Sqr0EmdYJWID0nwryLTLsZr15hhjC7PAVOHRQ\nFX0GocpEVOVIjF3wD98Z7tE6c6iKIGidcQejGwuUPPBv8/YUu+PDOJ4zE//q\nbnPQCIml9X/X8ah+BMwnrVA/+a8Jr0buBcd6RXbZe8vTq2Nnk+3lxBPl6kDy\n3OtnWRWJVbNaEgg9bvid251lBe5WClqNS1I7xh7VFy/7T4iFk+bezw8+1o4L\nG3mAEzdZ17JdNBCLXljWmU9V3oxErx7BX9HcNP4KMj6YksIiHxMn8nwIg3dV\nVHgBzdPfJNy9/xbN9JPjrTRB3QflWMyVTD2QU3u1yDPm6QJN0ZmOgjD1/eFJ\nWNY9ZDxXlTvFdUSx59m6IRXshjMyPQCsPi2vB+Uz3bc+n5FnlM8FlwgYNeVL\nrFIcABEGt3QgnfANp0f4m2me2qyT/Rx+2YfV25mR/sIp/3VZxS8TQkInUMRm\nZeaZnzGQLyxdULKR9j3aHcQf8our5+EFBJlm63hzQ0CFs48gT2t6Hk2gtYpQ\nndA8\r\n=2kLk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLUbtommF+sE2A0xUMX47vbMIh7TNKeF7NcvHp5YPrywIgQ3a6dKXPArESZnQQb2kcfePB6mHIt6S9reO6ppHnvs8="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.0.0-remove-mz-6adcadcbe062f96fcc125b0308aadaf9035f0ff9_1590576407083_0.3050683587986316"},"_hasShrinkwrap":false},"9.0.0-remove-mz-2351ae1f877adde5aa159c70cf6410564538e68e":{"name":"drivelist","version":"9.0.0-remove-mz-2351ae1f877adde5aa159c70cf6410564538e68e","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"2351ae1f877adde5aa159c70cf6410564538e68e","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.0.0-remove-mz-2351ae1f877adde5aa159c70cf6410564538e68e","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-JtgAezwpucAxXfIq/YvieC++JW051JxGf8FM4jvGX3HxaCrVHaO33BUd6/ZWsI1UR7GurhoqWYpMkjbcyf9IeQ==","shasum":"c2a912b1fdaa3c883db25baaad4f43e537db0419","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.0.0-remove-mz-2351ae1f877adde5aa159c70cf6410564538e68e.tgz","fileCount":32,"unpackedSize":114908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezkZNCRA9TVsSAnZWagAAnHYP/R85SX9oEjUGBCUQ+3J8\nXhNfG3RpFc4FB+bdc4s2ukL9slTtLLsybD37slpDhw33kKJIDhbseKoQMJFm\n3eV1ngdDEGMe2jP9NKh4luU0jaZEx+92+4p10I2aiSEJPupT/UPwZnfKvmsq\nvCxKw0EhVp2jmRdIGFEL/B7mpPf0zMO72w8r/Fw0/4prrAu0F3119g8/O4xX\nS5To0g8RUoLqZIAp628rr5Ay4VsD2BH/hISwXmqMfjY2KEJXZxhMs4Ssmee9\ne/2fRBjMwMfw0JhuvB755Fz2i/qqsrUtMDlICm3HaLqpmIN0lSO6/NjiLBh1\nINGF78kKJL6Zn+yFhyIIwwdr5NuehX0tdnl2fguZKzRO5NVDEDvnSlJdlosP\nXTf3Kzyo0HIAjvn0Vo/atBxvA5p+H/SmyUfqNofkizrMQ47XWCpd4QAiijGU\nTt5HRnOY7uEsVoTkq3VroIDXoXQgl0bnrv12VBz/hbbhTyfK2A9XNydTynMn\nwqOFQ64ibNV0WpZmyhC2SJX4FRCo7OC7pcThVTb2RzQu+pcFASxRvLu9RDzI\n2p40UsP50rVO8pRXt8LwcQiB1B3XxI6qRBf3cWaoUoJliZrIxQ0N7gVxh+TL\n9voxHgGY5p+o4QnyPLFno6bxiRrQqaq5bq4+5/Qlv2Q2gd3lCxgJ254xu6wd\n2Sr/\r\n=RQ4p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIANUkHq6hZCur2joLc1IVevwK1hG3PVrxQhcnVoKgRtaAiEAzn8+LGCph6jkfa6Lljv4tHzco3saHK82VlHu260gdLo="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.0.0-remove-mz-2351ae1f877adde5aa159c70cf6410564538e68e_1590576716785_0.35360235014151375"},"_hasShrinkwrap":false},"9.0.0-remove-mz-b5a22509a3c1a37c61b9a8883795607a255cd978":{"name":"drivelist","version":"9.0.0-remove-mz-b5a22509a3c1a37c61b9a8883795607a255cd978","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/resin-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/resin-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/resin-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/resin-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/resin-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"b5a22509a3c1a37c61b9a8883795607a255cd978","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.0.0-remove-mz-b5a22509a3c1a37c61b9a8883795607a255cd978","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-SSkrdr10mISFxNrdnodgX23rmZ1JbAlyN4L9ijkX21KHkxZ7OByAY40ncOC7ramPu3S/M5kSLmH9tWQyHgG5oQ==","shasum":"0858099d1b19f832ab70722073e0a5fd60245f99","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.0.0-remove-mz-b5a22509a3c1a37c61b9a8883795607a255cd978.tgz","fileCount":32,"unpackedSize":114908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezkeXCRA9TVsSAnZWagAAWpkP/0Q4tmF8iPIHsQNodBc5\n1vX0ynnVrY88pu7vYKyq6pHYcjhOCAwNowEdiKjh1Ms5TkuBSiTIzEAYxA2N\nBijMNssCoHz54jnb58ayWi4OMXsTMXg+MnjSUYIydLut85DHXHe5kHf8HL3m\nWGbFIu+SyMmS6f11fyHtOXGzegRccfxm1cNboVR/D1jsQL7dHkIJ/gRQw77A\n6o3qeVukep43uMkBmforysG8CTkr57OV+K66j6pE0bAlWfbZpo9alZa1Yp4x\nuhWAoBuDS0yQf0pMbGaNTK+poQrXZCC07IpM/51KsgoltQNDzJrS04SJ0BQF\nl3zE+3q9HO9flFBQvXUz0nck7JIHIXLup8IKh2aKdmgdWakfEznQEL+GRBlM\nZiYBnHEfmCgVKWokVzg7qrW0E2NT/UHi75uvKoy1DMERglETGcLv09Ca6hlS\nW1aGyAyfMyiTgrj4bZZtviRxrvAWa86cNBBDhW0+xvL+JSn956A5maVwQ9RE\nmqJuZJaSWOKpOPNXs3Kr6DG/8cP4+yqSeSETBxA+6kFuSEFax8/y9qtDd+OR\n47DvuecB6b/gq912NqqVR59HuPgufRN/5mzR40ILKEFbDK7m9G4skMuCSNtn\nTCbpJDYwdXkQ5mvZaTuWsRjbzR6i9L8OHhx4F6SO18rMq5Hs+R9IRYluK75v\n1uHL\r\n=IjCe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIh1pJmQsSMvSjMupIEN5ALXRx6oOPR0soo9nzOjpVeAiA6RyP8PzisHeISGEQAeoAB+AeQRavmI8FSASw7zFAr+Q=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.0.0-remove-mz-b5a22509a3c1a37c61b9a8883795607a255cd978_1590577046635_0.4464681950546703"},"_hasShrinkwrap":false},"9.0.0":{"name":"drivelist","version":"9.0.0","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"4f8fbecedebce27563a644692b18d28f3953936b","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-DNQ1oFAv5p1+UKVkQHCYQFHolFbItxSnjcJchxrhlEkW4RSuLfC0xOnq87uM8dcMzOuPfA37SKX7HsUIpw14uA==","shasum":"766957fdd8fa9bb0169e881ace4be55f50bc80a7","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.0.0.tgz","fileCount":32,"unpackedSize":114857,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezkrnCRA9TVsSAnZWagAAZ+kQAJtbA3QhMJwyDrGDSxj7\nlFjcJbNllBIec0rhaqO+Z/eBgzS7uD3qjnmxF6VfHcNXUG4sl2Q6ksyme3Om\nMMHfnnDEEKV1KySeBGtIm+cYpXLmkzJkSm19aGcilya+ZxcAXsUh77TkoZBP\nJf/m3nJt52jAvx19N2hQBPXzgdakUy4JpQJJIbOwzywIqCEl2RWD4zABYcGm\nXWQS786cgzqnTt2NbNimJ7YpcV1EWKcZNLuDYK4g+hkuLyl/qq/WTr08UeA+\ntdR11CjinoiiSy27HJONiOo8T4NvuH3gvxq76MtviGGToeLvXQ1gfMzJt5+k\nzBZt0pR2H5Op2G7jfgIjiVCfuxVv8SpCWhOiWD8/QDFuXkU+sU1VAZpZwSUN\nRWUuen03gK6HYg/bK2YRpJNi81VM7Si/+jc1/0BncgOElFJdNAy3NUdZ5Ieo\n082wldFKFs7Vg9JDOHLyaSv7CFM6bRwAtbbfh8MteeWqZS2CD9r6PfZ2MMeM\nehIjILnXv7zqCoXfL5NxFEg+tJBbEfPCogdEb+JZUSxRxNGi0isujtkhqZGB\nmEQnJTMBsbs0pixJXfvHZfQkNRMzeqdpLRAQjJU8j6RK5igHtri4JBz24dAV\nQnLl7kPci8Lool6rbpSQKCYPTgMY0/kNKtU1K1lPOh/gphm3BaINLGdEYFXc\nNDJJ\r\n=SApq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHf5dtsvpzlFZF3K7jFepcJ2+dEg26R6gPiSZuVr/fRBAiEAttv9uJ+3l5da2SjrpYU6KTFxXdSij+4rvtX3rOX5WPA="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.0.0_1590577894606_0.852745139153952"},"_hasShrinkwrap":false},"9.0.1-rename-resin-balena-9a59718168fd6201aaec8a488d4d5237fe4c2dfb":{"name":"drivelist","version":"9.0.1-rename-resin-balena-9a59718168fd6201aaec8a488d4d5237fe4c2dfb","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n[![Gitter Chat](https://img.shields.io/gitter/room/balena-io/etcher.svg?style=flat-square)](https://gitter.im/balena-io/etcher)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"9a59718168fd6201aaec8a488d4d5237fe4c2dfb","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.0.1-rename-resin-balena-9a59718168fd6201aaec8a488d4d5237fe4c2dfb","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-fm70N0JgpYMFy8PoNjMBm+v/h1Ppc/ytdFF+fABwHlNDUcUh4LEaKvIvuGW0XoV4pRP8BRDRnP1sWwV/kc4UIg==","shasum":"1a42a7729c78f93f73c52323c789922bfd12d5d2","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.0.1-rename-resin-balena-9a59718168fd6201aaec8a488d4d5237fe4c2dfb.tgz","fileCount":32,"unpackedSize":114998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0NmECRA9TVsSAnZWagAA2+0QAISaU+xw76C4VkuLi1lL\nbTL+Zb3SFiHiUDqQT/Ay6ZY4iORwWhpwk1PaiE/e3MGaWZyA3zehB6139VP3\nxCtOIZm83R5AcPgKM+mlH+OtxbFqJa53ExXGIX+Vo6uXvrfLmAe+YJI/3FWM\n2bEEFK5FSB2PAXzpzbWBVgDtEZ3Urb5kMXFqz5tr8EfcyQlo3S0X7SbwezQI\nLy4LruKIzK/MOBHDZnCQ2XYCSxOpSbFgbgeZpwbPRuHocuHuauwrK6F7hm6Q\nnzcLdUPrsO6q+qmx0z93EeOc4S5y3j/CvXInB68mVLHgjACIHVJlqIRKNKW+\ntr5jDL7CMz2BJabG8u7um42HGjK7tr8/kfZgyewwtNGkbEER5J08j90w3A1F\n2d745QpkAChj2TdOZjoj4RC1jAAwhxJUa4PbBolTlEoMi8ecqV0kIVyXQLPr\nxsUEQeUI1eZkm0Wtzr1jO7mkUqMzFyq6DvmmNurenUvTFoKdI7mL1w6nASNC\nY/a9Rk1sgN+6KSpV9XiyBQ2YNNGArH8P7GFdNR5hotOZJS3vNoU3qNPMitfK\n+vkaUP4l8QqL/prDQAAh7D+/lZAP658m42JgE28jAOoRA2vhnyeqW/1YVSvS\n9GefTIgpW84k8xID2rLwLS/Vwvp5pEVJpdC/nnEulLk7Bh/71eeNrQvixGNi\nRr/v\r\n=ZQ2O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFJCmxOnkjaJJHzmMzHl8poLoOi/CTAk/RKWS8+lQqeVAiEAp2IcilmY+mmfVHrY7+evI4a+96ej6WzHirFkwOdq/+8="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.0.1-rename-resin-balena-9a59718168fd6201aaec8a488d4d5237fe4c2dfb_1590745475888_0.6483252799054089"},"_hasShrinkwrap":false},"9.0.1":{"name":"drivelist","version":"9.0.1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"d785b122ad6d0d2a59484609e605e225b02262dd","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.0.1","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-v+prEu7ix2gf1KY/7HINoTqSt1uKqfELAdSGm/9E+xd2kLpqHJlhAwRmh/YibOgyeLPohTECGC3rnV/dROexIw==","shasum":"a4c816c1a9503186944e0069609a044e2437df2d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.0.1.tgz","fileCount":32,"unpackedSize":114937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0N1RCRA9TVsSAnZWagAA6pAP/1gc2qG3P+xAJva9K5yZ\nU1naOMM2aOACMvZYp0sh1ehmjwABDcc0B+UdjkT/5MzuWy7OcETGMjt7b5bU\n7TBsX27loCNSahE+KCOli1gBd6dmOjjvhXv/VL0v1QflM39tedSvIDdxCogl\noijKI4v6A4nbbi/kvheds4ZS6gUGD6soSEcsp5s9rxdbygeVd7T+EG31dl8E\nEtEz0GPusoSPAsH+9R3QvVQqNDDIeOzpova9TyQJrPGihnQtcomEkuduZGsI\n74f8+Ar/nFKUt3KxbudG6uMJ5YfXsqh3JPxymVqgZd3VpP1hia0gNPeze59N\nFEMIxk3PzSmt3CUipOBeakvYDu0oUgTnedj9+mMMD3AEYsnMjX+Lm0JWbU0r\nVIPtK8uIE/LOybHHmuPrtPlgrgGIBlUBjsA+PNiQ5RdUEJOyxsllFCVAeMrB\nVpX7ZvNOa8ljKThr0tLvEB+Yp6vZppyZJDJ2RUUKnA3JpL0/m6NUQXlAjN0m\notA8Mrxj0uhtcLY5mCW3nYgwdyeYU04gwecANwLo+qrdJXRPYhcK50oesNnM\n/Xk3VnG7rWREyq6iZX1eF7CiMHVi32fo9o6yCOjD6wHOeREziydH3wgVen0y\nlIvObPv1Qlu5tRsW2OLL8TBZdrq1emct0yRnfzmXrwxy0zvaai7y/7qPlD9F\nr+mJ\r\n=Pl17\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDu8ZG6hy06vHJoAC/wDdID+VCrviDZaJb6OCJn4/WFwAiEA+MQhDOMoT7+cKWnb5K9cLcsTOvhH8oi3a2nwsqUmGjg="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.0.1_1590746448695_0.0936197236933789"},"_hasShrinkwrap":false},"9.0.2-remove-gitter-link-56c6fc9837f5605f7bcb3740a32683a990c1e8bb":{"name":"drivelist","version":"9.0.2-remove-gitter-link-56c6fc9837f5605f7bcb3740a32683a990c1e8bb","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"56c6fc9837f5605f7bcb3740a32683a990c1e8bb","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.0.2-remove-gitter-link-56c6fc9837f5605f7bcb3740a32683a990c1e8bb","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-6igLmGL/Pu/coZSlLgSo3SkY4I9MPLBGGHS7mY9/XTFlOU8cgiWRB1ZHjMr1oubP0eFkWXn2eoOT7+fGYrr8Iw==","shasum":"620af19fd08e8365b2bb97332391b09ff9d50c69","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.0.2-remove-gitter-link-56c6fc9837f5605f7bcb3740a32683a990c1e8bb.tgz","fileCount":32,"unpackedSize":114939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0PnNCRA9TVsSAnZWagAAfHsP/jdS+TpglviU0lxOgdju\nNd/8c+7HAy/SlzShU4OhupvSdIhRGQHtavrpidvBbX8ioisnqwtvCJv1prFH\nvgrHfjMMtAR8GoQquxi42Fz/I2Q4dk4zsTAGjlkyI+hok+oM2BYprp1Uq8EC\nr9zKGN1KbiRM+NiWMlKvK8msdQLmB7c+BnYn7KG3P+MAu0Pd+/+UhL3xYYDF\nNh8dvHZ6EGZ12XqdGQoLljTFOgp+avE/thQdP+OxSiPsdcLK7Hr5yVEyEIEP\n2qpt1uQHwHZmSn8iajr8UJ8gMomOeIJqI3t+KYQjnZ9Q3GRLs7o6Q5UOKf0L\nrRBzyEAtUJPvYPSN9UsK9KiYAUF8nN0Tt/6iRt5OHhQHzaz6O4D9Uq2DBsS9\nVtPB+CI0Efui1c57wtGP1f6Kuws04f0EKRUQFxWtGaJZi0FSclQyLd7LiW76\njJsGszm6hpysZ5/B7L3L/owoiEEDEEZFRBVLzHnDxvHunxmc5qcIQrTz6MVi\np1aDaW0DX2tSWZrdBaMYcfLKv1j4rNX0S50FUz4hJdaP2myhxzyHhmdwqjQg\n8wtAEbaVXSTvZ830F0tMA0advOTLJdZM6H8WbrE3lgt2DfRY18kTkSR9JF9+\npoIhCy1/nTAZNol670nuaM+mWvaGcRkzpYqm/Q64tJcpodFYqfU2iWV1sjMT\nDP9C\r\n=1X4c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUO4Cs3KODn1XhyS428SkRsxtDwoArQjLqKkZOMfhizAiEAxMwnrD6vH+5m8x5oTuxsXr5DHgNEuQmS0qxLKOM/WRc="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.0.2-remove-gitter-link-56c6fc9837f5605f7bcb3740a32683a990c1e8bb_1590753740879_0.32274250780132285"},"_hasShrinkwrap":false},"9.0.2":{"name":"drivelist","version":"9.0.2","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"2c7d80031dee348c0e7cc982a432f4e2d3870829","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.0.2","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-B68AttNDXsew8M2viM99I4sNMJ2T5/lZ2fDlVsEAAzaJ1pyZN2Ibhhd37LAqsNRPhhPtpyrCi9+C6AfJ2kwo4g==","shasum":"8c7cd67b3710e4b282e7f0f35290009e63bc46e8","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.0.2.tgz","fileCount":32,"unpackedSize":114879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0RI3CRA9TVsSAnZWagAAxOsP/Axah363BrKbkPX3r+XO\n+uMSuxpMSgcGeIHRHsCyn4mwG91OZh6HhkDEnkFyWVznLq7wdSluHOptcmJd\nXwYClusJW+anYl9zn4X89x+EF1eUXJAzLI7w5oHGIoxdVx5QIg2Cez4dsUiy\nlsH5gZNF9gLB2hXLrry3U9Jdjj2Qh/KtMtMia1lNKm8vYb/L0EsX3OS9XXvX\nYDvGI4ta6RH0QUGZJwdR4cnLH7IPzQYuoYLWW6ddEA068Nwdsk5MRmDqWly6\nhgMgQwv/+Eb42ATQfAMYBD7VbpM9Ryhp1hUL7uuSCEi3agyhnl4vQpcSr6Mr\ndi0ZW1VTVklBzh7ranrFNVZ2oNs1SCHLlPDgo4ZUE9tu4ABHVuz7w5VR8C5v\niOqFRB5EsVZ5oLn3Cjj9naHEmeoomiCqyECFyOr/CgYGD18f3XSYODQO6X9W\n5aUeAcOvVjcUre7U6VZH3dchGZYi7MUYVTWNqxtKLP+50GkGWcmdgo+GqWrc\n/oHjRLoHJPL9t0AuXa27Pih2vCDWvdLcBrWCjMpZyCDFwvBCROvnPzX8pCja\nO7uudUO/ZbxjQ5Z3eupfU6rZ1EoDqudjnJqjMviVAzUR2P4qkUqECnd0LnWu\npS5JE4Gs8DOFywNcQLepj7zAOxMDxFoTYbn99X93s/fuelalah9PuKAM/Lzh\n6YIX\r\n=bpuJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0ltjfRrP00XEu6eygoQBUPiiNcoPkuzaxQj3ctWhr1gIgav+WH+jAGp1qaku2zqiYGdcq0IAG3COpvPytBnA75pE="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.0.2_1590759991259_0.5401111158695528"},"_hasShrinkwrap":false},"9.1.0-apfs-is-virtual-d6b69de7f2a00d823547f4989191e129cee4c095":{"name":"drivelist","version":"9.1.0-apfs-is-virtual-d6b69de7f2a00d823547f4989191e129cee4c095","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"d6b69de7f2a00d823547f4989191e129cee4c095","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.1.0-apfs-is-virtual-d6b69de7f2a00d823547f4989191e129cee4c095","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-LNrQTIx1G/Ouq2zKX4JlPIjFQGU7QREwgF5INviLjsIMK7uGxsPopudAZbsDuGS9DhfFFYLux/ZK7DWxSjF9qQ==","shasum":"cf10fd04a20ca6aac513ae7556fc9d2abb872768","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.1.0-apfs-is-virtual-d6b69de7f2a00d823547f4989191e129cee4c095.tgz","fileCount":32,"unpackedSize":116832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfK/6OCRA9TVsSAnZWagAA45YP/j02TkbJi5OZWn9t0xcN\nzfizkqr35v0Y1xMQjX/YMPchV5FPj/YaLkuQmi9outcnQrvAlqV2HzVjP5Y+\nmlTopTsLsNB4YPQUYpiykBoBdYy5T/u0pl2uQ72TrRNNGcu4RJE7LDywQCT0\nal1jhMqQlGy7/u8eQ8e8S+rA6CY8LqSxZ8EY9SgqweJs+6Mh6ShSdHG0kcwF\nuMHJTLhqwjQD6XZZQOpF/maexA1UmbCLSlAa9cjpfFquQqZOzHvP3h/JbKXC\nEAJXXZ3yCNGVhfnSFXILyuL7y70dlsfaUpkMzU2gTSAiJrD0siwKgqFhKPBy\nTFTeDP2s6fjQK6mmLZjOWZCI3wtstGdhcuf2bW5rKwEe4yK2eDC/JD0/R7/S\nJkT+oGm+ZHklZpZYoi28wfeAZXzUrBgJilR5pvMIHKj9HP5CsE8LfgGMXvDa\n8jPKRU5l9LcpcV7OpjyVdnwFyZU8+UTmpqvDsuHUvnP3ZwoQcGq968JvaQTJ\n/QuceLx0VDtoML1vA/Ie/LeUi5CFLXjdY0Fa37R+Fm8hQ4ovbRLu3CB/6wsT\nANi6RsTyVsAqn+nCdDsIEcJwLNchTocFFzDqkCMbC0JVBH/+NPn+18yU6z/v\ndL3iCOqPA2BqVGj4b96PAZwkxwzLjWZmMBhO7GiraNHeoYqJPDG8gZYMv48f\nYvpf\r\n=VWXs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICFqWhTRvgceuILVzbXDGDHQ1FvaFF5uczF90RgRv8jqAiAnTWbEUjEcNWDybqdGHi8g2JmYY1LNB4td+VpLYTTAlA=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.1.0-apfs-is-virtual-d6b69de7f2a00d823547f4989191e129cee4c095_1596718733640_0.26174705601855575"},"_hasShrinkwrap":false},"9.1.0-apfs-is-virtual-19fca449f721d6dd09a957101e79940d8592233d":{"name":"drivelist","version":"9.1.0-apfs-is-virtual-19fca449f721d6dd09a957101e79940d8592233d","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"19fca449f721d6dd09a957101e79940d8592233d","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.1.0-apfs-is-virtual-19fca449f721d6dd09a957101e79940d8592233d","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-U2NaJL4rwhvKN2JecUQaYs5RKhM+uJc6xUVgNKRld++LlghNlx0bVjUVkbI9uJgEBkQNGaLLjxVQtO9t39sDTQ==","shasum":"ce6d0c06a0fe8ab1791691c7462f7b4bf693f3c1","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.1.0-apfs-is-virtual-19fca449f721d6dd09a957101e79940d8592233d.tgz","fileCount":32,"unpackedSize":117001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfK/94CRA9TVsSAnZWagAAW5EP+we/JTphhJY0SRrAfJp4\nub9NRDgXlQn5kjRBXgip4HudIgK1Q57abgUNjT2Xg2ulefuODSeJ9u9XIku1\n3z2Z5okKrNkwsx/ieK34d6K2YnxL84H/tcWiKYw0IaQ+4y0fegr48OF+i57W\nuArWYsjMUHTb7Qn6Ak1onpgZay2eiTwlM7fw78GnQv+6mxIjRDOtwKb7JV5G\nMvOmD9gbG76W+mvbP/bSGFv8nFjNDGlUopxnmmWKZ73WQTnkTYQ3O3Uzf/5c\nZA2FUyGMUzGWUd4GRFKuAcTmomyHKJGcd9wBXBASkrkHNHZ57VuIIAxhzxxp\n5B9CR8B3O2LGsMVSGHdCKvn3tzkSZ3gMOAT4yWe+0pc223YIIv2GrWai19zL\nuGE+vL80OPEOYnNcQasZ3R95cq51Di/ksv54kp02EfiEegEiZuoG73ZnqUTh\nVqdt0lWStK749hBOQd4FG3W9Tqu9x90rtCajmyGGuaPRtAEiaJ1AZrQCIUeq\nOCIie7m6qhC+wMgatd9m4yZoJE5NJ8ROv/IV8MCOB3CzBh0JS+KYhp+NAlJ1\nwy6DZ0C9l6n11TeGeijjpIjzuUuUAjQkfStT8nsLaDXtyxeA7OiPbCbg8eoO\nvcWfkPL/LYD2Zi8w7TCaSqthYoIdfjsCrHi0RWdSsExz4Uk/wRdjT8fQg6+8\nX1em\r\n=48kJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCF6OieHf8Y+Eq+idckyt9KrAjRVl8G0mhmQIxQDMkxVgIgP/HS7K0nUA5q1xXXdB10gCud/UoaswAr3AlKeHpk5eU="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.1.0-apfs-is-virtual-19fca449f721d6dd09a957101e79940d8592233d_1596718967973_0.6143682546904967"},"_hasShrinkwrap":false},"9.1.0":{"name":"drivelist","version":"9.1.0","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"3dcc149df163d06a8a5b8249c3030f44d1fef634","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.1.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-F7bUv8vYmCCSj5uy657y4WuMF2LOQoC2AiDoshUhgCqeSFthFlVy9SrvFGhdl/bj/KVfJ0Mfbj3iGE13C+dG+g==","shasum":"d42c8e12fe81e4c77882c87ad11d4b349c500488","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.1.0.tgz","fileCount":32,"unpackedSize":116944,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLAlNCRA9TVsSAnZWagAA3sgP/iD4bgNAOISiMYe1iw4W\nrJWoTjpp9ohAvoJN7ZzL6A0t6ukiBB+vDRGk/t6x1QiZukIPp48v3AXHKUcK\ny1YHmKg307UlRocwlhoYtbZiZg4obpJH2oZBlL0Snffjxp6IhtI8/XFVrd3g\nMyiw4O/yoGkCosEaisfo2DiIRKGhAeGKgqlfCSmPDvVnkIgftD3qd7+F+vND\nwGew7Wwa736cCKg1PFm0aJXQgqv2DYvCpjAPeIdOAO+xeLcF1dwZqm0pbs77\nAIttqwDaqXRtVgB2EHr/oBlocCffOnAwQ7NfZifJX9Sfr6T7LdAMSztuPxVi\nb3grFuKI82XJKXVp5sgkrVo5sBoY2zkVqG+lzyZrczhSmioZMY6RnQix4ElY\n6+zZiGzHmygw0w/e2SpGbGU32yXlsIyNxfmPf0MIouNGxRhrQ9+tX6H7o4Mg\n+EV+zisaoJSHQlMT347oayzrXT5sFdtrCRGZ95MEZYCaIA7mQgqosPTtRHbK\njDc8BGDM0zRQ9JV/75duzqHjZe2UPucdPAf94xCs5D5J8FHj56prrotL78qq\nXL0Fr2LqCEPbQEr3dIO6g2PboaWCSbMpzVqlVuN//eJG85FOWqNQOgt6sMCf\nIlUzW/eDAkDCqYv1ZAwAUlBzzRMUPbtvOP7dWTXsvyKSfP8peKasHbixS78T\nd+xp\r\n=4HEK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFok5v2fbxjt/8ni6ePlNwRYCw6031zw14dUx3b2bwQwAiAPqF3KBNEJNfMGOcrFDjga3cz/loXB93qTRrVI2J+xoQ=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.1.0_1596721485104_0.26700322532866094"},"_hasShrinkwrap":false},"9.2.0-include-partition-table-info-c1456489c74ebd78908f4de5cd9c34d99b9ce8ab":{"name":"drivelist","version":"9.2.0-include-partition-table-info-c1456489c74ebd78908f4de5cd9c34d99b9ce8ab","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"c1456489c74ebd78908f4de5cd9c34d99b9ce8ab","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.0-include-partition-table-info-c1456489c74ebd78908f4de5cd9c34d99b9ce8ab","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-eWrMKjxiX5L3LzoMgmbCcc9ckxE0CuYFctM7k3V0KxK1y9nhbhDBIBYOOY5NnrfqKdKev0WdV1601Rsdd7DUrg==","shasum":"0cc7bf18bd81b352fbb7b3adc2527c35c28113ef","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.0-include-partition-table-info-c1456489c74ebd78908f4de5cd9c34d99b9ce8ab.tgz","fileCount":32,"unpackedSize":125196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftqidCRA9TVsSAnZWagAA1mMQAKQqjhQxhgfSj97Cxg2p\nFxL4e9WwQ2k60X3aW+ClguqgnBWd4rJSGe11vefM2JiC5B+P7Fmqq8pEkQBk\ng3V0/clBedgSYxtftlVgP1UOahX7FQ1wbMkPzqPKjcOpsOaL+FuscRAyfilx\nyMKVOzgGso1uqWDJRqBsY7aCcXMXvLnJXSfsfI+n0UfI8ts8A0SIhcsi8h3k\nPb7w/vvbTHO5KG5Gy7L0BN2xuzrWhTChRNfzwxAKJItY1cNV5HS7hHm4Hy/K\nNk0CkMYdV4m37wA4qrD6rBbfD5ZgIlAAlik/z3qPDLgXdCd39TBj9m3QlE1e\nqaJHOihluS1KppjPrdQUmeWY3lhpaXcEN6tAyBzN2tzoOZ5D3A8dF6Aoynwy\nqq4iJlSkbHwBLC++p94szSrXags+mHhVr4Us8m+H1krzULVffT3st4oXsCCP\nzm9Ktwfc9kBuIuhomybkS3sMntfrf1LaI2FUodHCdEWNZjyAnLHzqh0LLh8/\nkuM40bxGIX2dFSWsgasq9cRc/60YotCtBaO3qnE1Wj5qeSU+Lo/ghq40CWoi\n8VsWJuOTm1eZ03G/4XeCS1WuZJVGTiipHbNlEtRqSp4JVV7ahW2/jVJ+6Ayl\nyYM4f/49pmttuzDIllhnUgJ1X78JJ5WaKmqG57ud2ZD8WPDO4F8XmWOyfba6\nY05A\r\n=pTsm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA8cVBkZ+swJhZ4B1QNqA7Bhn6pWjwGQPK3JFpo7W5CSAiAdqc+0V2APBV71HNsBR8is0UV6Y396tCuF2/naVgawGA=="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.0-include-partition-table-info-c1456489c74ebd78908f4de5cd9c34d99b9ce8ab_1605806237447_0.1745218454257753"},"_hasShrinkwrap":false},"9.2.0-include-partition-table-info-1ee43c2eb4543dec78aceca566e645dfc5b29a93":{"name":"drivelist","version":"9.2.0-include-partition-table-info-1ee43c2eb4543dec78aceca566e645dfc5b29a93","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"1ee43c2eb4543dec78aceca566e645dfc5b29a93","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.0-include-partition-table-info-1ee43c2eb4543dec78aceca566e645dfc5b29a93","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-V5IdwvBwW3AnwDfAZ6dUa/o2Vf9zZrVY8M2LiOquo5FvV7Ew1HlptiLGU51fdiYdRVkZDVw1Tb4u6EfhUmTSsw==","shasum":"b68bf32bd18660269a2707b8d3ba9042ade66980","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.0-include-partition-table-info-1ee43c2eb4543dec78aceca566e645dfc5b29a93.tgz","fileCount":32,"unpackedSize":126239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftqlhCRA9TVsSAnZWagAAt7YQAIMS3qfnlO4ZgY8R7Z2y\nF6KZ8in/D7vno4MC3ic3LWG+sDPcVe7m6FAupFpWNGL8wlqE/XvhVVsPxOi5\niSdVlAV7U5rgaQDieho3dOOdQkouSlbrPUf0vZmV+GKMUm0h+aQl7lJqvxuE\nkK7PhUK6vdr0kWYPKB+rMv2DC/qcaOAdoDm7iPF46FIVTZcIeJmHu0oQW0ag\nnhRqz9Niws3tvuDsq2ofdATQASsqL+DbGcDWX3C0BQrvheR0fkJtUl9+bUkZ\nv1lYbSR26uqgEFcENgsCcmh0faRNT3/TZgSqEtEPR4O9Hs35S+eMZ7FNJkos\nw86ZeEPDG3a9Vef+4LiuBOihC0F7dlI5mmKUqPkandVjAwbgNocfP+XS9s6C\nVqQQwcNTYAt49NfPC8lKsiI74a92pYgoKXXG9OddX9f6ivpXO9yCscnFILQm\nzzT6MzLiIrb6KBeN/0lhe80fKZIGcr4k+aFD7ZMPSNFlH58gyQeMvWMBnoqe\naCHBNlPfSc9Ut/0JGmx9hkHEk/kZk3Mxa8sD+tOt8AlS1eDDAQ70TMdBIi4b\nJZ+DljDw5KiLjpdILiFuN4NW2dvn053ZO0vcFQLvpkTuhLDt6rY7kUl+L7AP\nwQo69WYqH2lNDtOMWGlcwhQoBLEOJukdA7Gm5fQ0hU547ZjTFa01QTQuokqy\nk2RD\r\n=KhsV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdODOWv5gS+1RB5ZEAbZ0oUezPjAVZArTEwHXfDYF6MQIhAMjd5JmmPcPN8JIOclm//bYcWqTqJunlG0DRv2QvRDPD"}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.0-include-partition-table-info-1ee43c2eb4543dec78aceca566e645dfc5b29a93_1605806433241_0.742332155601227"},"_hasShrinkwrap":false},"9.2.0-include-partition-table-info-80f089d82f7adf4cbd1c3f8bc5394593535bab68":{"name":"drivelist","version":"9.2.0-include-partition-table-info-80f089d82f7adf4cbd1c3f8bc5394593535bab68","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"80f089d82f7adf4cbd1c3f8bc5394593535bab68","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.0-include-partition-table-info-80f089d82f7adf4cbd1c3f8bc5394593535bab68","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-/cBgscx+Ex5Z2iTwXXxed67eH19uAMifD4iNkA1QWaL6WwwZt7TZcNp4G78vgiyohZDdWRF2Nu5kNV3wGNZM7g==","shasum":"5c9a82f79d490110bc5bb696723f8be3008eeb5e","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.0-include-partition-table-info-80f089d82f7adf4cbd1c3f8bc5394593535bab68.tgz","fileCount":32,"unpackedSize":126353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftqwuCRA9TVsSAnZWagAAsf8P/jZtjvjwIDh56ufrlCIg\n0G9/4Nx9tHaFnzGCZoXLJTXuaySuti90OWm3nz+c/bDzozAVpoiLM4fQSOaD\nE1GU4uul/qusomKbv+568iy9lVBsBeV0JpREDJIFEPE2szNIZL0GP6FQvTnb\nwLWnxE80p2ouHk29vZ4wDrWfNFd72thEU8c7O51EAbVWbZhYSwcK4lrhpt2z\nIntr/LAqrAdU+0ZejkvFcjzr3OzrgHXMDjTlLeyEuc0FCKFFKbT9OK841pRe\nJu3krnehT8fwK/PDdTIYvsEU5LDVOJKGPbbGT8DaOvLUfHAEf3WhVkHz9HVo\nCLgLnhttMKKYStRROB+K1vUECO+6FXlmQE/tQVkU6ZjwUKvceA6al8mCPWE+\nU7CQQ6bQVmbQ8DO4g9RKtcutv2ez+mxZ06oqDxBsLDgeXmHLBGamBuALb7VK\nJSPkf6teFN2ASLiSqeeN0MP3U/IokvclFdblt1HTjPpEjrrYhyCxIGx82PSh\n6O/jrhya2cRsNXsAmqRgecIrKH3zrrIrn8jqlH7qCj2zsi9bUUEw4hPh1+bl\np9EeYPEC07U8/p6Ur1POMipYfz2JPPivAh7pFBXr2diWbBVK2bSxWxLTWGkY\n25d0OsNN7KfSbtUvDBMmnfpA2Hp/mMpvLsnVdHAKAfGaQmcGuH5HTOLxxaUm\nQg8P\r\n=f40f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHmvDOEnGv/vt0aPVg3XjC6Es2ULQX1ICj3QYaDUCTlgAiA0cGLErezBknbg97cXkizp1FD6WAk7g9jXBTvpHtjnNg=="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.0-include-partition-table-info-80f089d82f7adf4cbd1c3f8bc5394593535bab68_1605807150026_0.21945711209220087"},"_hasShrinkwrap":false},"9.2.0-include-partition-table-info-c05ecad57d5db7a130e81743aa3b2ec340172a05":{"name":"drivelist","version":"9.2.0-include-partition-table-info-c05ecad57d5db7a130e81743aa3b2ec340172a05","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"c05ecad57d5db7a130e81743aa3b2ec340172a05","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.0-include-partition-table-info-c05ecad57d5db7a130e81743aa3b2ec340172a05","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-mSilranvUHdBxdI2j9+rNvISxnLh52J09XNobmBR5/xAVbzgDv+9PSVsQ7hAZNVFdKz8inG2PLJBUhvkVSSg9g==","shasum":"30fde31c486577210bb7f6b0891fb7b1c9ef7527","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.0-include-partition-table-info-c05ecad57d5db7a130e81743aa3b2ec340172a05.tgz","fileCount":32,"unpackedSize":126271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftsTgCRA9TVsSAnZWagAAH6oQAJ0jkTi6XQ1MhzZfU8hd\n+RmZ+hPS7DR93uGW9GU9qfBmSMiqiwGiXfvwrN9Hhvv5sBn0KoFgj0O3aE+0\ndb8IXsvCmU2LVhWAcEocq3/6PrEKw9GOVR5+vWuo/LZqkxRWuDLW5GqTZsmB\nZ8mMAXvnepWYIp7Zbg4bcK7hpOc/2dShHR8qN1xRSa1VSuTLt4ljiU/gONy5\nwo/MxK9sIuBb6wEQqVX2ryMFGGZatms26lpSIV5McEScAfAvrOmTlDDsMSyJ\nUyXT/H+w4KluvXJYyEGRbmZgmiBNdAHaYXdcv4HABAquNZY5DPe6nPqnRqya\nT7+eFSh5deZyUoxR0D9tMwlWlTqEli+2uvDRFkOK1XwFc5nVCglWc54F4AR3\n166H+oSnhNWwcIaxHXHWXlLxdANPCKG8bJxdTLSt39VJITBcotouffYRN05h\nGl7AH3NK0D+opME+Z55yggGQYR9bpre3EcW96TsYddH1uu3mDvTI7eBXOlPg\nZx2BT92EjPveAlsBG/FnnanOtTza/x2vX8EMKHKLEUOvCoQl7raJXsHCuwxh\nYyAWZjZne37wtq0mVbLG3k44awHFlwz79TSOHGKZk8qZGRFAMhtAbPbJ8NI+\nLkyrFH3Cnny2i0PTARYuPBByiEPy3GZiaxpF8AogHz5biRjxYab8MH6Y5I8v\n8bNQ\r\n=C8je\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDruSZgMG0g92RQtdxUX06xwcljRPH74k+xfYNFTcBpggIhAOt00YzjQtn8YkRRRMFhRxipzvGoakgcXoJkBQSb8ewM"}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.0-include-partition-table-info-c05ecad57d5db7a130e81743aa3b2ec340172a05_1605813471481_0.56795113427427"},"_hasShrinkwrap":false},"9.2.0-include-partition-table-info-11bcc2887a560949663017f5498752be1af28afe":{"name":"drivelist","version":"9.2.0-include-partition-table-info-11bcc2887a560949663017f5498752be1af28afe","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"11bcc2887a560949663017f5498752be1af28afe","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.0-include-partition-table-info-11bcc2887a560949663017f5498752be1af28afe","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-rV09IgG3n9iVgAleK9D2vFLKhKHmmcG0cyrikHqkVc4ONtv87IcncwmZ5xGwfxis+hf8CWSs+vLs5Z5CZFErDg==","shasum":"9e73240935a690ab495730e18369dbd8b1b799ee","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.0-include-partition-table-info-11bcc2887a560949663017f5498752be1af28afe.tgz","fileCount":32,"unpackedSize":126334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftsiYCRA9TVsSAnZWagAAXI8P/3uBJ3K6fHRH6IMTsTSc\nIMPx7kckY3AaykIpsj2CM5U0Hag7SUrxySAl8YCsjchQiWCOXqr6RfhFeSaV\nG8KXjvdPveOnzf7U4yVHKSJFpuCuwhQ9tqXULnckjkx1bcgRblNghxcdagu6\nq2qsp0CVA8xl0CezrW044QAGbc4yIk/ib3II1JovfA1ozuPWaQux5lFNbrlk\nRztv92xosZXpBMKzWXNcZiq3ub1WPf7oc4IsqGJSb/PrRew3EBvYTPtMGr5a\n+24+VZDzzQoFCieHRR/6hIZfD9N2UFxcImb5xhn3KtrGMKFlGGkDovhqR5Ji\nnCys/lMmTS1oRkA91gv1cvX/N6DprvHXYzhsXfp7XhuvN67dO3kmy5VURSQY\n7/EMaWm44wnuV+Yt4UJ9kMG44Ns8W8yUi61kJaP2lcCf88mj0nkFer42AXTP\nWB94/8p48LbYkjqJpCMKdhZ9QuDl/F+oMCnmBzncl+FBISqlvhw8iicYzl65\nAB3V8hGCdB8NBncwSGZk+78uckw2lokdDEdx5K1hViCzkH+0nmUsVuNzv6hX\nyNfzQpIn6VGd+ySJp24FlJPqSbp7x1qHpwHUl91DS1moljVDEJoWv/TIZIfE\nMdRvau1cCJ4GyetxtQ/2Az5ClyhVGP7NdVi+QPblJqGaOMO1eJ4VXK4LJS+a\nalsZ\r\n=5ji1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfPCEGUZRfO6FEXqg01NEydIlW5bfeKBhLCl6qioG2BAiBIyL82Hq7Cjc/zYgpg8UkpCpusnZfehIsPd8M8F8pTRw=="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.0-include-partition-table-info-11bcc2887a560949663017f5498752be1af28afe_1605814423395_0.595145312995712"},"_hasShrinkwrap":false},"9.2.0":{"name":"drivelist","version":"9.2.0","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"fcdc5ab0b9eb74579b7ab49e970f0e052e73b7b3","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.0","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-1bOq/TmS7FmE7/HJso18KgY4AJQLm7xflS9SEcWKKPgMx/SKE8hknZp8y5lCl0MD73dsscZp8Oq+6sCR1dK/tQ==","shasum":"01b1c439067beb806904c9b58d6337e39fb86676","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.0.tgz","fileCount":32,"unpackedSize":126264,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftuYZCRA9TVsSAnZWagAAwPQP/jMwO6dXNwWa/SpGytfT\nH1aYTXzlRLtrJgpJNHrIpnVSZwFs8Q5u0NcA9FuMskPYzSpKaV3dP0FOcloM\nH+N3Ti48KP+3tw1YtpIthYn7IklfFCQpwPMEF2CJuI5T+PuKDaKAi5R70bAz\nLQyDJX06ps7wVoFuSHq46xvCh2swAi/RTse/kVNWMusfO4/GNQ3JoWoe5pJr\n/T68+zhWyF1rp0x9rMK70jYfJjiuNNwVHRPO21l68q/LeoECVYGOa0sjE7fQ\nRTPMXh/UoBYLcnT7qrO05ejTcRW28V13IM1zaDxXSg7UyuBTjxAevUSGPAFV\nCZdW3PKqj5pu6S+RQmoUVfhGm6W7+TiY+gly16GQxRMxN2NP+VLcR8Wsn4oz\n9BZC0gz4QaQmD64pu6GHHJ4/q/ZN0ZT3wp7Achx1jmuOhuI5ztOSyp9xzuoe\nUgdrR6p+66NnXF1VLq9i1MHhasKKnNykKN+OGEfZmefZYlFwHWs2pYJEZ0Qh\nDYW4iVjscdWtLhEO04YPG58pOxFptbiagLEMIzWpnXUJuEvJ7MVrBZfFy7PZ\np05De/2sgvBvto+HN5lhKEFIcqkphS/98zGupYHZbkq7Mejz/my7DBx7uJw2\nJl4oSaSfqACffcTOLSrYf1AS7qmBxl1hmZMZXA42/fSyHZIzzesfiUcMbqVv\njR1z\r\n=tGZb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHW3HFhqWoSI9kssuGTSo5IQzPackbEMY7wBgpiVpxo9AiAfnddxs6t6rbF4yR9loPYl5RipxZ/y0UOlKXmcFUajAQ=="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.0_1605821977365_0.3959052687187521"},"_hasShrinkwrap":false},"9.2.1-context-aware-1133ce6bdc04a44201e145b4951b1c0c7184e2e7":{"name":"drivelist","version":"9.2.1-context-aware-1133ce6bdc04a44201e145b4951b1c0c7184e2e7","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"1133ce6bdc04a44201e145b4951b1c0c7184e2e7","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.1-context-aware-1133ce6bdc04a44201e145b4951b1c0c7184e2e7","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-6fzoQLCv/GbZcuzXe67wZL44HmRkCU1CQXF6xlRR9DmRbvuzGrGv/FgpHeHvQJ2mcydJR4nOjmRMydNZ4E8/sQ==","shasum":"dc8f9e9490bc42651ba1cefb903c6eebe3c9e16b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.1-context-aware-1133ce6bdc04a44201e145b4951b1c0c7184e2e7.tgz","fileCount":32,"unpackedSize":126477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftupBCRA9TVsSAnZWagAA3/wQAI9eyGHFzD//RMrW4jsS\np0Pgyl00+gZ6iL79WjL73poBwp6sP/bC9s8ge8KiCbFPUJbHiOnUGT7+IALv\nCJnQkau4wjFZTnwbStU7owY/RCxXKXQ/VyjDnQ1w8C/UDtSGdxzhrsR8JzxC\npwc1pG5N8HAtF6/JJNa0ZEEerrifOcSReHwaGH6fZXYzTZVUmfRBCV+pRxo1\nTh3LDy+YPkjniAPh1Rqp+tHJre4vqfNqDH5LH0sqDI37wtmS+TSp+GKYI4YE\nXTPueiHyTqmgpfzH/RWnDReWxE0xVo4qti9bdleXZCF70XetFIqqr3idUJWM\nL9Ey6mDWGK81mCo4grAdF9Z4yDjfl46RzCBNVbMLZHZ6VUU2o+muPal2YuOJ\n2+/IPkqqvvAB2QTQY5dJeAeWHAXTGX0ZVt3LlLXIazk7paOZX+8e1tICMsqR\ncIbSyuMupVknNhZVq2mWO8bKigpauTRRrFpDLAHmuvdWjs+Fol+HfRrprbHR\n+Cn9UD0FFdFFLFxJhjwddwES9BgwS8ssAfCdHMTP5vozuzCHDPIm8oGnGesz\nk9+uObR8FxhkR4Td4UubjxFMbVwaMN2nLodlc8BHaOFeTopV7h6boDEJGDIM\nguc7js1YYSdPW9eV1c0n2doiAmD2AgCkO75u/bAp39wQzDT6z4RYk99pXTHg\nEOJA\r\n=ffcr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4+tqLzeXjIgEhBC1r2TqBt2hmKeKWV5G1+jS17vBS2QIgD+dqcEUK/JEETgaMfF1XUE74PggyzM2Lx+ig0Y3TPOA="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.1-context-aware-1133ce6bdc04a44201e145b4951b1c0c7184e2e7_1605823040943_0.9497505122199266"},"_hasShrinkwrap":false},"9.2.1":{"name":"drivelist","version":"9.2.1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.1.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^3.9.3"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"f603c01ec5d411a028fe4b2d63322ea806b2df76","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.1","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-oiMDLWUOhoqvVWDvjSrWcz2I42dNuH0Pf1SZlEr86I413n7XoY/YANnqipSynpe86arBW4EbNur7VAl5h8QQ3Q==","shasum":"d838ea1f947492b4e70f5d3b815a57571b6212a6","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.1.tgz","fileCount":32,"unpackedSize":126422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftus7CRA9TVsSAnZWagAAQVwP/R3loBVt7G+ouKG23WaC\nkRN7RnnGeE7PxBBQKgvUsPuOroz/m/vdjwHu6eTLOrgOoS3nsiWjaG3PWW96\nnmnXmxcB5PmpspllGWLFIGsWoXDa/xpu5GP7OzJeHNn54rGLNzRcuY+rM7TL\nQgh0Rxzr39l0i8dHFUO2sWkrFmzmytfmPQLMhOG3+LtZzBF5VUcPcETZbAOf\nfh1nXp9YppEWknGSvp+nhyQpNWwOMXSyA36GAA5VHIXEWx6HHmEhw/Aai3sJ\n1/PDPGFUrf8RZ+c5wjITdNH8Bk/AjRNK2hRZ94HqAULINQKBQBBBl+yW9VS6\n6xMV9M43C3eKaA7tOyAVB6dK5mYgiF9dHGRTW7OMy7ZQV1G6xR3g8JD0u/j+\nRsEluT8bvV2nghXmV9BK2OLxvixSzxTk0h7m0Hv7J8ihpLO+qKZnCC2ScCxx\nQhcItT7+dD5zSQnmvSZUFSNHs8fIo4iW66HYMg/IAj8SGOK4h7UJB3IeoW1+\nwnYVBuzxVWoQ8EtgnSnZp/uE+BkHhxUatlRbGp4S/kUSDrQoYPeObWCwWzGR\nCFkRLFDavdECqFG6DK27umx/nIGvCsGTgVuJtixi6WflNAaBK/z9dhs4VPSB\nJyPTDTn2GwQMd5d0fx/NGg08XHBzFnLazoCn1vNoDu8hwWZGQKs+GBl6tSM8\ndbOC\r\n=0hkz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC8X4utpy+cQ8SLVmNxyIyxoVhRx/VA0LmPU5itrX+mHAiEAwlPV77V1er7bXS38iXod74Kift80kYIKcMK5NL9ZmbY="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.1_1605823290649_0.16134773164868732"},"_hasShrinkwrap":false},"9.2.2-add-versionbot-changelog-921936f40542118aad8194a13a81556dc0130523":{"name":"drivelist","version":"9.2.2-add-versionbot-changelog-921936f40542118aad8194a13a81556dc0130523","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.3.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"921936f40542118aad8194a13a81556dc0130523","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.2-add-versionbot-changelog-921936f40542118aad8194a13a81556dc0130523","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-9tcNIWgSiZAVqVOsPfxlYU3qNCgZeTGkiUrGr0+BpYpKhQ0AcZP/fbK/b3X1Pl+Nh4JbfWrfw5eKb6CHej9+cA==","shasum":"03f6af6d56534a51cbadc1d77a8a501d2dc5c7b8","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.2-add-versionbot-changelog-921936f40542118aad8194a13a81556dc0130523.tgz","fileCount":32,"unpackedSize":126634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxTbCCRA9TVsSAnZWagAAWsIP/1eX3NA/1emrVX8Yd9zJ\np/ET6gWtq1sA9pvc6OT/iMJIkyrkHoEmT4hGCMO9WFayyGVhcDwLkCJa2WjP\nkdm6CdbF7WpeKQDRlgaFCh7SJG0RNHvO1zTufeJY0Hy6TmHpizYr15q3qH3G\nzaVEEqGqax7E0YuUNaFYwBYAfdFAHzfyxwaVhaYy08A8hVs8OqJgZOmldAb5\nG29ImNR5Wxpv70gxk0jcynU+JKHQgy4SVtR7ZGFFKesGfFvrb92NLtN5q/tl\ntl2vK0jUax00DpDX/NbcXZDp2ulN8BteMcOC9ykiXFNBjzwyBkfYiyZOXCDU\nnhSdN6Pw0ztbw0LD/CZFsRd2r1Su0s5o9DoZlDbCObSC3IZ1PY2uOQ/Y84XI\naR4s5m/UiphzDa8hkBvRorPrnw0Pgn97xZCXa2jnNoZ5is0mTyMg6Zoon9NE\nwMVfD6VyH+CgQMOSXsG7AR0c5PCQD/PAv2n0k2YBGf7t/aT9YRBHN99ls02K\nengvEHciiZBjJoBSPjiphj1lmTKEFgam11gTM5DrfVrY/xM4Og6JyHEgwkVu\nsUn8z/bQUCA2jYYALvx6fpUvWgwtEs9RukCOXwV9II7QeWMJvkpalbOz4CNQ\noI3O6CwPrDFk83WGAbrMgDx6hSRHFNFdaFuYlLWO0a0zT8Ys6zh4XLjBaoLP\nqnPQ\r\n=1Xbr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFGm2imRPwPY/cR+HFUt0q25640/RDBXsxxle99yrBKWAiEApSOgkEyjyb0+EpQhfdQrGxOUkF6xbcVccRIZJa4yI6c="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.2-add-versionbot-changelog-921936f40542118aad8194a13a81556dc0130523_1606760129816_0.04265169878573949"},"_hasShrinkwrap":false},"9.2.2":{"name":"drivelist","version":"9.2.2","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.3.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"8934d1742636b683e7924ae51d29e59fa011b1a1","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.2","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-kuigQbvkc9+Y6Rf36d9nv4g4PB19UUPOvxRdQE3JEtggCqdxYCPEsNm6WYOudkfdMIFnHtmbS35QowL/hI/sGQ==","shasum":"f62ecd1bf2b931cff6c4ca5bee318950e72914ca","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.2.tgz","fileCount":32,"unpackedSize":126568,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxTehCRA9TVsSAnZWagAA4N8P/14DlfUx5cTDnmPyY3B/\nh1i3FMpECBCJbLTW2/8+rvM5GBTt0A/h1js6VpAo50YBezederpIc8489j7f\nyDY5vxQw/M/gLXHcK/LBuqY8YLwdLy9S3Ms9skm9+UV0tPr8v12UzVUeaC4R\ncsALruNz7mcfIWw7S7hJibRTIIBDibZPg4UnmRt+ENHQTtrGkyTCJx4c3BV1\n6SpPRvb8n5kKUgTFxl5j4oLJ6KMvGkXTf/vdl7grARPXHY3ZMhhRdB5kwzo9\nn3qc0YYZt4qx4O0M4EXA9vPRUwjqc9148F/rC2wPGepyhGgIXqqPbrqtRkYX\nVda2ugPsU3X3ExLFisWhIuiDU99FgV0uPpFjKdKMI2pHO07B4rmDQimQywBo\n6hpe0j/yZRePaxInpxl5O278z6ZPtz60xtssD6Y1VcYvMuMOgoAqEVyqiyOP\n6tX8anLn2+grKTQb2NFXRTfbUObYDfPfm2351aT+jrKPBJ/EBWM782518fMq\njZiOTu2sDINsnhRU2keFhg7V0fC85gD5a8Wd/nQYPK+zvD2nycFYLRC2RIa3\nLBUfHvzuX76laa7UvTK7ufMoaCrYCaXHt+0scu3K0Q3L7BhskcbY4eQfZfyM\nbgUne4ik6BReTlU2i4NUBqJeSofZCsTOURMpN9mAQ6Pthh7cDTJEb3uiYJIW\nxPhI\r\n=Mprp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJJR1HQwWWFIbQOZWgV5ETNiMcbb7FKlbJS3thVs3usAiACZdM3wo4tMdSc2kwSLFLKIZZg9g8e7x+Wqs3ZQZLOVg=="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.2_1606760352674_0.6140227880530147"},"_hasShrinkwrap":false},"9.2.3-support-lsblk-without-pttype-a6d568bb64e53c0dc3aeb226cbd0b19bbb090671":{"name":"drivelist","version":"9.2.3-support-lsblk-without-pttype-a6d568bb64e53c0dc3aeb226cbd0b19bbb090671","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.3.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"a6d568bb64e53c0dc3aeb226cbd0b19bbb090671","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.3-support-lsblk-without-pttype-a6d568bb64e53c0dc3aeb226cbd0b19bbb090671","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-uo2M6//PEyfVP124G2PJPnUQTuzwvzpelHt9B4CkrQl3Pjk1PeXraX4bhohopWlO8//nKFf7rwe8z2+K2oTvmA==","shasum":"32aef3af61ac62cabf12e5236bef16885b695588","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.3-support-lsblk-without-pttype-a6d568bb64e53c0dc3aeb226cbd0b19bbb090671.tgz","fileCount":32,"unpackedSize":127606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBtqQCRA9TVsSAnZWagAAe6QP/3LcwbfFAufveEIRY1uY\ntk9cW4JMRZLFRaGJUHwiZq67MpJxPxFQ1oIrf/KK7AWwfP1qzuKgZb3KkKiB\n/O3cQ2LLS1+ff2JkJ5l/h+wm83w1daRe+ZHsPqoXh6Q6Pk+2GmXjI0JnRZpC\nDQNY5IFhmp3tnq0BYWnxccm2U/CmeIwUWt4bJoHL7vfsBWoMMvSq0JzUEtcV\ncjvvZq2v7iUne74/4yc2VT+Qto2sZYse4lvfGkz4JG5EH3ddZAfd6FhrDg1d\neiqVPK04xGgXL1YLXwbuLSb4qtkAp8hcq21XKJuNw4UiqNgeDg1Fe3SnMzzX\nMGq0JFKr4j8Jb2drmVVTXRso/mKN4FsXkB94k+naGy8QXFODudUQm35nmyT/\nTuJHJkBvZ5iumxekC8It5Qzh8gR3DYUMlDQIUDZZJ3Y3CQeMs4G7pBDOX0Ea\njcNr2pAXwFvy+i2vDqRUz4ttmJ3W75KsTqFezgng0OvZ6T6bpDTutcNa6rqv\nNrWv0Xxryi/tQhVjP8lF8XdE/oMKSnC5HdJraBV/Bv1R1u1/pAR5TpmcgZK1\nmTFdCKynNNou5xMdn5OXZSTcK1w5XYF6PQmo5ooXqao5f+OB1u0gzusnusLX\nqoRqtm1Te8JdCxzYGQK4Wixdy9F/CoN3tU3Tqu5SyrG/UVL++R53dgFV66Lb\nF/8h\r\n=H18u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpmPAkpcEeEbWWUgne4WpsK5CMf7hMpOoW0+xgl1rT1AIhAPrqAbmdNbbk6F+QmYBIoaHo3kmk54BfFke6i1CEQIQJ"}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.3-support-lsblk-without-pttype-a6d568bb64e53c0dc3aeb226cbd0b19bbb090671_1611061904488_0.842693052769584"},"_hasShrinkwrap":false},"9.2.3":{"name":"drivelist","version":"9.2.3","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.3.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"b2e92fd909d04113b4705d98e0b9ca9504207b3a","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.3","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-4nQTg5wpq8o6fl/UgUw5ukYx8szEuoRcbym+STtfPu+daFfdwRovL+CYlHd078mK1CiV7Yw7pnrtbW7jvbElrQ==","shasum":"aebb6ddddf2058f91c9dae708fa2ec97414d3e67","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.3.tgz","fileCount":32,"unpackedSize":127536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBtuzCRA9TVsSAnZWagAAFCoP/j5yb/Nl8U+Do/9Izbau\n/bI4g2EQcZMciP84cj0euYNJ/jo2DwWY8rfs2Kb23TBos3h4r3fCnFnVO7sk\nV9aAD9kN+leL8lZvh8UhWdDZ3rlpB/r8eVTdAbPaS5pAb2F2aPTDZRRAfh0V\nn9DHA3VYB+CZxzgc0khTxfArcXtgZL6955QQ+VzSvj4X9Iqsq+F61yiaSdCF\nIh+L3cTAfaPd/SCVgckx2l4xO8WFYi4CtMfAufykX0fmnGFp5/7K08VpTNG+\nO+5bOlhSVWbI2yyP5/MwGLLtwaHw9DJXgJWVQ4En/5B5OCnM1P2FJUw5tpgQ\n21dqtLbXpT5+tduqH/g/tTfPkfyGLM/OapzWqsXX8DaPMcFdPf9W345r9xK9\nzkCMhhcu8N7uc7e2P+mLxOphdI8lY+QZ9sg2GlRLSeF1qo35yBgerKPtq7k5\nR1M2CM6yIK2OSxgXPqezcg9+y+YbYPrrxeoaHHcA9S+5JFnt+LYlXYHZolF3\nHnkWVDP2L7TuyOEwYY4Ih2I/atgR7tLjU77lVFj8BkCsZfIc9zJ9hBWU9tss\nF2xxvYS4n/Ds9KxQIwM2JN3Fcnlw4WunuNV/0Vys35onvWrGLe3TMgUR8ht6\nx+86Zb5YyGITOATbdR93sFcmjxsIUELOrih3GUuJNuZ7G4/wEhSHDoraOMVD\ntyOt\r\n=JmCy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHPC7S0WGYnB3rTaHlvJyZ/JD1/k0R1Inw3daLU+VDlgIhAJAU9k7gGxvItWOcuQXrGyTCp0X4PHjRCr4L3i9LbeAq"}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.3_1611062195451_0.9864576778905825"},"_hasShrinkwrap":false},"9.2.4-maxnet-fixes-1ec6a8ffc4c9e138b78210f0db84a9ebd6c9182b":{"name":"drivelist","version":"9.2.4-maxnet-fixes-1ec6a8ffc4c9e138b78210f0db84a9ebd6c9182b","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.3.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"1ec6a8ffc4c9e138b78210f0db84a9ebd6c9182b","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.4-maxnet-fixes-1ec6a8ffc4c9e138b78210f0db84a9ebd6c9182b","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-VtmXVUtSMMUWtzD3xIhqvpI0jRVCCaHNJHpnTJF0myo27Tj6PDA6nsDHzO+Y1tUl0WB5im6zDGy0omfAhix7WA==","shasum":"2287592f30f074266ee2807484e1ebfaf8957fe6","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.4-maxnet-fixes-1ec6a8ffc4c9e138b78210f0db84a9ebd6c9182b.tgz","fileCount":32,"unpackedSize":127804,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBt8kCRA9TVsSAnZWagAAXDkP/1KciyT67jtvOwRmL7Bi\ne8yxAamkeBE7TfqUG/kj0MValYv41+VPX/rQkngQK1zie3LEwZX9ZyQrudbp\nx4KUnMzZZLgwIxgWXSwHlp2yEpFrrtw/867wqhMx2Pcr4WG3qO1yDQ3M+dQy\n69sYWlJn+IzfFuR5NBk7P6KiF31HTcLe45J7Rgehdw+y1hG0Oc9as+DpwV3Z\nGZwp2JzpwbuqEkipRau7jtn2UMBt4/jVleA7JjcF9KE8ocVm13xtjIARumlm\n/MKm2hIoARvuw1m9k1SYzdTKRt9uF8v7vs1aipnteCVIeU2vY9bkiYM7S6tB\nvsGIT9aSjtxlkByyP7H9lVk2g25u/N2p5GIiXAYWKQTMwST0aQw+6WTVI2UA\nUWQU7qgrFJ8wF0hXv7WTGAjieM1DwGvtt+289N74Fwsxp5p7sz+9t25S3Wbl\nNSxonsuPfLuFnq7dG2a+AC2y1/MPNZsWle9O6qQN9wK9ITpcxV578AToV3UU\nLIFM3z++1qxZDjTb/sAjN/NpAPWy3wGZju58vUHCCqhfNvkYKMTeVA7prgr6\nP5C07kkHCZYWtM+JUA1uf6DEl2OIIfdPpjGNvD4IZn7XVKdqx40Z/Nl4ZKgD\n4CpRBnSHo78QGkRSJizW810kNwUGA77AIQgO0W/V/skCiT26SmLatpuc+V6N\n7bhs\r\n=VjGG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD41gVOLHrltNuhC8uC9LU2PaIgIw5JfT5yczTPNFgVfwIhAMrnsTyVyGMaTfD/ql6PDpAPPoRxOqCqCh4nYh6sWEUJ"}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.4-maxnet-fixes-1ec6a8ffc4c9e138b78210f0db84a9ebd6c9182b_1611063075842_0.6489833019132982"},"_hasShrinkwrap":false},"9.2.4":{"name":"drivelist","version":"9.2.4","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.3.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"gitHead":"260f04f6360a5d4f17cb95fdb60d55d6e6cebbdf","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.4","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-F36yn+qXwiOGZM16FYPKcIRjC7qXDIA0SBZ0vvTEe01ai788Se8z78acYdgXC8NAsghiO+9c/GYXgU7E9hhUpg==","shasum":"f89d2233d86c9fcdbc0daacae257d7b27a658d20","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.4.tgz","fileCount":32,"unpackedSize":127750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBuHdCRA9TVsSAnZWagAAsH8P/jpbDme54Pvf9bpDim5j\nbaPWeMQi1tdPqR2Art50HH10C2DWX5m89rjUdEhb7wiLq9AYBD5Yae3oLgHR\nqEEFXB/6JGc8fWbMcR+5ZREfW/4mDYNz3Xzj9DiPh2MquEis3iybQHDLRH0r\nlosz8D8Hhgid1T2+G1CWtEG8jnXwBinKZsKNSfA8Qv8eXisgGtI/KmbjzDfL\nYdV2P9z4WrDiBRUZajiWKt6NgMAWueXr9zziNICQ0PbgAW4F2mSXK3iW8OgF\nl3t5yOvgT0QSbcMml5WGkSiaDMldwbAT5yZLUnTkgzK9g1WJJh8XWlJoj7Fm\namD8y6mmLLZ3snpdlgyEzV3crJqhaApFq8ehHSxaqCPD1TTtcIvBR1U7a4UE\nJrkXCObbKwSaGJrEqhCpT0+jtmBJadt331uDIHczMM3AT3aDDZTJ4PIcx7ve\npmXG95iq6KYU94RrHr6CjJ4rnAR3UKke5Afz3V30weHv4Lpl3hMOeA4dv1pg\nfJlxvrobccbGy39De/lRYbJrezGF+pTxz5HQF6zURiUlmZDr7DZTeH2zgcMN\n1JHO0Tce0iYTrHl4Lb7oqz5Ynhs7uTtqOkAOTtPlJkT6HgQIjvooCwOpMuXX\nOGg1B6ydh7JcYxeeK6Pj1OL+IA2VTP2vn2u/2p7KUWb5juPmsn0j9zCgfWAB\nkjk/\r\n=xL09\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9RbJsTt3xgb6tFTlO+h3CHHojgoZsyEYJzYPklxt95QIhALUbXFYnHTc6hF1SryIn2cI6VgOrzZdN0qZ2ywiLLS7e"}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.4_1611063773274_0.5408430299262819"},"_hasShrinkwrap":false},"10.0.0-napi-42137d182f7a37f182e8203c6f351fdd54b6eaa7":{"name":"drivelist","version":"10.0.0-napi-42137d182f7a37f182e8203c6f351fdd54b6eaa7","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","install":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^9.1.1","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"node-addon-api":"5.0.0","bindings":"^1.3.0","debug":"^3.1.0","prebuild-install":"^7.1.1"},"versionist":{"publishedAt":"2022-06-15T22:47:45.777Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list() ⇒ <code>Promise</code>\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Returns**: <code>Promise</code> - <Drive>[]  \n**Access**: public  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"42137d182f7a37f182e8203c6f351fdd54b6eaa7","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@10.0.0-napi-42137d182f7a37f182e8203c6f351fdd54b6eaa7","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-HS7ONb/7r0iVHugsUk7zN852xF17AoRe2mJjl/61EEheBicQkY2sq9IdjPb7xiPdEuq6SQekC7Qvv20/mQpGrw==","shasum":"aaf600dc2c5f9a0928cd1bf01a4510c336c5f87f","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-10.0.0-napi-42137d182f7a37f182e8203c6f351fdd54b6eaa7.tgz","fileCount":20,"unpackedSize":98951,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF+jv6LbahwwIo/Lf+yOz1SiFL3lbyrK5Jl6XJhPr/7SAiEAl506Im2qjDFPbMqdX1peALADL1N584r2b0ZlTOINd80="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqmKSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzWA/+KTcu5lNBj4lw4N877dxX3xVXZrvbbkVJfKQM+xLJoDBaigpN\r\npsGcHsgQk/YuCI16kViR9h5NIUECPqob2Q5Bs5YXNyZ82WO6bC1PX7PwWRnx\r\nNDzZ0NY8n42LbaI/y97qAOJoAE/2EXZCWd2AV8e5Rc36xmg/KhpanduFSXwV\r\nWK1FPr+WkCxM3bw1w5ABCPrAaz5DFPdSk2ALOWvUavkp8Is1DV4VtTMKOKLx\r\nNz0cZxL1AumMUSY2kmbp0R+9DMO/1KzyIRcPd3KbP1KED6CvOc82lhyzmLIO\r\nQZx1XSR+ArhEuApV39krUryPgHuVZJBQZqN0AExwGbQHz7pROLOxSJ/b281l\r\nrD+HMPPlBJyPrqJglt6FROjaiTTH67O2kS5OkgIQPiLVRCP2OB9/vNo2Q2VX\r\nFrZ8HJuNkV0VyBRODLebZn38KSsSuimMjfsavz+zNbh+E+StJv0fP0ac2PVF\r\nPPTn1IJnlDN3ST+epy8IOsMCRBfX281PUIIlFNbedJmG/EdvpQ7dNannTnGN\r\npK0V7Y45PPOO9eckKANncNn0N6y0eOd8qrG4X51fBcoAncR21zp/R7b47hIT\r\n+1q7lKz+vG/Vm2N9HmMbdyliB6JjzcjsXjkISTQFdF/98CWKwRX7dyfUwclr\r\ni72prhIz2IP2pD6eFOeK8/rzRwsQTbe/ch8=\r\n=IVmD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_10.0.0-napi-42137d182f7a37f182e8203c6f351fdd54b6eaa7_1655333522028_0.9203291871307455"},"_hasShrinkwrap":false},"10.0.0-napi-355d3201dc21489de14a2c05d08a6de0c7ff2223":{"name":"drivelist","version":"10.0.0-napi-355d3201dc21489de14a2c05d08a6de0c7ff2223","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild","prebuild":"prebuild --runtime napi --all --strip --verbose","upload":"prebuild --runtime napi --upload ${GITHUB_TOKEN}"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^9.1.1","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[3]},"versionist":{"publishedAt":"2022-06-15T22:53:30.960Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"355d3201dc21489de14a2c05d08a6de0c7ff2223","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@10.0.0-napi-355d3201dc21489de14a2c05d08a6de0c7ff2223","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-dQfPRj0dp1PUukBQ1gRKFS5OUor0aomHP4gZVHlo+l/B/71LoiD/bkdqrL1uQdQAHA7He3pfLKGWbxSBhybn5g==","shasum":"c0bcf84e1404e035df466e9603071fb15928b029","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-10.0.0-napi-355d3201dc21489de14a2c05d08a6de0c7ff2223.tgz","fileCount":32,"unpackedSize":128039,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFMRYcLUyZ0vSqWImHZweyrXyNlBVM2BxEbl1AJmF+TQIhAPJ4YHVVyqFsbePrsnPp9K5oHX3/rmP4pUi5ZxEqzrV4"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqmQFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqdyA/9GGi+j+ypRK0eUrAK64bu+LZLQJ1T5P3yH0pokhRIVdjWxXig\r\nJMFAyDXwxeqNtKSPYTWgNJyCVqENAPFWR/JR6rbhPKYakp1/c73SB4AB2d5a\r\nuAGpx9t8DtlvwQWINwbAEZPkKaB1SqPbrFGbQDzRUMmlxXdC1X4RCwT5v4YW\r\n57D8PD14Wy9kPPrjPSiuBAUEIyNC8wQWevF07uCXQXilcKc4Va0K+iLbVKwk\r\n/yz8B4ORpS0FV3wH5dCHhBdgIbZ/vLtPCsIIFBECtkshfFAfWQCU5H2TRRiO\r\nrKTNjrP1BLyRVWzs0R7dcLPxtrVLZNbK//qU/8O0uIm+fjTqugJ4TfxglCeS\r\nUK+RRWZstIPU4A4KGskf1LqAu60IIcofg+GPK+3FPPz6R3jHPMqxHqf4cbh0\r\n7/Kn2MfvpoIPl2srjldrI6v9hnpfPFOn+h/YBwGZAED+bd7z+vSkWfIcTkDU\r\n+wApyIEJahLAwTxpG7Xz1xYp+HpMdojnmjTrOWyHN3IXUWfIWp6jKRM6IjnY\r\n2deWQRu8raYVxtrhwwafyM68UNtx/HAFGqAOEntj+nuyBGa9PVxHmEevxdos\r\nTNHKWe7D9CwEg8/u8YCUngmkZWX0KQPTXUgL7WXD1Jn2xexVV8qHWlF7eSCx\r\nfa5KVtsA2wgEneXn8LqziWnX2FZ2FnnVWQg=\r\n=hKCY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_10.0.0-napi-355d3201dc21489de14a2c05d08a6de0c7ff2223_1655333893464_0.8892664024912786"},"_hasShrinkwrap":false},"10.0.0-napi-686a529ef2499e7ba850aa051152feb18fe5d4f2":{"name":"drivelist","version":"10.0.0-napi-686a529ef2499e7ba850aa051152feb18fe5d4f2","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild","prebuild":"prebuild --runtime napi --all --strip --verbose","upload":"prebuild --runtime napi --upload ${GITHUB_TOKEN}"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^9.1.1","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[3]},"versionist":{"publishedAt":"2022-06-15T23:12:30.957Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"686a529ef2499e7ba850aa051152feb18fe5d4f2","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@10.0.0-napi-686a529ef2499e7ba850aa051152feb18fe5d4f2","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-oG4a2K+dvaIt5rESWOIS836PEAfsrZsTlfkNfgXgV1PeFMEgiJawg85Lr6yil7LAItNGVnQRrLNSS4z+kifK4g==","shasum":"fee136644e286b784087bf6dd24965bf4557ca67","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-10.0.0-napi-686a529ef2499e7ba850aa051152feb18fe5d4f2.tgz","fileCount":32,"unpackedSize":128176,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT7YSA0g1ThaGOSUgt7iDnOX0/0qoq6XIdavue8+j67AIhANmddCqlJq+ju2g+0kpLIfEN9NLeNYhjE4zgYP7NHJaO"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqmiFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTcw/+IBp04pz57ZvLkmqi6R7PqkXqlZjd9sfbtB8vezQKp6Ui5sBN\r\nxcdZ8KDbJQpI56mJ0SJo5L9YTes0Ge0WNDe+OIQ8Ltv3+I+0uiUgd6OBKfeY\r\njqtnF8K+sR2DXmGc2a80UOpyPjxHzNgfF5OVVhrsiJCuaW3fDe+Me1SeFt+5\r\nTS3RFATj82pm6pcr68HZVUceDUmunWTfwd3PZ8kyYRKE6/qF1MG91cp3SilG\r\nsE5uXF/mTWlzcQizdSZWNJSFmi4oB4EUtB1v8qQ57nf32T9l5+YE9WUgbPTZ\r\nIWp9Gpn9Kh6pohcy6IwcrkSLU07fdyJqtpZ6z2puhwTw6QkRgKISzt3o4D7h\r\nxPsqzRogF3uwIlaRdYb8838XDxL7PaJGWjaQR1W6nJgv/AAi2rP5fq0haZLg\r\nP+UPy+8B69KOe0v/YBwq2YX2kMR/+ZpHUdVF05sjc5W1+ITid9F5GRmtf0if\r\nYD6BghMSMcVa5ft3T8yEgKl0LHPhpdeYCBo+4YXd7agfKdb5vIckI/22wcET\r\nGDuCgmqJGb2cwzwcd5FJbt+uVkkDaI4irrppATUXiaAPlDkdAMMGwDGd4xVy\r\ntngtdje3YDuH3KIOj7TmlyMJ8uUKwiEIsrCnUULhfU85Y1IvSinwdJ2I6id2\r\nbN1SRjraac1+w7C3Y9n/ZQomQH1FPaw9vxQ=\r\n=eotb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_10.0.0-napi-686a529ef2499e7ba850aa051152feb18fe5d4f2_1655335044901_0.26182514332308293"},"_hasShrinkwrap":false},"10.0.0-napi-1a41d7f780cc24efb19a741e8a67e8183194f645":{"name":"drivelist","version":"10.0.0-napi-1a41d7f780cc24efb19a741e8a67e8183194f645","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild","prebuild":"prebuild --runtime napi --all --strip --verbose","upload":"prebuild --runtime napi --upload ${GITHUB_TOKEN}"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^9.1.1","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[3]},"versionist":{"publishedAt":"2022-06-15T23:23:27.604Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"1a41d7f780cc24efb19a741e8a67e8183194f645","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@10.0.0-napi-1a41d7f780cc24efb19a741e8a67e8183194f645","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-CGRR+yWLuCDef0+RhtLy3uKzJUF/YJ7Dy8nVPKdTLD8Saw7maxznPiG5OyTOy0WQ9y1UB2XPHQYQ/FVYYg+c+Q==","shasum":"5bfac4329cad7de7b15f918e3e13ba3427bda728","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-10.0.0-napi-1a41d7f780cc24efb19a741e8a67e8183194f645.tgz","fileCount":32,"unpackedSize":128176,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPVq+BZ4V1XPf4viG08Spi+wWlXhJgnXfIZ15pX6McswIgEoD+MjAvCuaL2F2PZCRND65DBe8Cvk1bR69x1ms99rU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqmqHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpfZBAAgE6pRmGJNPL5iXOeli383Wmy6907UA5tmJYSNENO+34KS1GD\r\ngl6xmh5VKIeUgHi1zaIJrca2WbGG5ZgwUOPX+2loOUtXnNAgFGUK8SAm9HGi\r\nbGCMolsoNLNHqmrt089XWc6xwsTTS5BsstJ64/S9WUg+J61ugj1FbWR8bsTI\r\nEgTdJBqDrNqUhhKIwOOBsdm8/WpRX75zag++oAVi8+7epCLjs+cSMP3nBSCT\r\nCwUkLJ3IClfnypQz4vmVZYuAsf7JMgtPabN229Uhyp4Qn+ujD6wTjQMh0Fgj\r\ny8nNrOp3hgqzkYU8Mda+a3FODuasU9kw9HcQ85k2K41K5g2TFWzIpteNg/P8\r\nbF0ms8oRcHJZjc7266BNDUbJtZNYhWeY57ls7aJfjXuZpyyzlkpG2aKscSac\r\nRZsQsSRDWQRpPzRy3NpMED1/zEqdnUYeBmujrRzYMnEjh5+YBlt3JHfClH6L\r\nDJmsMc8S1XS0Fkf4pVpRXb9asmggM63VW2iUvYf6hJDyzn7UpzOHxQUI5XaY\r\nZDe7jmiCleWCw8rkzf2LmDoiMgEQscGE9xJ2StZFPfLsnbcdvi89Cu6okRs3\r\nT4PFIDRzhiEOaipKRaxgJfFIgjTofqdLGE7nw++Z2/0urbP3LZZnWWwbW5qr\r\nDW/w/0d1+kLLnI3rHKldAbHsv3gL1tXGbT4=\r\n=SMPA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_10.0.0-napi-1a41d7f780cc24efb19a741e8a67e8183194f645_1655335558819_0.9329244868862712"},"_hasShrinkwrap":false},"9.2.5-nochange-68eb61f94494deca81094898daef34f304d1893e":{"name":"drivelist","version":"9.2.5-nochange-68eb61f94494deca81094898daef34f304d1893e","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","configure":"node-gyp configure","build":"node-gyp rebuild","build-ts":"tsc","rebuild":"node-gyp rebuild","install":"prebuild-install || node-gyp rebuild","prebuild-release":"prebuild --all --strip","prepublishOnly":"npm run build-ts && npm run readme"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^5.3.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/mz":"0.0.32","@types/sinon":"^7.0.6","chai":"^4.2.0","eslint":"^4.19.1","jsdoc-to-markdown":"^4.0.1","mocha":"^6.0.0","prebuild":"^8.1.2","sinon":"^7.2.4","ts-node":"^8.0.2","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^3.1.0","nan":"^2.14.0","prebuild-install":"^5.2.4"},"versionist":{"publishedAt":"2022-06-16T11:55:55.049Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"68eb61f94494deca81094898daef34f304d1893e","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@9.2.5-nochange-68eb61f94494deca81094898daef34f304d1893e","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-2+omVaIU0UFTSJVilPbcxqrW1QA/wUc/Q6/BGmkSNxsEg8Bwu+aSlqkJ6xV1P0K7AMX7DBBDujhM6kjJDM1+5A==","shasum":"190fd304e88de49ec55db6ad25d8ce7d7dc8dcf6","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-9.2.5-nochange-68eb61f94494deca81094898daef34f304d1893e.tgz","fileCount":32,"unpackedSize":128024,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+9vPLTESR51PtwqupKunut6gwvSW8lrJLbk1NZW76NwIhAKP2Dbm4gBU9TUyWGuDsERi7BWa/Ay7kldBgxsY/jZkQ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqxr8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbBw//ZOL/o74mupFoeG3eWwpl31B2DBwBY2dTytcNGvB+R5KZNQh+\r\nT+ZeRwEM2FKfjJOwtYALijcOk91D6RSXSSfLkVBMqtaUl/GE+XFoErmOSd5L\r\n7qZJvg0ArlQlIYOYEKZnVk5pEjRd4/STgGlmIjo//9K73nKZSrWV4xuhNIZo\r\nh44LSsqzNDMQeaKf5O+19O9eKtb5/wsvON3pBx3UfbA5ul0dytgRd71Fiks+\r\naYD2I6ifvy9kor5zafi6ikmEHqt4jz4fTLyD+HkJu24V8EeAACyX36eU5zWI\r\nnGw7mXa13Q7ikqO9et4/un4nMf/G7I7PzjQQBmt6zRGivJ4eOwp4OKwi0Sba\r\nDpxi4EUuxBuf0Em4JYga+jFKtN05CvP/VhfSX1WiUd4oRV3rzXeYhPuxTRvd\r\nbBg4N/V6HGMizpVCS6pUAm/RBXWoo4y3OgLYtOIwXbRsqBUKluZbDvQ0OSlm\r\nTLCMvPVIevKE/0vr9oYK3MkcHmxHJTpYd0qeUM9ei+2C4VHCnC5G1CvOPqtt\r\nlHpg2GoSuqqUy8bfkl3hBPhtWo9RjvCRGhVsIUETLiFOk8SWqrfe75Yf7H0S\r\nmnDjWZMYL1ho2NJRIa4CHp5JK7K8WrgX31BWtcr02smgwTUeClKT9IPlU3BT\r\nkDFAQOIYFKAjKYA7PCmeWcWCFKgitLzpcv8=\r\n=nsvc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_9.2.5-nochange-68eb61f94494deca81094898daef34f304d1893e_1655380732353_0.5539101398008441"},"_hasShrinkwrap":false},"10.0.0":{"name":"drivelist","version":"10.0.0","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild","prebuild":"prebuild --runtime napi --all --strip --verbose","upload":"prebuild --runtime napi --upload ${GITHUB_TOKEN}"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^9.1.1","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[3]},"versionist":{"publishedAt":"2022-06-16T12:19:33.059Z"},"gitHead":"4c906464fb7aeeebfc0e094f9c89b5cb6a746df4","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@10.0.0","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-yZedv8OAvVBTv4FgLWrCnDEnFenyVDckU2/YgMLRxvHXadY5ubTR83Z6dIyqiotGj7njtZiOHv3AiflOI2yL1A==","shasum":"0a5836f94446cfd9b1ed618327d7fe66c3a2d20c","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-10.0.0.tgz","fileCount":32,"unpackedSize":128130,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDAeTDkiO4buDO/2v5sBkfb9FFa4snRDVb/T6FxE/OdvAiAws7Vb4lXWYkEP+q8m/R96aRZL5uc5H8WFo4wmNByYuQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqyBWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMBxAAgJdFVwUBskOQfzPb2hjHPAu+rkfyusmX/SUOPv7jl8OcfXkp\r\n0DA9pFNzInNZCCs3Bjwo4IlrfJ7Jx/qfzXn19Tj2z8HHjSfX9rIhZga6B1nW\r\nS6VRnhfLn/sBMVNU3karwlz5nwTZ1Z7r/EpZvn3aWrTpSzGZwXlx/Ag7rozW\r\nfqrdRx8ytCPSq4QjH5BSbleG2J4nOGGFe2sKyLrS2VtDTRP6ouM8cLyPNibP\r\nGvWzcJzhoHnlYZjb8Cha5b3ZUIWHS7LERHP1LhmkDM8FZByRobCgV0RbdPth\r\n0aPZsxYbJg6MVaRZ8VIf6gx7g9zIFV9gHf/FvgdR8tB4jQaUI2h0SPY9OrYI\r\nhWdSoKneaCo7bo5u08jrHKwz7Vk9+DGgMxlk0U+AlIdngg3Oqr2IUcvXd8Mf\r\nOD4RMhQWCy6dw1uO50jQEvJIPSkfWFqtByLPmQIX1xYe9nfkS+VWqAYGlTAk\r\nml8wj6upEYGKrD816rcNTTfVdRFlm8U/Y8tW1cIiZAdAf5E0LnYIt0Sg+9Rl\r\ns77IUT665a5lKKvwZwjoY9dksibfnMXiN4XsQoyrXxQNf6gr85ZPBiagQ9mf\r\nMwmQuQC3YcR2+R5uDmw+4cFuK0Zy0gWO+GACULjYYoRfgKtNmXHNuxD9GulB\r\nSDYeAWBBxjyPnIlAxQPlAQCyWL5EtAFdXR8=\r\n=Mv2x\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_10.0.0_1655382102262_0.6302528965028613"},"_hasShrinkwrap":false},"11.0.0-correct-email-333d590cc0a04366abdb03b941b7672f685dba44":{"name":"drivelist","version":"11.0.0-correct-email-333d590cc0a04366abdb03b941b7672f685dba44","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild","prebuild":"prebuild --runtime napi --all --strip --verbose","upload":"prebuild --runtime napi --upload ${GITHUB_TOKEN}"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^9.1.1","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[3]},"versionist":{"publishedAt":"2022-06-21T13:06:50.260Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"333d590cc0a04366abdb03b941b7672f685dba44","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.0-correct-email-333d590cc0a04366abdb03b941b7672f685dba44","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-z1GGNUks0qW5I1e8NGsI8e2fXtM9cNMIrSbV9++8IFaOrmWEfG09lmhAwbLD9hCNPIeix1HsIkEXO9ObfJosbQ==","shasum":"bb51ac0839be44edbe8f19c6ae6eba4c89031086","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.0-correct-email-333d590cc0a04366abdb03b941b7672f685dba44.tgz","fileCount":32,"unpackedSize":128249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFMRtRWmam4qQVUbpav38VEinpfhQQ4tCCsgOX1xoQuAiEAw2yiQZzMcXYTPg2HBf7IiviWBb9PFnZ46oGYt/4F6mU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiscL4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmryCA//bh8XqZ/lzQlyk20LYefJa0q9EHU+2R+CEdhKH4V32JGoTzVK\r\nzcnbiKJyjX4NLCFEMsQkTaxgsyVaCIq+oW2TP/cCqeT0PCt9WUm32mhq7w2C\r\nQf7xUFlgdZ6sUwmWkTPQ3+tPRlcj9RV9AqmGKy6snwdhwoT7/HWUx57w7mh/\r\njWZGHP+E9rHGLXPsy2ZNq3k09LxBUfZCsafAj/vke9CGJDtRw2XLgByWQXzU\r\nLv0SckLgQIHB9Y5hFTWw1S/w4uAGUX9/4hId3Kd+cqpmD7omrgfY+AmncmnU\r\niVewLD2A3a52w45/em53OhJlIIQ7/484auqRN+Hoe+BjAhH81J5bUJqADEfT\r\nkkwQKZxd3oWXJYmyQudAI2RC8UEwDuhCRt+W/X7ey+Z72hIaavRLHJXlFFzU\r\n9mOzJb0+jtz0GDqiAmyWKx9MDcm8p244tVcrxW9NkYwVhH4unrOxO9jqNZia\r\nNZCNHOCT/+H5LqzDVLVcpptM6LRtAjAmIWoVf+o0pHE4uoUsEuyWDuaj2kcc\r\n8GA+wPQogBopQ0s+8Vv0FD4TQmMBw7fAs2jI4eLPiQnJSIljHJd0iskCvVyo\r\n2yLCdclmoZoEMw3oM9QOOIbVM1yBybl0H8PFEdLKS82NUhL9WItWXIfTM3VU\r\nb/CqxZaDIlAFVrMHNvpk4sABpiCdmy7GZz4=\r\n=ZdS0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.0-correct-email-333d590cc0a04366abdb03b941b7672f685dba44_1655816952667_0.42176403571776944"},"_hasShrinkwrap":false},"11.0.0":{"name":"drivelist","version":"11.0.0","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild","prebuild":"prebuild --runtime napi --all --strip --verbose","upload":"prebuild --runtime napi --upload ${GITHUB_TOKEN}"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^9.1.1","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[3]},"versionist":{"publishedAt":"2022-06-21T13:09:37.672Z"},"gitHead":"5406baa4c40ebb68022ff2e1af26819203df81e8","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.0","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-Mo1j1WyzQt8LU9UGnsarDTFYWXy0vs01xZVcn2zJfEcSMzZyE9djQtngxR7uk8rkWDDln0he0AwXqnAOapew9A==","shasum":"7bd747ab94bb9331479af45cc8ec296380283c5f","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.0.tgz","fileCount":32,"unpackedSize":128194,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFOyzZj+mkWwKLAGj1uilm0yAtQT73ipEKsBImcSxlAAAiARrKYPI0fDcHBHQ7jNO7dpc68Xlj0QBGhd8L4HtXNjOw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiscOfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqjrg/+Kvva3Nz94uUnDIV0vrsVHPpX/zzShRk665i8zbRjzGFu2Xq5\r\n35H73BgYt+2ZPsCfcAJV2M7lXWpOJyn+PWllk/bUR1a+npZgydj6Kt7wrPRU\r\n6nMiLZu2BkhRnDAbeie6xstAT6oB+vLs2afsOEb+k9usuijjwngGzj0UnIyR\r\nM4WtCXBkWD1OPDzU0ih9eufDKZORetBOaIZKA7p880su9AW25Uie+syU/mgm\r\nX+hSjKYK7fxTFnZqJ7mlQG6s1C0HsVEXVMF0RaSCvjGbA/1P2vJUhz1LsQV/\r\ncSBSi8wDq5XP1lhRvgkpAoZjYf3AJxoPWLO705fYkxhvzBLpo7tfXXPP6vSC\r\n5w/nhd6U8H57ggcgE+scKrLNhIDk9vRo2UXKbU/4R8RyrcRtFFRhqzieSIh2\r\nF+hHRJ9Flx5nbospY2Nn0hpwRhYTSWYrV//p/yS9MEWO30N+EnT6gi5QNSab\r\nRAtXtz6yEgnpaEBGmIoo9hqs5tC3TlZW/VA5ltOFRM/hdbCb7ToRwyIzj/J7\r\nKOWNO4wgbW1u8IUNRCpLUZ0Py9r8f8Sa9malWM434Wifs1gdhoHW/gdqAwH5\r\n/Ep5IwXiK3W2JE94MTVbVYytii0yOvlEF7dEdHkyrE8TLNT58UCxaQuTYP9h\r\nOO9scUFx7ahNshRoS0OEgwLhlV/a6DjTG9o=\r\n=gZQ2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.0_1655817119716_0.6784405678978607"},"_hasShrinkwrap":false},"11.0.1-ab77-operational-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb-1":{"name":"drivelist","version":"11.0.1-ab77-operational-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=14 < 16"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^9.1.1","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-10-25T23:18:26.066Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.1-ab77-operational-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb-1","_integrity":"sha512-46iFLTBP8jc8In/dRKdMSQE2p7t/tqrMHS6kPny/G7P/K6/W2xcAOQSktiTIQ0GZhJ6sehCTziY1nz9FsIHkzA==","_resolved":"/tmp/npm-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb-14.x/drivelist-11.0.1.tgz","_from":"file:/tmp/npm-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb-14.x/drivelist-11.0.1.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-46iFLTBP8jc8In/dRKdMSQE2p7t/tqrMHS6kPny/G7P/K6/W2xcAOQSktiTIQ0GZhJ6sehCTziY1nz9FsIHkzA==","shasum":"5db0af79e494f1c9107a765170091356ce44a6c3","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.1-ab77-operational-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb-1.tgz","fileCount":26,"unpackedSize":99452,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmpCs9YySiWF0mUr0137c9B72WCIxBCwN5hvZ8ZtbnAAiEAw6po6LGj0kuzkVX4Nkap+vzWjsf/I5vPC0ohE3xfa9E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWG9TACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoI7g/8CKgjreJHUPwZYcg17iuqGeBybltAKiYGnZ9LNiCJLldBZtTB\r\nhuXdwufyhAi59NlOXeoDVybG8diNAzzaCuehPAFWRwSc/RltsmjsvQ3CgwmC\r\nREGGV7LukNZWnGS4r6uXAuPhVfcuM7kuBUcF2JZ0owLQNUM5nEAHUIL0jRIc\r\nymeSME9UR3loS6wLU9mMu75YLXwOF2BcBSZJhfH5Z71Kdum/Zr7ywBZ2Oxp7\r\nS6Cbji/2cnuhc15F3Yac7rLgsAfy3iZ/6695hladKXYyjh130JqYnNRhNDJ8\r\n2xUR3rhXAAtqjrNZ+1pWDdC/Y4rw/VOb6Lb8VQ9cLng63+Fb1X4MKN2SeNFj\r\nPy4t/qwqdS3uuelzZpHxbnePRyjgwZB6n7PfQM011ZDjDxCXjdqovzAwxmeA\r\nBG/NoN+SoOjBPRZ1J628/QNl7GMBHyvsmsZuFrZf648HLE4M7+mErFWGl6EU\r\nRDBN5W1CGTHH4HUItzBC856nGopKl1GCvpk3EomVGgCJFYJ3nyAfJfEezHyj\r\n6K1TG9SLAeYp8iuq5i3h8+BjxW6AVMAYYSLQ1WQAyNN3RhzGTUyNCc3xr7FP\r\nC4TwkI7TO1zNVCS/EMDHAydJ0mQuqDDBuNcyScWZSnUaSAw4s3EWAtWEZebx\r\n9pV2rXoVL7L6xQIonFCUGXAsEF9VMtwHX88=\r\n=BSfD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.1-ab77-operational-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb-1_1666740050713_0.4019813341463807"},"_hasShrinkwrap":false},"11.0.1":{"name":"drivelist","version":"11.0.1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=14 < 16"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^9.1.1","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-10-25T23:18:26.066Z"},"bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.1","_integrity":"sha512-8G4gCATp39EIWNzJMM4HP056Vxx2lL9qGHz4i8/jqsp5k3I/FXRXpgkNgEcYwvij3O4wDw0N4HozUF8q8vUtQw==","_resolved":"/tmp/npm-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb-14.x/drivelist-11.0.1.tgz","_from":"file:/tmp/npm-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb-14.x/drivelist-11.0.1.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-8G4gCATp39EIWNzJMM4HP056Vxx2lL9qGHz4i8/jqsp5k3I/FXRXpgkNgEcYwvij3O4wDw0N4HozUF8q8vUtQw==","shasum":"83fe1412a6461d2cbce7e9b6decb14035015cb6e","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.1.tgz","fileCount":19,"unpackedSize":99392,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICu1YDjuaqcTtxc8cT8Xg5FgKoWvEetNsMcJ2ZkkAOEgAiAdh02ASNBaM5OAWgAvzg9MLGDh8wQdOfPUTIE2EmpXgA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWHHAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpAaA//cOZhSVEo33VgNLf2hMmf1spnF5STcEqdhbhDY042pSDLM7WM\r\nlmYWTnmA0DGtcOI1FYRfG7JH4FMzbVg8njCRDy4JE8Sfxx4KaKnFu6hhHSBO\r\nOiiB0luNBBtjiR8pfCCWDpC+CckJgWP4OgWbvoWDX4v5iPEXtqxDJlDYS8oF\r\n2y9wUP85+VWiUVheEwQWneTtPk+//iCqieOqpr9mwLw6RrelmJQ3o3/Jknhc\r\nHwlSnJWbeJkuyMFAf6sOw7GmrPQTR23M5M2cyKNpYPW/j6/ch31w287bw9W9\r\n0kZFoXKnZ1bPoddWEsEt8z+NbJyvuEYL912tZlWKKVARJQGy1YE+I0ta7M1X\r\n1a1y9QRY4VQUQ3i6rXPPItQ4ZmNq/JAiuz1Il6BLESOvaH6bmh08Mu7AZ09U\r\n4vkoKyq6WYzPnKuTzEouAGOEF9dprQ5io6HTl1zvFYRMORbm8Q8QTo/arune\r\n+u4iK8wE+85n/phOS/b/e7/Z3WgiNmogiAjTdjPmwjhxNqotLVVnJEeX9c3V\r\ncv1NzV9dKk/isUSKo23vAKrd8mVfEp2SMHEnQFYrX2EpIXTJHHHfnJFPKzUK\r\nclzwCZS9GN4P/xu61EGuZC3jPpUhv+k2nHTa9STiK+lRDf0dxdrT74d63ObI\r\nH9VJ/kCWam5EwxXE2QOsaafJpm7TEY4/JaE=\r\n=X6e5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.1_1666740671844_0.2594718114693839"},"_hasShrinkwrap":false},"11.0.2-renovate-mocha-10-x-c9389204acde6edf59fc6c80f89547c05373aaa7-1":{"name":"drivelist","version":"11.0.2-renovate-mocha-10-x-c9389204acde6edf59fc6c80f89547c05373aaa7-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=14 < 16"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^10.0.0","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-10-25T23:43:50.198Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.2-renovate-mocha-10-x-c9389204acde6edf59fc6c80f89547c05373aaa7-1","_integrity":"sha512-+XCLCPI02cg3nkvGUeS8wCJWD5mZTHRvOvDB0VMfK5T/eL7IFKEdvxv1qIcr7GD89rXoahBeRxSHsrw24WajDQ==","_resolved":"/tmp/npm-c9389204acde6edf59fc6c80f89547c05373aaa7-14.x/drivelist-11.0.2.tgz","_from":"file:/tmp/npm-c9389204acde6edf59fc6c80f89547c05373aaa7-14.x/drivelist-11.0.2.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-+XCLCPI02cg3nkvGUeS8wCJWD5mZTHRvOvDB0VMfK5T/eL7IFKEdvxv1qIcr7GD89rXoahBeRxSHsrw24WajDQ==","shasum":"28a190e15894fb199f46902488674703fbfe3c42","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.2-renovate-mocha-10-x-c9389204acde6edf59fc6c80f89547c05373aaa7-1.tgz","fileCount":26,"unpackedSize":99542,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAH0Tk+E3sUF7YWs/yQtzI3CYwoU/sA5NXxdiu5pFu4QIgenjL0hvdxMM7U7j6ENhPLvOIoLiTQLzEHU1BP9aCrg4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWHVGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqKdxAAmxF10a2GhIE4ADwl7VUWOtCHuSRVJEquN+gq2rFli/cS6DDq\r\n9vWtsO/VZ3E5TlXF5QPOC1i9yxP2YSaVc1jXHM3wUS29cuopo6Ch3azJ9Wau\r\n0Wr+38X5qDM/7Y8vcJ0bwN5t/jWydFERQ7BLnaETLytq+XKnq33Lr2c8kaPT\r\nsdJ8iUkmSMvhnFhM2l9gg/zyIZ7lml+uKMXLOa5AnjyH6LyL6BR3DwdAWgjd\r\nBOy8jJv8UnqY8kNYmfdhzfqPozepHGVAh+7/WvbaKdCF0Cbj+MvPLpXKEY0R\r\n/JmQ/qjTTeDNcR/tfzwrRTyIGK0J6MqMjcUSz1XQW8kVyfPWQdyActrpBKAn\r\n1wqtNkNctKhW781h9oV3IdQKjlZdv8hXYK7PcdsVN3MNwEwvFTLzYTGDuek0\r\nXiD1t1zVIPKzTJhJEdhrh5y0epi3unlU2kHiMePpmnkgA5Mk/NqrdKhy75tU\r\n2sBp7g9RPb/mfTirjLvyGB/OWLPJeXhArnVNssISOjOsfVHYc90BMUr+4Ryq\r\ntmFwF3y4/yQb0JhgT01o8VPH4j0PtXASXMPVEwbYML70GqDXwMvc/5+9lKkU\r\nqjof18KGbePDbjzdbEhusctQVx3NjU0mDLntX8d+FUFNnkhj0FYPOJlZ35Mu\r\nBoKubOfx0z6hZhz6IEELlktGA6cWaqqa1wo=\r\n=Uszl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.2-renovate-mocha-10-x-c9389204acde6edf59fc6c80f89547c05373aaa7-1_1666741574572_0.5326439908477898"},"_hasShrinkwrap":false},"11.1.0-renovate-node-18-x-faddc18a42071c7980d34b31c04fe5476511162b-1":{"name":"drivelist","version":"11.1.0-renovate-node-18-x-faddc18a42071c7980d34b31c04fe5476511162b-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":"< 19"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^9.1.1","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-10-25T23:42:41.136Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.1.0-renovate-node-18-x-faddc18a42071c7980d34b31c04fe5476511162b-1","_integrity":"sha512-hzm/UVHiMnEXlGLbsve46lffCWiiuSPM5US/9hqC5r8BjN9lDLOxmhlDPvoW5/fjx3+O4b+56rQphyxaLqL80Q==","_resolved":"/tmp/npm-faddc18a42071c7980d34b31c04fe5476511162b-18.x/drivelist-11.1.0.tgz","_from":"file:/tmp/npm-faddc18a42071c7980d34b31c04fe5476511162b-18.x/drivelist-11.1.0.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-hzm/UVHiMnEXlGLbsve46lffCWiiuSPM5US/9hqC5r8BjN9lDLOxmhlDPvoW5/fjx3+O4b+56rQphyxaLqL80Q==","shasum":"c1fa40fad7f2dbc14b004d33139aaac8fa9d476c","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.1.0-renovate-node-18-x-faddc18a42071c7980d34b31c04fe5476511162b-1.tgz","fileCount":26,"unpackedSize":99520,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHX4VIYOOoBgyzXXdFLJ1Ps+JHYF+s9vZd9y8MIlPGNuAiAswMPGY7Qy4bzlUG95PbX3ZoOqy3CnFw8R34Pdaut1fQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWHV4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr++hAAgqw6lHDu9b2Th7Ak3uKuFBOyG6w0WMzRlwNLFpD7Y2QbeLPQ\r\nhk8adzbY+6XTUUqAZWKqnfhygbPH6vuHBQRu24qFqrsxTpvLclYj1/ICP+qZ\r\nTsI+zn6lB4z22YDJlxibPdH6kbNqZZaK+ssnyd2Iw7Jgm73GgyaFaVqzO1Wh\r\nCylj5uLwehuJZVNw9T2F+MGoGgbjVZ27MF4Yq5Xt+iCPN5ROzrLSyM38Yj4r\r\nj+e5xKoq6FXlijJI8H5hsUsKv2JD9n0PpvCqerhJxs/AtWNG+8J2GlPc3ibI\r\nRItNyX+NrC3vsCRbQY6BMeygGtYenT6cy6jZPpIo4i8sgomH1W8/yVBWlyIk\r\nWxINg38get54/REW7++KNWW4gdAvB/kPlP3ISUVObD5Uzb0UOBk1wuSm4sRW\r\nf+8mI/atUkhZ8cJtv80EdyCZQlz9TJ8Y+yizp60z5rkHWePZqMELYdEPpqlb\r\nCzp+CQTRK/I1LCRVSkRF8qcJ9PKExZhBBG4MbIOii8IExFzM19DbN29s1pM/\r\nfoAkwi/P+DbFeieInkQ3cZDUkmz9fo6d31w8msTSP9LqFHjUXczep4mBjZOL\r\nxErkdivt3zzNHjZrOzLRRbtvhPvnHFkdPUt7h7nALuEQXverjOMcSZpH9YOC\r\nrgTcHhAKvuU+nxdPmlUCm2l2DoedEBPejEg=\r\n=g4Kp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.1.0-renovate-node-18-x-faddc18a42071c7980d34b31c04fe5476511162b-1_1666741624404_0.594971807631314"},"_hasShrinkwrap":false},"11.0.2":{"name":"drivelist","version":"11.0.2","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=14 < 16"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^10.0.0","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-10-25T23:43:50.198Z"},"bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.2","_integrity":"sha512-kagEY1tx/j2B25ApEZywY3pz+NvUV30s5yzfHXXAq59RG5fwyo2/ShLjQFTK9UySa3af48T49zIlscL40ucP3g==","_resolved":"/tmp/npm-c9389204acde6edf59fc6c80f89547c05373aaa7-14.x/drivelist-11.0.2.tgz","_from":"file:/tmp/npm-c9389204acde6edf59fc6c80f89547c05373aaa7-14.x/drivelist-11.0.2.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-kagEY1tx/j2B25ApEZywY3pz+NvUV30s5yzfHXXAq59RG5fwyo2/ShLjQFTK9UySa3af48T49zIlscL40ucP3g==","shasum":"acc8b697826eb2ac7d8c6d3abeb4d17143f4d91d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.2.tgz","fileCount":19,"unpackedSize":99479,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTobvfBL1KO8SqvN88os9b68B3zj9cT1cAVsrmBYOREwIgXD4e5mHo5lzbzUIfPL9X2hNCT87pgjM9QXD45C1GuHc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWHWmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokMQ//aU8kqjnELUD6VbuOox/u7mtIp6eb7RZSXTUmC14cBZN4kBGJ\r\nef0wB6HnLC4+RQQV/4OGP47VWLKz2Px7DU6zuMBY4ORCvvIS71Kja07DtDQE\r\n0Vuq239pGa5XpaVi7xZf9kpBh2+DsgnQzIRkjKjYtnf51xTXgDZvnldjvE3s\r\nx/Nn1+eHTW+tQSXgTHTk2u9zzGXv8S09v8w2xHPBBK7ewJSyHS9TiOE0zl0Z\r\n5IanLSNbOipgvBty51QVrSPOr7W9y+D5a3pvOiS1s/5jrZKjk5w0v6ff0nQf\r\nW+f0yZPHoANEB3YZQndQ5Hdcaz0GOMrGIhU/ubhuDnt9+iTlRk7Wp/NQ992G\r\nUys7svtB5MhVGzBTjKmvT56PpOg1S8qk+DbVMHPibzspznEcddb5AsEWjMHO\r\nRURkrviMdTEyyoSg+VOEgLRRfiZmcmlWZtCUXuhUZM7ulKBoGXNXoEXyqB8Z\r\nHNSNzGlO/fryqlOOyOTrzy1t5ZvuWXHuhbvVxhWK/8/hR7YqUIAQ47vlWlH5\r\nOY/44ae/4wb7lhBSNqv0hhol2kadIVMCzpG5T5fAfeUypriDKvymqNhmD+9R\r\nlC+ezBohyV+pCxjAFOU2YIJiS8Y+lkC8PLV/I3JVsuEic7SNbgLWpR3tJT3j\r\nmOB0ozYDHOuW+yb09nk1kBA/m8wBWvmHDF0=\r\n=K6C0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.2_1666741669911_0.28190051549696715"},"_hasShrinkwrap":false},"11.0.1-renovate-mocha-10-x-f4964dbd908a0010ea12b9833e76001ad31a0c7b":{"name":"drivelist","version":"11.0.1-renovate-mocha-10-x-f4964dbd908a0010ea12b9833e76001ad31a0c7b","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild","prebuild":"prebuild --runtime napi --all --strip --verbose","upload":"prebuild --runtime napi --upload ${GITHUB_TOKEN}"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=10"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^10.0.0","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[3]},"versionist":{"publishedAt":"2022-10-25T23:04:17.992Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","gitHead":"f4964dbd908a0010ea12b9833e76001ad31a0c7b","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.1-renovate-mocha-10-x-f4964dbd908a0010ea12b9833e76001ad31a0c7b","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-G/R5H8h5A24D/JirVgCpIzgD+Hwy6/1TGG3abyHiZUWbnICOE9SxI2cCWX1ikFAgnqNddZ0M3yok2XdH2itNOA==","shasum":"cb83625923f969d17fe3c1a8a81867405c633511","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.1-renovate-mocha-10-x-f4964dbd908a0010ea12b9833e76001ad31a0c7b.tgz","fileCount":32,"unpackedSize":128342,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj1iWwF4yiioWRliDdIVQeKiW3C7a3z9EfJHS9Cc4O8gIhAMSELLHjzpwaf30eh0E5KMLvztLZ7QoRY/3DI8AiamRg"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWHWuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptNg/5AAtFwRVWOQWsu+hR/6cGlgGkubfdYotpp+Bk3m/n5EIIibIR\r\nS2aqqvJsXIeBKHSsMjm7rxzKVSd4tZy09V7tLfGoie2N/0sEdaRFBERuKF8t\r\nDz3TJSJJ/sYOlyL+iLHiz0dNm06CRAxMWmrxXmCcbehYBGTheKb421rfJ9/n\r\nCjGiFQor2Bg9jPdIId/e0WcPCP3xR3Ib+npTRGy8aJ23tKb6oqFvwVehRP5Y\r\ns9xbUsjIFqPfugcUhQKvYUOHQ1ZovNX+gzSpt/QlXxhTWj32u4kaFUhqBRKM\r\nZmoB3BcKwqLT7fnMbK5zxEw2SFRf556dPisBWxszSmhYMsiZz3B/tMrOPpYf\r\nrf2sTwFoYmGtmRFWz2NtnbcSPFB+tnUgGa+8mujHwPgwNuQRvE/s6SPpk4N8\r\naXgNo4ut50D2cK5nWvpFlvGPskNLYiS5HrC9pS6KqdWIQjWj1W2saf6+QOfF\r\n0CvItUwWx6/s3nw8YKj0jCAeXlMDSiktuajUsC/ne5daDVYAceLqobQHMG2B\r\nuOFP2QvQBgjR9VYtI6gYW5AJUjFViu1A59IbpbaDDR7sDLo4kl1Ho0u30XxK\r\nethYROAMAZRf+EI/1Tz89lxNLraoXBIFbPNccbHOHFYaQ3RSQLwXfnzXZm0V\r\n76lVe2zhlCydKQlTN+udaZ6jboMSuzT7yaI=\r\n=nbQY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.1-renovate-mocha-10-x-f4964dbd908a0010ea12b9833e76001ad31a0c7b_1666741678695_0.9939490013252748"},"_hasShrinkwrap":false},"11.1.0-renovate-node-18-x-9298b6cfa35499bcaf7cc14c27373ca1b759ce1a-1":{"name":"drivelist","version":"11.1.0-renovate-node-18-x-9298b6cfa35499bcaf7cc14c27373ca1b759ce1a-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":"< 19"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^10.0.0","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-10-25T23:54:05.755Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.1.0-renovate-node-18-x-9298b6cfa35499bcaf7cc14c27373ca1b759ce1a-1","_integrity":"sha512-1djlbYQnSgJGTbcR73jrj4KMo+muv4IHS9Uw+HnQeJpy7Is2GBwWjucyWN8M6gQc8Z0pyq2KdRywYoPlKHWWuw==","_resolved":"/tmp/npm-9298b6cfa35499bcaf7cc14c27373ca1b759ce1a-18.x/drivelist-11.1.0.tgz","_from":"file:/tmp/npm-9298b6cfa35499bcaf7cc14c27373ca1b759ce1a-18.x/drivelist-11.1.0.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-1djlbYQnSgJGTbcR73jrj4KMo+muv4IHS9Uw+HnQeJpy7Is2GBwWjucyWN8M6gQc8Z0pyq2KdRywYoPlKHWWuw==","shasum":"f6b394900430a5b40edfa82f8970886f99fee865","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.1.0-renovate-node-18-x-9298b6cfa35499bcaf7cc14c27373ca1b759ce1a-1.tgz","fileCount":26,"unpackedSize":99607,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4L5h1JmSKH7kZDCGnkcdFkOjcFo5D1EFm6y1K63W7zgIgQYtGzpRwk9vqoqmZDiwiKtWMYcRvGnK8gVVUod1v1Hc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWHe9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoW8A/+OwCFCysFdlV0rV97AFoOnRuSHQKZV/b+LudI2YbBGPHnSsQS\r\nnlR6BwJPG7PsP7YRISCnHB+R1hM3tmHE/wtb4Dxmxu5d4y2PElOXUYgLBN5r\r\n/x+rmc4lzuzLQ3a3YIq+wz9k++k2IBxI0iVrx/zGVJ8Dk7wvIShOqKb48hQb\r\n+OwNyIy+Swd3lvpgA7IHqe4zj8mC3nZ2SskXvPWgyxQGXh+NtApbjFopeITk\r\n+8xGZIRDJw+7PVdhjanSEV5mLB0GhVPUgQLB8nYznkBVUap2wlP5GRH8Vxg9\r\nACrn1g0ICfNDoArZ6BRFXe+NcH1iNCryuEJ5wGP4x9LZ47qnkpVyl7aC1IZz\r\nuhzmpQsrZCnYHzBAfn8qgSFe/teOeHJoT7uJr2sKhDyxw1z+1PqRZs+2nyqW\r\nRnm3JaByY4ZQholsHB6A4ijPaphem1RklrdonEwnlJ5I0lfiEAVbB63O8HPG\r\nhBedsQXpCA4YDebUL8bmU79iQLUPklsQZES5kjBNAd+3hyItNMH8whaUKe0v\r\nVLpElPSYv8GBFJCxLXMWXTv63e2l+jqrkDPQrCRiQJN6YdUGTxsSZbp4+2S6\r\nWu9OHcdaRCe9T7JZlt30xPUXzaEFbiNrMxZjccfpZM9dBhVSndnAh7RjgECz\r\nskdLMPcap/xMhDxgEjSNgSXuz9RgVEo7iFM=\r\n=+8n5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.1.0-renovate-node-18-x-9298b6cfa35499bcaf7cc14c27373ca1b759ce1a-1_1666742205273_0.5147646592704509"},"_hasShrinkwrap":false},"11.1.0-renovate-node-18-x-4bd72ee8fe7b5f713f54b8cbb246227c97c1149a-1":{"name":"drivelist","version":"11.1.0-renovate-node-18-x-4bd72ee8fe7b5f713f54b8cbb246227c97c1149a-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":"< 19"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^10.0.0","@types/sinon":"^10.0.11","chai":"^4.2.0","eslint":"^8.17.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.0.0","prebuild":"^11.0.3","sinon":"^14.0.0","ts-node":"^10.8.1","typescript":"^4.1.2"},"dependencies":{"bindings":"^1.3.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.0"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-10-31T23:44:01.159Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.1.0-renovate-node-18-x-4bd72ee8fe7b5f713f54b8cbb246227c97c1149a-1","_integrity":"sha512-CuqUydhCK9nIIFbGvtouAhMBNrvnEGB3EgvzUnayLO/GIL9HgOOmh5jr5P2a+t1UT37nuduTnfFCeclWv4vfWg==","_resolved":"/home/runner/work/_temp/npm-4bd72ee8fe7b5f713f54b8cbb246227c97c1149a-18.x/drivelist-11.1.0.tgz","_from":"file:/home/runner/work/_temp/npm-4bd72ee8fe7b5f713f54b8cbb246227c97c1149a-18.x/drivelist-11.1.0.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-CuqUydhCK9nIIFbGvtouAhMBNrvnEGB3EgvzUnayLO/GIL9HgOOmh5jr5P2a+t1UT37nuduTnfFCeclWv4vfWg==","shasum":"60cc291679a64b89930aafd2da7e3c99dcc6fd24","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.1.0-renovate-node-18-x-4bd72ee8fe7b5f713f54b8cbb246227c97c1149a-1.tgz","fileCount":26,"unpackedSize":99607,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8eee3PcLZPIQuKhghSawBTyqCH1L2g5DatRHRwz0PPQIhAOV/G+Hfy3jCmGnNpT+2XUqqWSPwWUCtxapCYheVaTR1"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYF5jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8zA//edJcWLeuw0KgzGO5kvY/S/vuXJOOyZu2tbHhlxbS/NyX3ATp\r\ngmg/xzvGNqqbUkluab6RAAqeekX6k9eEVhg/4NNJhlmZwRJFkzjPZFuJUUX0\r\nJhSV4zv7YKv1utmSZesgdxJFYH2EnLM5KScBVP9ESrRWsusKnC4VTB2Jqtcx\r\nhBjZz963/fliEC4aHNo4qgG5Ax4d/zi+FLXqh0KmSG5ciIhgx2P2KfbI/dih\r\nxki5S2RmVaVugqAfVI+KzmW257sYiNmhTWkRwaR/AjAGBShsbB/B3HnO2wwU\r\n0wtqEGl5nsotzKMba93OEXxI8v0OwfzpPg/v7/yeuxYs+tpUL54Q1twTVytz\r\nbZM2vu9uYjK1Hdt0kUzMTkviBg/ED/apB383AxyuWG3vt7nixXzU8s1AluuW\r\nxRAiFy4nfthJdWMqPfO+Q9GA36x8s+cfb1DAtqXzk59ZK8PRuHk8lJaYkBT3\r\nEgzm5Fsu1pEOP4UAK+0hrLYzWA7I3v5bxu4xlCv0IoSMo4zrMrmP5R33zmgw\r\nPbhhxaa1o1Vmvn48KC9Bpb4FSkzNO3fW1NJFjSGEOOBXNqWrMlooA5DYM7VL\r\nnKMWRVkOXdtKw/OBonNJpqgnxRsQCR2E/7Co4iQC1x4Vtw6/C3EAXSBLrRVB\r\n3UJDUs4W2GLd/YYVDUKWuro7z6ULziGX5SA=\r\n=lNJK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.1.0-renovate-node-18-x-4bd72ee8fe7b5f713f54b8cbb246227c97c1149a-1_1667260002883_0.8578075120299462"},"_hasShrinkwrap":false},"11.0.3-update-dependencies-7139d35ce44e7e5e57e1c48f7fbb1e2efdb01adf-1":{"name":"drivelist","version":"11.0.3-update-dependencies-7139d35ce44e7e5e57e1c48f7fbb1e2efdb01adf-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=14 < 18"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.3","@types/mocha":"^10.0.0","@types/sinon":"^10.0.13","chai":"^4.3.6","eslint":"^8.26.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.1.0","prebuild":"^11.0.4","sinon":"^14.0.1","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-11-03T15:47:34.254Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.3-update-dependencies-7139d35ce44e7e5e57e1c48f7fbb1e2efdb01adf-1","_integrity":"sha512-C8svDPthJppLMVcSTenQFo/LQvCmjEugIkQqs5DnRUPKSm7wYR3T5EX70jgUiOANAwUt7GpCVLx/cmlM5YaClQ==","_resolved":"/home/runner/work/_temp/npm-7139d35ce44e7e5e57e1c48f7fbb1e2efdb01adf-16.x/drivelist-11.0.3.tgz","_from":"file:/home/runner/work/_temp/npm-7139d35ce44e7e5e57e1c48f7fbb1e2efdb01adf-16.x/drivelist-11.0.3.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-C8svDPthJppLMVcSTenQFo/LQvCmjEugIkQqs5DnRUPKSm7wYR3T5EX70jgUiOANAwUt7GpCVLx/cmlM5YaClQ==","shasum":"3b25764dc69489f53c50d9d8816b508cbc74e27b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.3-update-dependencies-7139d35ce44e7e5e57e1c48f7fbb1e2efdb01adf-1.tgz","fileCount":27,"unpackedSize":99836,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCP8qVH2WuEx5vYNl99QLCKx1wEYoUWd0oSCNMqSN+2rgIhANUOZmwuUPgguVYVRc5Lb1eKm3EFqy97HEEhwlajmuMY"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjY+O7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmquvA//X9WmvyooQBuyu+Qrjmn52eT6E7sjYYDhXLmTDbXk6dlaQJ14\r\nFm2hb1rtzom5ZYui0lCTUPz2mzQ5cUYSsv0Rx6xS5eY1G8CH49rktg+rmBNA\r\n/cUHSDGvtCvxnv7nz7RoNK8O22ElGxz4p7miBQJdr6+GoCftCShksliWx4xj\r\nzS2UhMiSGKAAnvd58HLM9qz/WlBa9LRgWaHtHgUKAYgh3aPShRkgaTzwopLn\r\nNlPle2ijubS7CCJ4KXz1UUVP041roo7hX5Sh3lSOG3UFM3cLuEEA0wX261XQ\r\n6kTRctH/VoM6OelsQUwU+seNQLgL1brlK+/49eYOZmbX3gBr/FRqNFiy8f2a\r\n6afZuqyhPTSpp4fX/dqEQRcKhxS47of4GMtvjk4WCdS+4e7+vEdD82AWz1N4\r\nghphc6Kzea0LExn4ovyGS+FCx6kZgWtSA13VbJXZESGP/O4wyEwkZPZltEMr\r\n7upco6MIbgSVQWO9vW3H/6EmToe4vf3weB5AO5wIdLt0Adm2p916s3MPmGjS\r\n5Q/6uDfdQxPeYpgIzbhQO8c+6tx/OSXqnSWafMZoHbKfuTOe9CvhW7P1ccPs\r\neAF/hNG9RRylzXI/n8PpZzmRfFI4crWTQ57DxBQ1yDi6q4jEg35eq7l9r3Si\r\n7n4grWzoZDBrn9RjvCJpaseJgfopjD7Ew4Y=\r\n=XrSc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.3-update-dependencies-7139d35ce44e7e5e57e1c48f7fbb1e2efdb01adf-1_1667490746887_0.6123238028043188"},"_hasShrinkwrap":false},"11.0.3-update-dependencies-2fd7ab35d821ad085b0236193375a2c122d7a518-1":{"name":"drivelist","version":"11.0.3-update-dependencies-2fd7ab35d821ad085b0236193375a2c122d7a518-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=14 < 19"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.3","@types/mocha":"^10.0.0","@types/sinon":"^10.0.13","chai":"^4.3.6","eslint":"^8.26.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.1.0","prebuild":"^11.0.4","sinon":"^14.0.1","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-11-03T17:33:54.338Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.3-update-dependencies-2fd7ab35d821ad085b0236193375a2c122d7a518-1","_integrity":"sha512-tswpmiuaVyR78rbsi2rhlnedhdklvVIGRRv1mxJyupGTQPH1Rhia7ykWXdHCyG0FKxXblfJAL49p4uoENLmt4g==","_resolved":"/home/runner/work/_temp/npm-2fd7ab35d821ad085b0236193375a2c122d7a518-18.x/drivelist-11.0.3.tgz","_from":"file:/home/runner/work/_temp/npm-2fd7ab35d821ad085b0236193375a2c122d7a518-18.x/drivelist-11.0.3.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-tswpmiuaVyR78rbsi2rhlnedhdklvVIGRRv1mxJyupGTQPH1Rhia7ykWXdHCyG0FKxXblfJAL49p4uoENLmt4g==","shasum":"ffc5e06aec6bb502659b4af7ab4b1f6d485074d6","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.3-update-dependencies-2fd7ab35d821ad085b0236193375a2c122d7a518-1.tgz","fileCount":27,"unpackedSize":99836,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEY3f1xGOUkX1JnsUe2r7JaE/00wH1PLs5ucqDgUY0cvAiA2vXG/wgx8LMsTRMbIX0w3d6IyisFq3XlxX5T/jyhkTQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjY/v6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5RQ//aJJ1X/06bO0ctbGjaiF4S6WAswzffHwgU3F2yWBo72L5xQXH\r\nooHrAYVLJezftZ+NDCeDf/S7vlLnFYu0k+FrFBRHuBs1Ry8G/BTXCB9HfUy9\r\n+ySXOSb3nirYKUGdF2/KfPT7z1jTEUGyK9mxIp9MVUb6aOJ3PC9gI4Q6RNui\r\nTWotuRoODqIJhDirrn1uOdADOV9q7uYnVrQxxeuvdBbEc/ABx6yXTIPl1h+N\r\n+usDJqSNf8kPWrWx15587k+ZPuzHIzk5G/dc58ZKks4nlLA+RbiBKBkCr4kc\r\nyDQ+anJZ9mVyvWGvvur+K+IQmxN/pA2HdKpVwL6qjAmDxFhJ6+J6vNMOdHkz\r\nq6JuGF46LewxTqJ69VBRfoYjLqbC5wCRXZ+7ZKocpZPN3vAsmVWE0Uk/4ci3\r\nB7Zf9MnnxAI7cvOOThJobXIVOgvCfe2v3eNYZaKotwPRavvag22BbOAhidcd\r\nG5c5Lg605RN0TIsoIw0RvFmiJYWXCnVuQ5oEhdjtpBVvozYUfroPiDLpsSiW\r\nVKUyrxtQNXdhacoR1KYuWRKCuwldF+DAAF6M7OQ9moUSLmXZOSl3g0dqPGqs\r\nEDAOSRb9v0L8L1rNnozEewK5OgPeQrX63NcdOfaSlBo0FU1wGsti6s6X6lnv\r\nPKzeBhTQmMziVFLHRPL238kl6niUhq7HH78=\r\n=Rr6I\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.3-update-dependencies-2fd7ab35d821ad085b0236193375a2c122d7a518-1_1667496954069_0.009841651150339192"},"_hasShrinkwrap":false},"11.0.3-update-dependencies-af7c3f57f9d7aa19cf7f0c7e6c3dedaf961da254-1":{"name":"drivelist","version":"11.0.3-update-dependencies-af7c3f57f9d7aa19cf7f0c7e6c3dedaf961da254-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=14 < 19"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.3","@types/mocha":"^10.0.0","@types/sinon":"^10.0.13","chai":"^4.3.6","eslint":"^8.26.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.1.0","prebuild":"^11.0.4","sinon":"^14.0.1","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-11-03T17:52:00.859Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.3-update-dependencies-af7c3f57f9d7aa19cf7f0c7e6c3dedaf961da254-1","_integrity":"sha512-wgSVtWSxQ2Y2+TyZckzMcdM+fwIx0kwB/0v3kuH54zYdBJGRDphcunCt5+IbOr4v49uT890v0oX4lX14PWQBCA==","_resolved":"/home/runner/work/_temp/npm-af7c3f57f9d7aa19cf7f0c7e6c3dedaf961da254-18.x/drivelist-11.0.3.tgz","_from":"file:/home/runner/work/_temp/npm-af7c3f57f9d7aa19cf7f0c7e6c3dedaf961da254-18.x/drivelist-11.0.3.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-wgSVtWSxQ2Y2+TyZckzMcdM+fwIx0kwB/0v3kuH54zYdBJGRDphcunCt5+IbOr4v49uT890v0oX4lX14PWQBCA==","shasum":"6cd7f94d02e8340bb53155b26f1873da2860017d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.3-update-dependencies-af7c3f57f9d7aa19cf7f0c7e6c3dedaf961da254-1.tgz","fileCount":27,"unpackedSize":99836,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBwjqIbaq4WMGDfTiRkxs8AEz9V+YZeOXaJhDw3X1xu8AiAKX6SSBQIsXPIiuhIVJPOVhIAxCcdYvL6mvf0gyilKPw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZABgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmriAg//ftT+ckXapceAAn48r6Z5pNtQKB5OyyLCnn3+LsiJd6+y+F3Z\r\nKvASwOEwfktF84tNkKf+Y/Z/sMdduD9LNGEY/2OGH1BVDQMpff3MjmY/dqm+\r\ntkAvh/+U3O8tf4FhAOqaCrL8UC5sXN9MisjdLoOAkAKhoK8OiK05r7mJmjjA\r\nWX1MpbVe7e7HRXiR/LorQXZXwCz+UXjnRnahRLXYtuPZuXRHA0ZCp5Mbaqhp\r\nVyTOKmoWPZtTsE8JP7K9exPiuRk1xXGt8UWh40xEMGVokXcM9If6RSQ4bJYY\r\nptZRd8Mc/qGc1bbyxuNWHSCiqXk4qqhFO8QVlXSMBulQV/yFmbnMs3Pbymif\r\nXtF4hG2mdTBnhZcl7bYGg8HGPjmREBNPXjutAe4CIY3UPfwZUi8KEQ8oQRug\r\nG4Cpd111Eh59GC6QHJBO9KPmtT1Qx0Zyb97tZ/kMCGwgZWoO8d9dWhUr7KTc\r\nt95g4NrMLJaT+d9orgFk9SDUAY0MAxZoy4l/TDbPXu6InSUX3gmwzARSevOy\r\nWa5w36o+DwK3le+9qD4cuqIyr2TPy8Xw6vyC55Y7m7gX69Z4yDdug4MIX8fL\r\nKpTvfx/hGXBS10flpjvKDx/YHUCiicIWs6Kj+U5r3+CWgZwvd4j0NTA/w/xF\r\nfmRYqfC2vPNuRYlxnEFFo2/S52Cuvox0FeE=\r\n=HHRK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.3-update-dependencies-af7c3f57f9d7aa19cf7f0c7e6c3dedaf961da254-1_1667498080592_0.30157548885796626"},"_hasShrinkwrap":false},"11.0.3-update-dependencies-e3470a38b1bd84bda6e792c43803389327be94de-1":{"name":"drivelist","version":"11.0.3-update-dependencies-e3470a38b1bd84bda6e792c43803389327be94de-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=14 < 19"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.3","@types/mocha":"^10.0.0","@types/sinon":"^10.0.13","chai":"^4.3.6","eslint":"^8.26.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.1.0","node-gyp":"^9.3.0","prebuild":"^11.0.4","sinon":"^14.0.1","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-11-03T18:04:49.293Z"},"readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.3-update-dependencies-e3470a38b1bd84bda6e792c43803389327be94de-1","_integrity":"sha512-puhZOgJCFYY/3egnn/59HHaDPGNY4kdONYyhT+MOaQzOh/RyPJU+cs1k4/B9yz3R1yAp6knG0+heDXEPcJTSiw==","_resolved":"/home/runner/work/_temp/npm-e3470a38b1bd84bda6e792c43803389327be94de-18.x/drivelist-11.0.3.tgz","_from":"file:/home/runner/work/_temp/npm-e3470a38b1bd84bda6e792c43803389327be94de-18.x/drivelist-11.0.3.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-puhZOgJCFYY/3egnn/59HHaDPGNY4kdONYyhT+MOaQzOh/RyPJU+cs1k4/B9yz3R1yAp6knG0+heDXEPcJTSiw==","shasum":"2dfce24ead793cb54926825ac1c5e53ecd60b9e7","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.3-update-dependencies-e3470a38b1bd84bda6e792c43803389327be94de-1.tgz","fileCount":27,"unpackedSize":99862,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFGYenCuoWkR5BhkGJTMCOr/wrG2nzSZMtFiIzMnxRYSAiAPowmMQ9TzBRlgGrEDDVqp+9THqIMm2quKWc1mdi24jQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZANaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrrYg//S7/KupeGPKE3Tlu10VEUXqy/+H17xfCdqDMU35EbFC58cD8S\r\nD4mFdamW+43eYuhgeKTbT1MvqyW/jkm0ZfLfR9nii+nBkwy9dW8/Sj3RBlWx\r\nNUnITMOsFQoG8fu3DKoXy9mlS4pv8Xf6mbK/f18Q8QMW7VqZEWG64BLh9MNG\r\nnnnR6kY04vOFGSx0V7lN+OS8f56ScKt8vh/o/U4G5aTSsqbFkjVLuX9fnuTn\r\nv6KgSoFY8H5N/tRYum6nZqtrn0Hys2+w9iIRtc1ZoqzYPzraUFr20gmWe3xS\r\nb8jI5v/ALYP07N9fk+TyaC3Fk3E8JKV7XB/LiBUgkzexM6eRMKv22gavaC/H\r\nOJYP7AynCUxFOfTIOHz8bTHTPsRNf8rlT4k5xYTIgsTBIL2e/xUyM5J1/r+b\r\nm4Zz9hBCOPaPaiZr/gXVCLgSpsPmSXV7YhynNmh7Bg70FAjb1uhSbfHbTobS\r\n+kYEAjPuHbpoZrrPz9nwEU/BCmo32LSg6agG7Unr3PgdkQg/z7waAlrFk/Fr\r\nRP5l849aHInGInEkBOO6cjOABibYyq96Wks2OobXNDm4I0vDg5ZYtWYmJ3+t\r\nKxLa7boQ/Gwtd66I72isdbm6rl0/8NTX7qepbDi3Xn6LWM4JN9YnbdJ4W/DN\r\nC+whpdsNCM9RLL2DJPGVRodLqe1TCAAavPw=\r\n=vUHR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.3-update-dependencies-e3470a38b1bd84bda6e792c43803389327be94de-1_1667498842012_0.5513344313908544"},"_hasShrinkwrap":false},"11.0.3":{"name":"drivelist","version":"11.0.3","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=14 < 19"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.3","@types/mocha":"^10.0.0","@types/sinon":"^10.0.13","chai":"^4.3.6","eslint":"^8.26.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.1.0","node-gyp":"^9.3.0","prebuild":"^11.0.4","sinon":"^14.0.1","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-11-03T18:04:49.293Z"},"bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.3","_integrity":"sha512-re5fped2vlaBkO7hgMTx8gQm1mnyTaxLr1m3YbPgqjBZ7eo8opw3r/2KUk6gkeL7rX5TehKNKYdq1hsWRXBOiA==","_resolved":"/home/runner/work/_temp/npm-e3470a38b1bd84bda6e792c43803389327be94de-18.x/drivelist-11.0.3.tgz","_from":"file:/home/runner/work/_temp/npm-e3470a38b1bd84bda6e792c43803389327be94de-18.x/drivelist-11.0.3.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-re5fped2vlaBkO7hgMTx8gQm1mnyTaxLr1m3YbPgqjBZ7eo8opw3r/2KUk6gkeL7rX5TehKNKYdq1hsWRXBOiA==","shasum":"4273815c1102a552011438dc7915a78c11b57e02","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.3.tgz","fileCount":20,"unpackedSize":99799,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHN3zmRYOWop2hrNbWffDHjsSbUEozWfnEoktQtv0IH4AiBqIVoiSy43chpSf2xRNsL9vBjVLiKL7Pvo3z8mOqdFPw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZAQLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqstg/+MTeFSQBGjgomRZuiZVnrEw1MjUcBuX/ybW1VSoSRubacrvu9\r\nK/JZdjrivwd3Z3z5kUj8o/ce3Rnyr76CF9o0Q9/fPebOoAyJ4yKHcgLFkLWn\r\nKhZZo7jy6j5OWYRBpI2RFNpoIWm+QNREJKNnNuNAAAlHPvTsGvSCvKAS8PBQ\r\nTqeoBwITjkB1+sQWYgu8D40gPFep/P1+Z772oMjN4Jyi75laZRMPAz8s1cGt\r\nnYkiXToZZIQEDUgsl8XSzGQF7j0ed1tZCtt3IsHlcwr91TA+hPhXHZhkqmdH\r\nROkzYeKiKxjF18vAb+0+m9eMSJlbCCBUlbO3SASYgq8CbOJqHKowtwFcMGoO\r\nFHqmo7oCjs3Fah85ycabd403zAuw1y6cCtDSQTy5//X8NMVPtJJF9mDFTaDx\r\nQe3uBKhQdSgUBaNFNxa6hhwZDIDPeTGQEYlMK9jL5ep3FHuMH84TijVhd+ax\r\nAl8A2yhSo/nNzGeF/vkU/ZSyfgZyj/hngqYh+VTk8x4rs9vbjjNVpGCHOfnr\r\njZJ68RioBg1flPLHRggZInDfNL5oCqcBfnkjwzZiyZalfV4I2VTJlqr8Wf3Y\r\nQik1IIvCR9Ueqv2JsE2rK4xRS5EQKQz8M+/tT+Qnr3srRIIRMt2NlkxyxhpL\r\n6bKBAFWP/J/Jlms9qAzOzXSxylbKI4+xrqI=\r\n=vOqp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.3_1667499019591_0.9126366560938513"},"_hasShrinkwrap":false},"11.0.4-update-dependencies-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae-1":{"name":"drivelist","version":"11.0.4-update-dependencies-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=14 < 19"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.3","@types/mocha":"^10.0.0","@types/sinon":"^10.0.13","chai":"^4.3.6","eslint":"^8.26.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.1.0","node-gyp":"^9.3.0","prebuild":"^11.0.4","sinon":"^14.0.1","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-11-03T18:22:39.088Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.4-update-dependencies-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae-1","_integrity":"sha512-iqulor7TNRz/Ae61cIpUEb0pLAyjvaL3dWrm914OQMpItVUs0JjS5srY5ERjKXXsNLempaEYvu2yx2KHcr09XA==","_resolved":"/home/runner/work/_temp/npm-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae-18.x/drivelist-11.0.4.tgz","_from":"file:/home/runner/work/_temp/npm-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae-18.x/drivelist-11.0.4.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-iqulor7TNRz/Ae61cIpUEb0pLAyjvaL3dWrm914OQMpItVUs0JjS5srY5ERjKXXsNLempaEYvu2yx2KHcr09XA==","shasum":"8dff364b257b6eda0b48f6f495a59bc77eb947f8","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.4-update-dependencies-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae-1.tgz","fileCount":41,"unpackedSize":128640,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTTjPIrxjp/E5zU66GTiKbDIUoHVng6USfyRckyAfB4AiEA0eFXiuynvrLb1HLsRiKCmK6FqYYj9OuNSUiZDLgiX/A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZAfzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmobUQ//SXPilEHxWxP/81rAwqwe2HsW8sRgxf/ERf+fNhFiWnmBMAt3\r\n3UeUML63ZoNsR7YEuPqaR5IhhXfbeS5tghE3hYZObbnTBHCCaM7CkyPesqxK\r\nc8BauGJgOkA5yo7nfpZtZmvmGR4JzEhEjP9FtS0U9QT5/1bNfQkVqEvdfs6j\r\n5kKO8GRNxVx4v7zG2Jn2QGNW1rQhkva2K+PhSnmoCZMxe4Mu8fxRTcfq2bbP\r\nW/YSJ/4GSIAC52VLWYlocMmJYZvKWE4XcLoWLjfdj9OGqHz7dlxCAnBUapaR\r\nGy4ZiONxKgL9pZzFJGHPjY0KJ6D7yo8Nd4NkgFNzPV4TytONnDm3HV2k2Qtt\r\nFsICP/s3lpUiahtIltWSqX971e1gXBodbFOZkKn677dyrTqo+fK/98gaBsec\r\nfgqRTMEc2Wqm/iXUUTdAFOkUQMuI70eIfjuQjv6xd0oBzKakuOx9lGZ71Hq7\r\nXtSHY1TmTagP3Ka20ylwWxOWs4Ej+Lui2SU7ol2obIORdFwjIOsNGwmDd3R+\r\n2epPd/LRSwmcaTFCxiNu92uXzdAM+VakhcYudpLNxpWxxy07Eervzqz3X/nl\r\niCuXWzwEeNQzHCe7qXxRQ7zoGrpyQ2rWRIG0WMH3Cuq6jZmnOti0AUPB/T5b\r\ntrYZAh497d5nnG0RW7CPD5bnm/2fdHvXklk=\r\n=hDmH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.4-update-dependencies-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae-1_1667500019424_0.8473321663307487"},"_hasShrinkwrap":false},"11.0.4":{"name":"drivelist","version":"11.0.4","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=14 < 19"},"devDependencies":{"@balena/lint":"^6.2.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.3","@types/mocha":"^10.0.0","@types/sinon":"^10.0.13","chai":"^4.3.6","eslint":"^8.26.0","jsdoc-to-markdown":"^7.1.1","mocha":"^10.1.0","node-gyp":"^9.3.0","prebuild":"^11.0.4","sinon":"^14.0.1","ts-node":"^10.9.1","typescript":"^4.8.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2022-11-03T18:22:39.088Z"},"types":"./js/index.d.ts","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.4","_integrity":"sha512-97lLWiweopN8k4taCbPQXDK95zrDHWHL6CEOeUC9kPoJpnrmwxEortnDvF9T4dUzv1dIBtrnjTISQtDkseDSBQ==","_resolved":"/home/runner/work/_temp/npm-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae-18.x/drivelist-11.0.4.tgz","_from":"file:/home/runner/work/_temp/npm-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae-18.x/drivelist-11.0.4.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-97lLWiweopN8k4taCbPQXDK95zrDHWHL6CEOeUC9kPoJpnrmwxEortnDvF9T4dUzv1dIBtrnjTISQtDkseDSBQ==","shasum":"497dd7a1de0dda5184bacb0d4c946cba5688e779","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.4.tgz","fileCount":32,"unpackedSize":128577,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqMkGRi5HpIvhHDMXykk/8WkrHsHD0Wu+mshli5V+dugIgax3G0biTfqfDvae/dfK7iVseuIqqkTn6VrbVq6nMgxE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZAjHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpoqA//R0TD5HuwWFG+NQYgN4J5k8WrGrGF+aPUGos4KEPMX4FiQ6ha\r\nHZ9JUpGgSc2IK+/wIlxQOZWc0RnXQrwsnS4LChSluq6sIerY6YT2E3DXm/2x\r\nbMeVGrocd+cq5W86rEc6Xjnzpt3CMcdbKvbm0bDRDmwAppIR1YgfPj3IaiDm\r\nLyMReoF0Y4JDX3qnCvacKTucSH63zxadu/GXHlQgA7UY8vAe6QuDGsDB8hFe\r\ndXVqxtYRcDhZnvcrZGtBG0UXSMvcE+0v46N0vDjH4jhC967oajeGLrnyxYzM\r\nnZlvcDAD5ul90w7AiMjv63PMeyOEb8gVs1iQsP+Bdsy9rqo0uDccj/RIusE9\r\nwRRaB6QiV/uw3pPz2EjgFgkgOQA0ukmJbSgqs8w4OSDGkDolyyUxY823qmZd\r\nPajYUbPuy2O4z0OkLLkn/LdEJg7uJhGiM4lONq6tRJThdM5GTpjgLkD4yue3\r\n9LA1ykVQTbG+bVPs43dY5zY/gVQEKgpu25Z6ckyZChUuu1FD6M/QnxMZmwLV\r\nqtdr3sTvb17Y3Lg+8wFTR5LhiM4e4A7jAb8wVrboMfoufm0PGWPnlhdqGwuY\r\nF9ugC1vzDjL4cBqzxgYQdsNKs9+KwtUPs0OFdAJ066X5jppCVsvkHapEIZ8m\r\n0mq3XGr2U6WX0pfsXbOnROSNQUWHkLRJSjs=\r\n=Uq7o\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.4_1667500231511_0.9238450594571344"},"_hasShrinkwrap":false},"11.0.5-build-ab77-operational-a8f81e671b3dcf019c56da705dd0feb0001fe974-1":{"name":"drivelist","version":"11.0.5-build-ab77-operational-a8f81e671b3dcf019c56da705dd0feb0001fe974-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16 < 19"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2023-01-03T00:40:05.471Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.5-build-ab77-operational-a8f81e671b3dcf019c56da705dd0feb0001fe974-1","_integrity":"sha512-X+iP2X97TNc4OUN1r8B3g3DQGNCvivg+IO9uN+C7oYm8fPPdM133VkYbd/d52PwQxPhxV9rsY7arXFbh9d3bsA==","_resolved":"/home/runner/work/_temp/npm-a8f81e671b3dcf019c56da705dd0feb0001fe974-18.x/drivelist-11.0.5.tgz","_from":"file:/home/runner/work/_temp/npm-a8f81e671b3dcf019c56da705dd0feb0001fe974-18.x/drivelist-11.0.5.tgz","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-X+iP2X97TNc4OUN1r8B3g3DQGNCvivg+IO9uN+C7oYm8fPPdM133VkYbd/d52PwQxPhxV9rsY7arXFbh9d3bsA==","shasum":"2d3168b26529a390df2d52884f4d59b253bb26ac","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.5-build-ab77-operational-a8f81e671b3dcf019c56da705dd0feb0001fe974-1.tgz","fileCount":41,"unpackedSize":128700,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgRDAEN2F176LIFK3jvkQqx9DVmn3fIeWDMWbzQDbCnAIgJ4L2C66NoGg8mj5WmqYYCLWPbCN26G9KuJ+VOtdSeHQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjs3oJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxNw/9G1C6ihvJcJyxXMeHL6XS7pFKD24drYMEM3YcPAsuInrZ99Sh\r\nG1g75YOENcS1xajrzIbN4Bhj2ZN4/PPqDYBQGLkH9o9rb+26/gMTOSuvYNrv\r\nOl8hbTc6q4IdnMgSo3Ks58rqJhW7UuL6IYUd5Qua2+tQlkbCyy93fJ7Q9Zd5\r\nWB7qkR/9l7gMazAcMPqQGwJdM1r//iB4J6gAdB+cKF9USpOitOlp3Zp7jEz0\r\nHPhVyHKyCAZip5rmKLTtScmBPxRz5zAVGjw54N3Kfk+WrtX8NT9ir9LyeG7m\r\nj0eVSsVX7Zhtp7fwp3kpPBmnDVtVbfxcnH1Uv4xTYssiQVuzGic4ZMMhfVWE\r\nLwG1Gs06NRGC2abp3HYjekB2vT4xqKtZjoP7H9oD9qC8ZxnluOs8thSk+VVv\r\nJjEVNKy4SaSvHw9QGzoY87H2fg8paCX4fr+TddcIT3ZC0oQEb79wWmmOCA9S\r\nbto7xN1lLKQ1pREJ6LIFbVkP+1Yk3KM6VhF3AYKPfr5mLnpIEZDxLf+7xjXv\r\nGhbSQ8amv7IrxpUdlB1uOkTypB5Y18XCpl0TDcbRXPJzShJFSJuRfFgWIpl4\r\nxrXm5aOZAfalqI1sBr4LpH/jAT1ArPx+5jnFodwwBLPYC3f0dqvLCo3ECtWU\r\n2W8rEoMzG0IbkPLA2rq0FbKPAZnhAtfZkEY=\r\n=cKdd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.5-build-ab77-operational-a8f81e671b3dcf019c56da705dd0feb0001fe974-1_1672706569381_0.06865230437115644"},"_hasShrinkwrap":false},"11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-1":{"name":"drivelist","version":"11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16 < 19"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2023-01-03T19:45:28.439Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-1","_integrity":"sha512-dCZEWFbXLlf3TM9kwXSVGfIAjdSr+TFp8/+F5gIM7bLK7WXCqXG/LVDgqoh6W+s8eIeD3/uFb3cjEFGrtL20LA==","_resolved":"/home/runner/work/_temp/npm-fdab0995f1e85b3d5abde0ff8d835c0a17341866-18.x/drivelist-11.0.5.tgz","_from":"file:/home/runner/work/_temp/npm-fdab0995f1e85b3d5abde0ff8d835c0a17341866-18.x/drivelist-11.0.5.tgz","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-dCZEWFbXLlf3TM9kwXSVGfIAjdSr+TFp8/+F5gIM7bLK7WXCqXG/LVDgqoh6W+s8eIeD3/uFb3cjEFGrtL20LA==","shasum":"3837ef2bd786e9f43dbef9f7ae3e51abe7bd893b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-1.tgz","fileCount":41,"unpackedSize":128700,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvzegwyiDIKCfOsd2dOJ36zO4LfGgGVjTtys9z2sw5KAiEAjp6FZixU82AdK0q/kTmLzhU7TEFw9lFVRtfN7MY4cPc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtIbbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqqpw/9H7pP6jLqI3wmay4+xbRcXzB56c/77IpVacK5Ptw6bVPWehmU\r\nceBHZGbY6/9rbAumCuplwdYUbrFuxxYRXL/Cub2WEZtG5ymEA+9iXxZSBAbQ\r\nT7SxgrR+cjFBi+8rSDoEemHY9zGcWvwf4lTd2RXV9nMINqXbJhU+mZtBCC07\r\nv3KYqKpk2WDpJSwiDcIXiYUoEPlGm4wSDXMCknTdMmlg4cINEVFFXpSi0qNX\r\nYDI1JpZeFCEN3v2OybMcdTVERyjuP1k0e6bl+i2BEMm6+qRFsOVIsTH8DBfH\r\n9kixJjyrVktHhmL1pHXkMnxteblBjm9NGNjd2Jm3LY6DB3/YtZKxtArtjQxl\r\nfKlnOIgj3cdyfatbBVTV8cOVxn4LVC2ALxfJ/8ajiMOAGCcVjC1VXUuIUaiM\r\ntVX8gM46YFkPQ+4Z/pZXXyp0qNvDlo8TejrXRkTxTAqO+DO1Pc/U/qPdW4+q\r\ni7TzRpALZlHsrJNA00aT48klx8XgjCIJQy8/IgaFCWB4WVHeq9DRh3e1mI/B\r\npWh/ddJaZoAAIni7hygZmpn+0ngCLkTfXFwDcFU+lfgHdto4wWx25mKujcSL\r\n5RxC1xbK92jeOeQkbsUxUMXd7mFeBPXpGCYsOHUvdpybP/YUaCOyQBOKFkds\r\nFgLY976DDaVrPn4j233if+FPlgVioMX4UuA=\r\n=HPhk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-1_1672775387071_0.4992911273755545"},"_hasShrinkwrap":false},"11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-2":{"name":"drivelist","version":"11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-2","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16 < 19"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2023-01-05T22:28:14.130Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-2","_integrity":"sha512-BY8xY48CsElrXTycb9zo6splpQ9lH3K8NXttGQ5r0e3UEwaHPE0ijDNO3I7cTFTMBf0snmvYpk8FeyVy9kMiVA==","_resolved":"/home/runner/work/_temp/npm-fdab0995f1e85b3d5abde0ff8d835c0a17341866-18.x/drivelist-11.0.5.tgz","_from":"file:/home/runner/work/_temp/npm-fdab0995f1e85b3d5abde0ff8d835c0a17341866-18.x/drivelist-11.0.5.tgz","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-BY8xY48CsElrXTycb9zo6splpQ9lH3K8NXttGQ5r0e3UEwaHPE0ijDNO3I7cTFTMBf0snmvYpk8FeyVy9kMiVA==","shasum":"782a6346798781e4010b3e666d76ec2df304735f","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-2.tgz","fileCount":41,"unpackedSize":128700,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXONQ2dnMnTYTus8eaI/OU+u7y2ILsZzl51parK8LmVQIhALp7y9HaA5UAxKFWCncFsIdicvrFIvpxrRsBCL6c9Lh7"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjt0+/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqliw/+KWvrQ4ME5QQyKNaJCv+PfJ6Y3tJc8LK51Uz1YQ8fD9nPBz2+\r\nPz0GEwbdJEm1QFdvsVrueFK/Klc6Y7iAQOmJjEUd+nqGU2Lo5MM7sza3y22/\r\nqGoXGUYbui4lXu4Ax0JctYARb9hgU7BDz6yKL+7UgPjoCzeAeT8auoJjGZH/\r\nOTKorBspa/OKpQDddly/qalG0L2cr17LNPINB5ebz+bd4t/ZI8XWGPu+4rz0\r\n34uT6chv5RNA5kY1laXTNIFhGB8K1eLT2HhK3pFb3T7sQ0PXYu5zb8i15vGp\r\nwdCWdZaqFghoVUzkVpDcXaEp2eajy9Ilzcm2nwdEdOFoHjbpttVi9DyQnV0e\r\nwgqe+y+SN8/NMmV39ktWOikAUp4dCnsurRWfoN8t+24uVqmHERcm6TwCEDsu\r\nRFlAtOut2dV7OtBNoIduYI4JmxG0GR6UVjWNEgXkhm3yiTKK0RRenaGfKPxf\r\nhl2NuT03Is2AKdf/IWH4OZNu12bKxOoKRcEZgq8BFbXOyeg7nJo9Do9K2HYs\r\nln9D5nrlJaD7PvE1ifCW9ZgI1uKTHKndsdizqhQWtAdaotX6phhb0wd4eQ/Q\r\n8QRTvwBit7rH3N3EyPkGa5pEW22ami0ttjuuZVAsQDTpPmW66ohN+CRUSqYZ\r\njwic4zn9DKrzdrZpdVecAttGBT0eMRvqHI0=\r\n=enpF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-2_1672957887798_0.2598293408207146"},"_hasShrinkwrap":false},"11.1.0-build-ab77-operational-3dce6011c8f164a80823d5bffbff0c750a587e20-1":{"name":"drivelist","version":"11.1.0-build-ab77-operational-3dce6011c8f164a80823d5bffbff0c750a587e20-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16 < 19"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2023-01-05T22:39:13.040Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.1.0-build-ab77-operational-3dce6011c8f164a80823d5bffbff0c750a587e20-1","_integrity":"sha512-X5Zi4hz47Aw1Sq2jJjDd6CD7lltIM3rOCY0rXXRIMRZdksCFtr2u2G2FLFyc5kDjrDb1P9NE2DNJMV3TG9ZXCw==","_resolved":"/home/runner/work/_temp/npm-3dce6011c8f164a80823d5bffbff0c750a587e20-18.x/drivelist-11.1.0.tgz","_from":"file:/home/runner/work/_temp/npm-3dce6011c8f164a80823d5bffbff0c750a587e20-18.x/drivelist-11.1.0.tgz","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-X5Zi4hz47Aw1Sq2jJjDd6CD7lltIM3rOCY0rXXRIMRZdksCFtr2u2G2FLFyc5kDjrDb1P9NE2DNJMV3TG9ZXCw==","shasum":"c0d45da65914fb3c2eb1e9e92ff3b167ee1dda6a","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.1.0-build-ab77-operational-3dce6011c8f164a80823d5bffbff0c750a587e20-1.tgz","fileCount":41,"unpackedSize":128700,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaKtPP/g0p4/D0F4SEvqnA9fPrRF+uMGHFcSmSCS/PJQIgEuTvk4CwfrsRR/OUBIxOPy6qGH4ov2ajY4QXjqjOtXY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjt1IgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoysw//cR54cS8XTCwNvWcTkGgkPlK1eKfqX9tH3+hQMK3jFHYu8g+o\r\nw8Dl28jknDG396+nwzU1p3eQ6NmdqP26l9ABHxAjyEKWiaWMGltU7zKttQ4R\r\nVTHxcTxbNAnXlG3eKf4tIeosOGRvyH0NGNOF8jEw2WMqgV8VRkdErMt3YKOT\r\nrrMSSbrsp1rKNPT9BtMe9oqOqOomG89FgeNSdsq5I8oqqTtn0g9FWVGBWTe9\r\nLgFCuhv0NPj2GZmauRbt/PIGFMQKV/7dKfP6P115s1ljxlSQiOP2TdzUCvaS\r\njKWX4gfn8mQETmflnF/hV/lYXEoUF2yF5DfRwSuKA1j0YSaK75HikTAeviY4\r\nnVm//e/GNQDAFZFOQSCzOBTr7YJolqhJc+C2rb0U+iweMxBbgsDoJA8M7w2u\r\nV+tEA3LM1VfXz/B5hJ3wl5DYRGm9JZ4rvlwWMk0USFqEG2gVOp8qNK9wHmJb\r\nS1pmstT8hKJEvUbPU0r2VW7eg2k7zibEnUQIIEnCz3ioE51mis3kmaewmhkV\r\nGdZBx9h+6XtsA9QToEnG4LloVkmxlWDTxZAFD19TyHD8qzUssckDcHJ52tp8\r\nmtFDuyX5cWBI1AXV78B9jqOMrKTndnXE3LXA5ChmT+UmTzFiJDSzAGP8Mw1X\r\n4htCRP+G5llnIb5/GgMqgYfrY4OtbJYA3TU=\r\n=HKEt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.1.0-build-ab77-operational-3dce6011c8f164a80823d5bffbff0c750a587e20-1_1672958496428_0.7304455204143911"},"_hasShrinkwrap":false},"11.1.0":{"name":"drivelist","version":"11.1.0","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16 < 19"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2023-01-05T22:39:13.040Z"},"types":"./js/index.d.ts","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.1.0","_integrity":"sha512-DT328SbKqB78y+HUeuazwj4+Enh5ormv9OgTIMB0/OP2VxKLFDOrKhejJxjP9ytmJok8W/nzR8gSWdpiaJi1XA==","_resolved":"/home/runner/work/_temp/npm-3dce6011c8f164a80823d5bffbff0c750a587e20-18.x/drivelist-11.1.0.tgz","_from":"file:/home/runner/work/_temp/npm-3dce6011c8f164a80823d5bffbff0c750a587e20-18.x/drivelist-11.1.0.tgz","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-DT328SbKqB78y+HUeuazwj4+Enh5ormv9OgTIMB0/OP2VxKLFDOrKhejJxjP9ytmJok8W/nzR8gSWdpiaJi1XA==","shasum":"39b17b78bf7d717e666ad57f006ffaf9ee344ac7","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.1.0.tgz","fileCount":32,"unpackedSize":128634,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHbSmF+uY5qE5ZnGvECxHm2/Ppx3yMX/Zs7gDXtzbfvPAiADxbpSUHFCSYIjiCg+9OCRCMiFk6vmUVaNYJP2ZTOxRg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjt1M7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0DRAAm94cal5yRsSEdh9ZEKVlTp5ti0cjD3k8mDW2w0vZO090vfjS\r\n3WigPBxcSsl9Lm148rle7BRBfC6lPHzi0oII4UKskgg6OTe8pXInH/byWprN\r\ngqEd9TOZemJGgiQyqeaT9en8KfzGXH8wU0neSYOni6LHw6jmsFoOXYd3EL48\r\nYpG84XfsOJCQa4nBBKCoBuDQKJNd5nCRuFDsOzMabYut1hYSqRflCAu+jdq/\r\nteaQU+AYaVcEoIylPH+HHqGLkI9qdIqo2nV8ucCwgj8li2w16oJRYBbfKKQW\r\nk0b7AfxjAqK7sSimTJYLxPL9driJnlNG7YWrcyaBdvs4duZtYXTvzd55+xwV\r\nfDWRkyFKezQvZcgYjHUVknZyvap9DkulmhWFM1OH4Pk156dASbQASudm948k\r\nDcbhKfDeyww3p28bFFImvap7YRHFwcfozHQMlviB3bzHSxrl2dXlWngWUOcQ\r\nd9fWcpHAAyLsmRQ57klwmV9av1MztpMSlEPanxVsCn9ibl1lVZHTFeZBWaHk\r\n+V3KBZ1fJ/Ddy7C8lFbVmqnj/kep3hC8YKHzS5UGDGtr/hNUhfraP6BV1479\r\nmhJoV1wJyIEj3qRmYyQoeYXy09qJ2gJBSwGDvGp7Y4mIVzTfjvq1/OsvaR8G\r\nPxYYsNdOhnyR+AZRMw3uE2DohAwqoVDcFsY=\r\n=aH7j\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.1.0_1672958779657_0.7664248747507576"},"_hasShrinkwrap":false},"11.2.0-build-renovate-node-addon-api-6-x-38a10329db40775245466daa7fa8b1291ecd997f-1":{"name":"drivelist","version":"11.2.0-build-renovate-node-addon-api-6-x-38a10329db40775245466daa7fa8b1291ecd997f-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16 < 19"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^6.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2023-02-10T17:47:57.160Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.0-build-renovate-node-addon-api-6-x-38a10329db40775245466daa7fa8b1291ecd997f-1","_integrity":"sha512-cGPRq9NvpWO2CtO5idngYgmfR3dKjwJS/rBOqgVjp2ZdRtxWnf3A1o+BFPI8gL6OeZwOOFlWOcBZrfo3Ru57Zw==","_resolved":"/home/runner/work/_temp/drivelist-11.2.0.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.0.tgz","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-cGPRq9NvpWO2CtO5idngYgmfR3dKjwJS/rBOqgVjp2ZdRtxWnf3A1o+BFPI8gL6OeZwOOFlWOcBZrfo3Ru57Zw==","shasum":"11c09cf1180b7ecb8d68f1b90fbb9279453c10e7","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.0-build-renovate-node-addon-api-6-x-38a10329db40775245466daa7fa8b1291ecd997f-1.tgz","fileCount":41,"unpackedSize":128798,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHnuetZ6w2+Gcs+tPykS6y6bSgmAEu1zKagDF9N8KFtjAiEA2chvsy/5ncf2gt4Jc1/KlWCZr0FW0wrxVCZ3LchfT54="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5oQFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoE7Q/+OldUNunE7Kquzt2NUowGKNdFPrs3nCv+zbXMjeGWb1jR4gx8\r\nhmzem6oF6maMDHv9lxwmW3X6udkoEZ1r8rk2nzKByoVJ50kFfMfyH+qzkeaX\r\nbAu/0XqVXGwoxxZa89G5c/EHGtdCmbtECcFKs5b+ImAZz3bKCDotckVJ4QF7\r\n2YA9/atDeReLsYG2upFGdKCi4oCVgxYS725Kv2k2K0TlT0Zzyp0eJAo5nDtH\r\nNHiCV3VybIhicOLw1dvlhuSPtmBg4ACk9LczFV/ie2pbyjBpVrmorI06Lj09\r\nEHbzLXvm4U0YXwFO8K2lUQt89QtIgn/mYI1z94eyRRKsL5i6mB/zrP7kiYE+\r\ncWZ57RfnqtSTRIpq4s3+TUDzrvxuXXXTQRPIbB4fEDQP5IFDNqVeG516YO+0\r\nEi6kL13uel/QIKZy+ROlppEc+VxTyPv/JTKuhPfXs6PBC7f2nC+FR0XOx4rf\r\nY6bspxNYMqvspXDbEtI7CMYen4exyrh1qYOHurGYd0ggwWnezn25VxNpawj8\r\n6hCBS+5eZSEd8QMQxtbW/oo+/pQpYGIrGrRVkNeUjtfMEHB0neUhR224sj4J\r\nbuSPJg9wiukFRZpVt4cqpD0J09CM3qN1NiBYAbpVGgb6nkprw6XA7XX6lu5n\r\nvhJbQ1FjYECnyjPCTkvZoxfc5hvuA111aps=\r\n=W/Ox\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.0-build-renovate-node-addon-api-6-x-38a10329db40775245466daa7fa8b1291ecd997f-1_1676051461265_0.1667000071222886"},"_hasShrinkwrap":false},"12.0.0-build-renovate-typescript-5-x-102dc03d7445c29dfa371d133975dd009e89dda8-1":{"name":"drivelist","version":"12.0.0-build-renovate-typescript-5-x-102dc03d7445c29dfa371d133975dd009e89dda8-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16 < 19"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^5.0.0"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2023-05-01T17:53:36.415Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.0-build-renovate-typescript-5-x-102dc03d7445c29dfa371d133975dd009e89dda8-1","_integrity":"sha512-m063eK1SxeeV123xt8QDfNjzH7qeanx4Cib4FM958dQ/NWZ4kfUh+JhhX0Du9fzIIYCZjFf97v8myT+yw1k8tQ==","_resolved":"/home/runner/work/_temp/drivelist-12.0.0.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.0.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-m063eK1SxeeV123xt8QDfNjzH7qeanx4Cib4FM958dQ/NWZ4kfUh+JhhX0Du9fzIIYCZjFf97v8myT+yw1k8tQ==","shasum":"e43af44a103e158a82ade5185cd3c57b5182b01d","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.0-build-renovate-typescript-5-x-102dc03d7445c29dfa371d133975dd009e89dda8-1.tgz","fileCount":41,"unpackedSize":128787,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCpsI0la+Qozdj7iqCy/anKIljc5h2ok2ayHTm9vT6QAIgblb2J713S3VzYnFnLkDPivuhbpyf3qgIfwHNE5IIk90="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkT/12ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJTQ/7Bx/7ZOCPylZVzbNL1r5Y7J6sCw+ONMGqanMR3QMrQXBc6Z6x\r\nNdMegvitMALviDH2Jw/37Q9HC8Y3hd4+CJWd1wjsX+rywN4hfNaLhKNNvc5M\r\n9AnZpQb3phAWJ7xfwiaPx76xaR2jcZ2WZTdLipDpMk3nCkOKttzlkIYR/pyJ\r\nti905uGqptEyQHagKLp9pY4d9r6V/eVqCza4g8DEconxPVStj2lx4BMX/JHx\r\n/JsHiNknqe87XBq+FC/AyxqajBb4KeRF2UjMde1ceAS0PT5PwyoSyhY+T1CU\r\nt1QyIKsMpJXPjDEGN4mscXTnIKOb75uXqpeZl5zkbIsckDl2k0JQSeMs5u9i\r\nuin3+SHqlBthO85yZLi1FO4GqdcHv8fhiOhFJHMWEo40o/KwFSbmfOq3VTtE\r\n0N0iTz8+jkdV/JSsiTcgm/iPxiT8sFANpYy4hF10fBiFH4KHscpO0LVIp9rw\r\n/O9mWKsz80lZ5QKBBTJtdIdSfU2TQRbbrWpaWsQnQPU7MYjWS/rrynBeU1V+\r\n4s0/Phd9cg6PKAzS1zz/slEFeiUxu4qbC94H9RRa8naWoOPaMepmAjqwhg5x\r\ncCwcuy3MgpBcV7sqATZm5q9dJ8LKhoKYwr0c0E+VpD0E8oNZmYA4PRsMLIxB\r\nUwWbWMShBw1GasW9dyzFNqhJ0cZH+Nv70mo=\r\n=aUCl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.0-build-renovate-typescript-5-x-102dc03d7445c29dfa371d133975dd009e89dda8-1_1682963830524_0.2522995279734521"},"_hasShrinkwrap":false},"12.0.0-build-renovate-node-addon-api-6-x-2e58fa8593941e71cf16a84aea17e9f653c5f2c7-1":{"name":"drivelist","version":"12.0.0-build-renovate-node-addon-api-6-x-2e58fa8593941e71cf16a84aea17e9f653c5f2c7-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16 < 19"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^6.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2023-05-30T15:45:57.015Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.0-build-renovate-node-addon-api-6-x-2e58fa8593941e71cf16a84aea17e9f653c5f2c7-1","_integrity":"sha512-gPQ/icNh5x/u55SPjAveIIq/5LZzOlaTtJAqmm49jEivzOzkti/R4lHs1xhKcz+6XQFyWM2UMIkT3tvC1B2qqA==","_resolved":"/home/runner/work/_temp/drivelist-12.0.0.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.0.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-gPQ/icNh5x/u55SPjAveIIq/5LZzOlaTtJAqmm49jEivzOzkti/R4lHs1xhKcz+6XQFyWM2UMIkT3tvC1B2qqA==","shasum":"1114d067247df56d91635d90f7dca5328d95e3c3","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.0-build-renovate-node-addon-api-6-x-2e58fa8593941e71cf16a84aea17e9f653c5f2c7-1.tgz","fileCount":41,"unpackedSize":128807,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBYKyvTk6+7TZfvWQTCaOCRK9VtaMt41Tj8nFXNARTsAiB5WLnTmVp4b5rrgbIgpgFmBgQvY4hxmCCDePSN0JrAGA=="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.0-build-renovate-node-addon-api-6-x-2e58fa8593941e71cf16a84aea17e9f653c5f2c7-1_1685461763665_0.649773636405945"},"_hasShrinkwrap":false},"11.1.1-build-renovate-typescript-5-x-640f0d1f9267d753037cc666787f6633f1df3762-1":{"name":"drivelist","version":"11.1.1-build-renovate-typescript-5-x-640f0d1f9267d753037cc666787f6633f1df3762-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16 < 19"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^5.0.0"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2023-05-30T15:46:01.940Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.1.1-build-renovate-typescript-5-x-640f0d1f9267d753037cc666787f6633f1df3762-1","_integrity":"sha512-tlh7utmlb3K1OQhjGVufFjdu71zT9MHHtgG1jN6fwyTL6mdGyOU/4FVWjxy73nQ2Faez76VykvdjQD1/l6TVtw==","_resolved":"/home/runner/work/_temp/drivelist-11.1.1.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.1.1.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-tlh7utmlb3K1OQhjGVufFjdu71zT9MHHtgG1jN6fwyTL6mdGyOU/4FVWjxy73nQ2Faez76VykvdjQD1/l6TVtw==","shasum":"b04d9b5f7427dcb479dd7c41e8929c682a8dbb15","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.1.1-build-renovate-typescript-5-x-640f0d1f9267d753037cc666787f6633f1df3762-1.tgz","fileCount":41,"unpackedSize":128799,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZDc6fka0ZwDxHv52b4TxDtcXgAhQuD3s7LRkOyTyTcQIgIxg+lwlyoEUJN3y/x3ponJZ8kZRkRRNlBsgSmUG52Eo="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.1.1-build-renovate-typescript-5-x-640f0d1f9267d753037cc666787f6633f1df3762-1_1685461828746_0.6729885305370502"},"_hasShrinkwrap":false},"12.0.0-build-renovate-node-addon-api-7-x-275ea9dad4ae88882f14e82a64fffbb174dc3616-1":{"name":"drivelist","version":"12.0.0-build-renovate-node-addon-api-7-x-275ea9dad4ae88882f14e82a64fffbb174dc3616-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16 < 19"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^7.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2023-06-15T14:45:49.519Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.0-build-renovate-node-addon-api-7-x-275ea9dad4ae88882f14e82a64fffbb174dc3616-1","_integrity":"sha512-gx8dZv3WZAjBW2p7l8OZC8W7LdseSwt8vHKDtib3bYYCFzNvZ5KvrttQ+sEZB/R8CvWxlmidi5i1yj9QXCDqQA==","_resolved":"/home/runner/work/_temp/drivelist-12.0.0.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.0.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-gx8dZv3WZAjBW2p7l8OZC8W7LdseSwt8vHKDtib3bYYCFzNvZ5KvrttQ+sEZB/R8CvWxlmidi5i1yj9QXCDqQA==","shasum":"c46b2b54bb3e74c6911814d39585fa43a28a0355","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.0-build-renovate-node-addon-api-7-x-275ea9dad4ae88882f14e82a64fffbb174dc3616-1.tgz","fileCount":41,"unpackedSize":128807,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAYqLH8T3Ja5ivkZnaoWmQaUpkadWCdB2bTZanmvJDdSAiEAqV2bagJC3A4lplmJcGvVWi8+PJUopm0jzfkzS0GhU+0="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.0-build-renovate-node-addon-api-7-x-275ea9dad4ae88882f14e82a64fffbb174dc3616-1_1686840580824_0.5201637291785739"},"_hasShrinkwrap":false},"11.1.1-build-renovate-balena-lint-7-x-60b4a1add7e00536c54da94f8ee7a23330fa3162-1":{"name":"drivelist","version":"11.1.1-build-renovate-balena-lint-7-x-60b4a1add7e00536c54da94f8ee7a23330fa3162-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16 < 19"},"devDependencies":{"@balena/lint":"^7.0.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2023-09-07T13:46:08.638Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.1.1-build-renovate-balena-lint-7-x-60b4a1add7e00536c54da94f8ee7a23330fa3162-1","_integrity":"sha512-M0mvbqvPKcEPa9rgKauAuB7/Mjf8TydPw1EdhoIrCN5Tf9nzrc2iIlG4+KuytaLTjTgY7meO7bzOO5QrW6SeaA==","_resolved":"/home/runner/work/_temp/drivelist-11.1.1.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.1.1.tgz","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-M0mvbqvPKcEPa9rgKauAuB7/Mjf8TydPw1EdhoIrCN5Tf9nzrc2iIlG4+KuytaLTjTgY7meO7bzOO5QrW6SeaA==","shasum":"4e5b05fa09e46b3af35c0cd98f5f0cc4c1124738","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.1.1-build-renovate-balena-lint-7-x-60b4a1add7e00536c54da94f8ee7a23330fa3162-1.tgz","fileCount":41,"unpackedSize":128802,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCedWbRjyuFsKjGE2lBUpNYW3uJCi56f//FUdZ0mCyUGQIga1KwLjS4zwcgvPD5e70/hj6YGu9SYRqaTbcojh9sIM0="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.1.1-build-renovate-balena-lint-7-x-60b4a1add7e00536c54da94f8ee7a23330fa3162-1_1694094700929_0.6685316546817377"},"_hasShrinkwrap":false},"11.2.0-build-otaviojacobi-support-node-20-561ee8f38a59f70597fdb0e133babac9c85b9afa-1":{"name":"drivelist","version":"11.2.0-build-otaviojacobi-support-node-20-561ee8f38a59f70597fdb0e133babac9c85b9afa-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2023-09-29T14:34:34.194Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.0-build-otaviojacobi-support-node-20-561ee8f38a59f70597fdb0e133babac9c85b9afa-1","_integrity":"sha512-eoMqVqg3IKK5OWfBH+L7+NkHBEmi7x4jHIbZt6s28afWbVJnkJmnHZZRJsTbjdGQu+3JhHip6RrYXHfbt94RuA==","_resolved":"/home/runner/work/_temp/drivelist-11.2.0.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.0.tgz","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-eoMqVqg3IKK5OWfBH+L7+NkHBEmi7x4jHIbZt6s28afWbVJnkJmnHZZRJsTbjdGQu+3JhHip6RrYXHfbt94RuA==","shasum":"da8c2de74664ba819a4c3c2db990d13f38cff789","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.0-build-otaviojacobi-support-node-20-561ee8f38a59f70597fdb0e133babac9c85b9afa-1.tgz","fileCount":41,"unpackedSize":128776,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBbAOarHuwT2Oj1juuS4yUynoFz5+YYJoniStpvl2E/eAiEAzHtj9drDFpxF8dGqeMU8xxV/P8kBhXqsFIVNnU5aYyE="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.0-build-otaviojacobi-support-node-20-561ee8f38a59f70597fdb0e133babac9c85b9afa-1_1695998381414_0.27698720151868805"},"_hasShrinkwrap":false},"11.2.0-build-otaviojacobi-support-node-20-a3381a8f8a5d4fe3198cafbac19a0738b42e83e4-1":{"name":"drivelist","version":"11.2.0-build-otaviojacobi-support-node-20-a3381a8f8a5d4fe3198cafbac19a0738b42e83e4-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-01-17T10:06:52.588Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.0-build-otaviojacobi-support-node-20-a3381a8f8a5d4fe3198cafbac19a0738b42e83e4-1","_integrity":"sha512-TQ1A9pxMoobU5+FRV0fPl6OFXErYlbIdZSREX1sr0PPRYrc/TD9+wIbmJ3BqA9/2oJfb1lqjcN2bMQpAENWGrw==","_resolved":"/home/runner/work/_temp/drivelist-11.2.0.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.0.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-TQ1A9pxMoobU5+FRV0fPl6OFXErYlbIdZSREX1sr0PPRYrc/TD9+wIbmJ3BqA9/2oJfb1lqjcN2bMQpAENWGrw==","shasum":"cea9c0c4285abb14dd4058544d6ca38ac4ff6050","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.0-build-otaviojacobi-support-node-20-a3381a8f8a5d4fe3198cafbac19a0738b42e83e4-1.tgz","fileCount":41,"unpackedSize":128858,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAOcxLfrrMzuc1dixEf1ZRUCPmAVzeael0yJukm1M0fPAiEA2ZMvyJ4SSaNp4JQItXjnPe9rAP9PX8EliEW0JfqKjdU="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.0-build-otaviojacobi-support-node-20-a3381a8f8a5d4fe3198cafbac19a0738b42e83e4-1_1705486261563_0.6362671993177538"},"_hasShrinkwrap":false},"11.2.0":{"name":"drivelist","version":"11.2.0","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-01-17T10:06:52.588Z"},"types":"./js/index.d.ts","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.0","_integrity":"sha512-d0/vhwQ6MGHXHke8ij6trPMYlc241t3/7PEgpMwUhmTtDR9pGbbuDbKw6uqSBUbryFxp+5nhuVmN0jxPsv7z3A==","_resolved":"/home/runner/work/_temp/drivelist-11.2.0.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.0.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-d0/vhwQ6MGHXHke8ij6trPMYlc241t3/7PEgpMwUhmTtDR9pGbbuDbKw6uqSBUbryFxp+5nhuVmN0jxPsv7z3A==","shasum":"e2206ad7e1d3355bd431268384b648def694b9bf","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.0.tgz","fileCount":32,"unpackedSize":128780,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+LikI0HWPcdzJRN4gfzuI7Haf78XyGyp8ztBje1ezpQIgL6cmTdIhMeecNgShp2Zc3wFoHhIgWATOFxdqpDwOVIg="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.0_1705573589050_0.921358496413677"},"_hasShrinkwrap":false},"11.2.1-build-renovate-major-node-addon-api-e7d0b0c6632329d4e366f110b5e2d9e18788817c-1":{"name":"drivelist","version":"11.2.1-build-renovate-major-node-addon-api-e7d0b0c6632329d4e366f110b5e2d9e18788817c-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^7.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-01-18T10:46:28.759Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.1-build-renovate-major-node-addon-api-e7d0b0c6632329d4e366f110b5e2d9e18788817c-1","_integrity":"sha512-OvHHdv23xnylH0r48NrxLaGsZ4wTWdKBWYFgtE4saZZTm80H3vRjTCMC3eEFSb/+IQwjAJinChWy62XlEF++1A==","_resolved":"/home/runner/work/_temp/drivelist-11.2.1.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.1.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-OvHHdv23xnylH0r48NrxLaGsZ4wTWdKBWYFgtE4saZZTm80H3vRjTCMC3eEFSb/+IQwjAJinChWy62XlEF++1A==","shasum":"19dd4e1dddb0ed775032b8201a13ed272f8ff633","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.1-build-renovate-major-node-addon-api-e7d0b0c6632329d4e366f110b5e2d9e18788817c-1.tgz","fileCount":41,"unpackedSize":128955,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMy4fXqRNiQ16sk/6oziefcBPj8qeRu/5wrOmlXESv4gIgD7IyRW4RhtH7L0xqAFnAB4sp6J1wsfRXxRKmbWsyizQ="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.1-build-renovate-major-node-addon-api-e7d0b0c6632329d4e366f110b5e2d9e18788817c-1_1705575177297_0.7204807259180697"},"_hasShrinkwrap":false},"11.2.1-build-renovate-major--balenalint-0e0411f6caaa3392c05dac800aa71d25ab59580c-1":{"name":"drivelist","version":"11.2.1-build-renovate-major--balenalint-0e0411f6caaa3392c05dac800aa71d25ab59580c-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^7.0.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-01-18T10:46:12.441Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.1-build-renovate-major--balenalint-0e0411f6caaa3392c05dac800aa71d25ab59580c-1","_integrity":"sha512-LmC9wiDfUvJKcbh4mp04gK8f8nwK+m67ZubXF1IHHRvBBputctYWQZMgWSvH/oahI76/jSgCuaVn2JNup30DRw==","_resolved":"/home/runner/work/_temp/drivelist-11.2.1.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.1.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-LmC9wiDfUvJKcbh4mp04gK8f8nwK+m67ZubXF1IHHRvBBputctYWQZMgWSvH/oahI76/jSgCuaVn2JNup30DRw==","shasum":"26a328d300d33a12046a1676f298acced2b4cce0","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.1-build-renovate-major--balenalint-0e0411f6caaa3392c05dac800aa71d25ab59580c-1.tgz","fileCount":41,"unpackedSize":128950,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2dQf68aTtENNJi3X0bP90ifo5efWUXkxJdecq9ibecAIgP6qVOtLRzoNh8yO5lJhJq1rbp/nylwmCeZeFXOH/w4I="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.1-build-renovate-major--balenalint-0e0411f6caaa3392c05dac800aa71d25ab59580c-1_1705575281651_0.7257414773943784"},"_hasShrinkwrap":false},"11.2.1-build-kyle-custom-runs-on-961183e410973cee6824c665ad9239cd1bb49703-1":{"name":"drivelist","version":"11.2.1-build-kyle-custom-runs-on-961183e410973cee6824c665ad9239cd1bb49703-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-02-14T21:06:49.307Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.1-build-kyle-custom-runs-on-961183e410973cee6824c665ad9239cd1bb49703-1","_integrity":"sha512-ZjZxrxHikz1Um+NknE9FI0q8scVRcFF2QX4nXteLUjlVcX0WVXLBozMRVWe78aj4qG8GN2uwRD9hHFUFeY81jw==","_resolved":"/home/runner/work/_temp/drivelist-11.2.1.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.1.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-ZjZxrxHikz1Um+NknE9FI0q8scVRcFF2QX4nXteLUjlVcX0WVXLBozMRVWe78aj4qG8GN2uwRD9hHFUFeY81jw==","shasum":"c4dbfcafcd18621ea693a9c4bd5742ec1044cec2","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.1-build-kyle-custom-runs-on-961183e410973cee6824c665ad9239cd1bb49703-1.tgz","fileCount":41,"unpackedSize":128941,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDO36f6QFWlwTDx+t6kyfCnp80UeIdsj6Vstdnbu+QzqQIhAISm3resPLcwvb3MbdVGNJd+gevQ5ogxtnOXTk7lc2Rv"}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.1-build-kyle-custom-runs-on-961183e410973cee6824c665ad9239cd1bb49703-1_1707945107729_0.08584138709089295"},"_hasShrinkwrap":false},"11.2.1":{"name":"drivelist","version":"11.2.1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-02-14T21:06:49.307Z"},"types":"./js/index.d.ts","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.1","_integrity":"sha512-6QO94SWxKxTXCpIvHpBk8NhIK+ZcgGjm9CclciB8cu7iND8JaQQk1+a4jwh8gSpIc8Uv2MTrfE+xCzI/+4O4QA==","_resolved":"/home/runner/work/_temp/drivelist-11.2.1.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.1.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-6QO94SWxKxTXCpIvHpBk8NhIK+ZcgGjm9CclciB8cu7iND8JaQQk1+a4jwh8gSpIc8Uv2MTrfE+xCzI/+4O4QA==","shasum":"a879732b1f3057efe6a562d20298b7e65e9476db","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.1.tgz","fileCount":32,"unpackedSize":128872,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6l+up8+PUftq4XAKF2tR3g9xJLjXg3sWBfWM0KekdoAIhAKdDaK7aGLehq3w2w69cGP/MGqh9YHAP4J2YJv3JqMRc"}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.1_1707956873116_0.990477450015725"},"_hasShrinkwrap":false},"11.2.2-build-renovate-major-node-addon-api-b056b06c78819c33df1db137ed38096fb7abcd18-1":{"name":"drivelist","version":"11.2.2-build-renovate-major-node-addon-api-b056b06c78819c33df1db137ed38096fb7abcd18-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^7.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-02-15T01:04:30.099Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.2-build-renovate-major-node-addon-api-b056b06c78819c33df1db137ed38096fb7abcd18-1","_integrity":"sha512-XcnakUKSl8XtkQW820X0+eZMzDDm+KsrExrI3UOmazrdPB9gJpk5EJZkQK+X6q5u9CVzyDVXzJE4ucPwaxva/Q==","_resolved":"/home/runner/work/_temp/drivelist-11.2.2.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.2.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-XcnakUKSl8XtkQW820X0+eZMzDDm+KsrExrI3UOmazrdPB9gJpk5EJZkQK+X6q5u9CVzyDVXzJE4ucPwaxva/Q==","shasum":"f3ad3c1746218acb662a54b72f34a1f3514c3b97","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.2-build-renovate-major-node-addon-api-b056b06c78819c33df1db137ed38096fb7abcd18-1.tgz","fileCount":41,"unpackedSize":129047,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxkNgmkllEMK9seu21boFRCoZCwx68CftxPMGcERGweQIhAIR6m/mRr9W67TkW0IKA65Skry1lrZT6rqzO+pEpKyRX"}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.2-build-renovate-major-node-addon-api-b056b06c78819c33df1db137ed38096fb7abcd18-1_1707959325957_0.031988713637330024"},"_hasShrinkwrap":false},"11.2.2-build-renovate-major--balenalint-b5fb49d6af547894c394e744074ff433f4c181e4-1":{"name":"drivelist","version":"11.2.2-build-renovate-major--balenalint-b5fb49d6af547894c394e744074ff433f4c181e4-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^7.0.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^9.3.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-02-15T01:04:20.454Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.2-build-renovate-major--balenalint-b5fb49d6af547894c394e744074ff433f4c181e4-1","_integrity":"sha512-Eq0kJgvi9lZP6W2XiBMB5wefSL6DJDBuPdO6Ul48OblB0lH6FEr0vDYFoATCxmmt8vcyvV1fK0zuThqjuqGSBg==","_resolved":"/home/runner/work/_temp/drivelist-11.2.2.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.2.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-Eq0kJgvi9lZP6W2XiBMB5wefSL6DJDBuPdO6Ul48OblB0lH6FEr0vDYFoATCxmmt8vcyvV1fK0zuThqjuqGSBg==","shasum":"10fa50eaff5bdb0eb2146ee1ecf23a9dc78e6346","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.2-build-renovate-major--balenalint-b5fb49d6af547894c394e744074ff433f4c181e4-1.tgz","fileCount":41,"unpackedSize":129042,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHhlQXloFaazAkqzPM588wVFbHhfH/5ZAoWFuUoG7jIwAiEAkJ1GwoChfQjnaQrqMTad8CkYOODLbHIV47GHI2jy6Ng="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.2-build-renovate-major--balenalint-b5fb49d6af547894c394e744074ff433f4c181e4-1_1707959416565_0.3758913926319991"},"_hasShrinkwrap":false},"11.2.2-build-bump-node-gyp-147394c5b59fdc4a720eb65604debd6619e50216-1":{"name":"drivelist","version":"11.2.2-build-bump-node-gyp-147394c5b59fdc4a720eb65604debd6619e50216-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-03-08T08:42:55.382Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.2-build-bump-node-gyp-147394c5b59fdc4a720eb65604debd6619e50216-1","_integrity":"sha512-s4vLqBQAOsjdBzOlEAwGDQkP0t34vmIm/ehUXxeMqxdiJ+XDMncZ4VxK6VAxS2sG7pZCJxujnZmAmXbLr8kvhQ==","_resolved":"/home/runner/work/_temp/drivelist-11.2.2.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.2.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-s4vLqBQAOsjdBzOlEAwGDQkP0t34vmIm/ehUXxeMqxdiJ+XDMncZ4VxK6VAxS2sG7pZCJxujnZmAmXbLr8kvhQ==","shasum":"eebf93909ead25ea0f14d8d9ec027e98540045ff","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.2-build-bump-node-gyp-147394c5b59fdc4a720eb65604debd6619e50216-1.tgz","fileCount":41,"unpackedSize":128996,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAHGnY3C85v3+k05jzcPdrdHfGyvufCNOlVq6qA1nU/IAiAYw2BmxTdAqb8SkJlZqT+l7CSdSNYdyPm7EsHXWy8How=="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.2-build-bump-node-gyp-147394c5b59fdc4a720eb65604debd6619e50216-1_1709887571623_0.8993748050766373"},"_hasShrinkwrap":false},"11.2.2":{"name":"drivelist","version":"11.2.2","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-03-08T08:42:55.382Z"},"types":"./js/index.d.ts","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.2","_integrity":"sha512-shzkC4h3Q6sVkF9v9lbT1j49LN47O7h0GJk9E4VtJe81Xp6GF1O36gpnWpqRL6VvFya086eu4XcBEOwSXHHjeQ==","_resolved":"/home/runner/work/_temp/drivelist-11.2.2.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.2.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-shzkC4h3Q6sVkF9v9lbT1j49LN47O7h0GJk9E4VtJe81Xp6GF1O36gpnWpqRL6VvFya086eu4XcBEOwSXHHjeQ==","shasum":"2dd7d10816852415f43d87adc2cdac3b1132527b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.2.tgz","fileCount":32,"unpackedSize":128933,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHY7P0BV1lYOY3d6pWmeqfUiDfoGgb5+ZF4J0ct8HxUjAiBZe3PopTnfGEIBp2Wn7m1z/Q6HRFl2r8G86hZ0hdiOig=="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.2_1709897439386_0.04207835487789002"},"_hasShrinkwrap":false},"11.2.3-build-renovate-major-node-addon-api-09c0a5332763d65bb73a6d40de4118454ab8cf66-1":{"name":"drivelist","version":"11.2.3-build-renovate-major-node-addon-api-09c0a5332763d65bb73a6d40de4118454ab8cf66-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^8.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-03-08T11:46:24.507Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.3-build-renovate-major-node-addon-api-09c0a5332763d65bb73a6d40de4118454ab8cf66-1","_integrity":"sha512-fYRtz9lwOub7B3kJ229O+ULx6ERftm9LMTk3a3FPQv9ezKUXSbyDtBmCbelK9WrNYV8liK1GmTBOAv+A9EpSNw==","_resolved":"/home/runner/work/_temp/drivelist-11.2.3.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.3.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-fYRtz9lwOub7B3kJ229O+ULx6ERftm9LMTk3a3FPQv9ezKUXSbyDtBmCbelK9WrNYV8liK1GmTBOAv+A9EpSNw==","shasum":"315fd6c08734b2bd7bafa3aeab7797b7d684f5c8","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.3-build-renovate-major-node-addon-api-09c0a5332763d65bb73a6d40de4118454ab8cf66-1.tgz","fileCount":41,"unpackedSize":129108,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICtjbsD8CU4Jg6d3MFndzm2YZeeNxNKn2U+QTj0UqTGFAiA1MvLxQoXBVpfcwL0rEt6Oy76BENPB4AZkqrQsAKUgrg=="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.3-build-renovate-major-node-addon-api-09c0a5332763d65bb73a6d40de4118454ab8cf66-1_1709898575902_0.34029361120618806"},"_hasShrinkwrap":false},"11.2.3-build-renovate-major--balenalint-8edd5465a12e8944bd015181c9d79cb7188a7565-1":{"name":"drivelist","version":"11.2.3-build-renovate-major--balenalint-8edd5465a12e8944bd015181c9d79cb7188a7565-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=16"},"devDependencies":{"@balena/lint":"^8.0.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^5.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-03-16T16:45:44.922Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@11.2.3-build-renovate-major--balenalint-8edd5465a12e8944bd015181c9d79cb7188a7565-1","_integrity":"sha512-odmvWb0y2dwnP3q9bB26+ll0udnkgB2GYT8MVZuZqdcs3lcrdFPsHzCQWCFv34uCzpSU87ULfpLgYNRbbHSiRA==","_resolved":"/home/runner/work/_temp/drivelist-11.2.3.tgz","_from":"file:/home/runner/work/_temp/drivelist-11.2.3.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-odmvWb0y2dwnP3q9bB26+ll0udnkgB2GYT8MVZuZqdcs3lcrdFPsHzCQWCFv34uCzpSU87ULfpLgYNRbbHSiRA==","shasum":"61b9c505fc349db0720413b5ad432fb993e8ad3b","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-11.2.3-build-renovate-major--balenalint-8edd5465a12e8944bd015181c9d79cb7188a7565-1.tgz","fileCount":41,"unpackedSize":129103,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEBZwAK+1H1YW2m7+WVqlVZRjUQltZQTuOG8ToulmrjUAiEAveAZNq6/9XhjeLLlAmsHLt+QlPsn+Rl44EALTgkT+xg="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_11.2.3-build-renovate-major--balenalint-8edd5465a12e8944bd015181c9d79cb7188a7565-1_1710607767586_0.6142742396788448"},"_hasShrinkwrap":false},"12.0.0-build-renovate-major-node-addon-api-d02c8e3006f9c4ec4763cac8cff553b3634080f7-1":{"name":"drivelist","version":"12.0.0-build-renovate-major-node-addon-api-d02c8e3006f9c4ec4763cac8cff553b3634080f7-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=18"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^8.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-04-08T12:08:33.362Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.0-build-renovate-major-node-addon-api-d02c8e3006f9c4ec4763cac8cff553b3634080f7-1","_integrity":"sha512-ikV/KeExqWUNWIut7E1qLCa2HblY7HmsElI7s279JMPSX+1btUpxMdcoVcaJtDInvGL7OY8l90p19DrbxxThcQ==","_resolved":"/home/runner/work/_temp/drivelist-12.0.0.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.0.tgz","_nodeVersion":"18.20.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-ikV/KeExqWUNWIut7E1qLCa2HblY7HmsElI7s279JMPSX+1btUpxMdcoVcaJtDInvGL7OY8l90p19DrbxxThcQ==","shasum":"f87fbd531e0701bed04a87e8302aa7571aa6c709","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.0-build-renovate-major-node-addon-api-d02c8e3006f9c4ec4763cac8cff553b3634080f7-1.tgz","fileCount":41,"unpackedSize":129158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDo003WT1a1bBuI8PFpFnxinnEesjrSL0biJt9ngmEN1AiEAvSSbikRYr9p9LiCSt3XZmmMYl59yLlF8Kg792p10LHA="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.0-build-renovate-major-node-addon-api-d02c8e3006f9c4ec4763cac8cff553b3634080f7-1_1712578339610_0.2840255164885108"},"_hasShrinkwrap":false},"12.0.0":{"name":"drivelist","version":"12.0.0","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=18"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^8.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-04-08T12:08:33.362Z"},"types":"./js/index.d.ts","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.0","_integrity":"sha512-q7xxblgIlaQlYc2WwBqcCLXKW5XWIXSVpFCXGLABXUfDfUbmx/eg/7si+k15R3NFIFPVQbluIqZvKTXeQ50lKg==","_resolved":"/home/runner/work/_temp/drivelist-12.0.0.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.0.tgz","_nodeVersion":"18.20.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-q7xxblgIlaQlYc2WwBqcCLXKW5XWIXSVpFCXGLABXUfDfUbmx/eg/7si+k15R3NFIFPVQbluIqZvKTXeQ50lKg==","shasum":"69b7ea0304f0740dfc3d850121c681c1c041bc05","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.0.tgz","fileCount":32,"unpackedSize":129079,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcMrLKj3hYmAOvcYOiuzZFiM4miTr7b7Bo4OY1hC3hhAIgVD6Pk5EsfDDYL2vc3F4o1kDFsMOEfQvb13OTS0fI8gE="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.0_1712585091621_0.28539542426568776"},"_hasShrinkwrap":false},"12.0.1-build-renovate-major--balenalint-157ade42859104a659c3d1b4702e3059dea7c4d4-1":{"name":"drivelist","version":"12.0.1-build-renovate-major--balenalint-157ade42859104a659c3d1b4702e3059dea7c4d4-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=18"},"devDependencies":{"@balena/lint":"^8.0.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^8.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-04-08T14:45:19.183Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.1-build-renovate-major--balenalint-157ade42859104a659c3d1b4702e3059dea7c4d4-1","_integrity":"sha512-7wQCqEUsBenNKIJCY8dZfT8gtj1fpsVh/NlWAejiqu8WkVDZnrABYLMfqegrXNw9ZE8HsfVjs1plHTfn5dSXaQ==","_resolved":"/home/runner/work/_temp/drivelist-12.0.1.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.1.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-7wQCqEUsBenNKIJCY8dZfT8gtj1fpsVh/NlWAejiqu8WkVDZnrABYLMfqegrXNw9ZE8HsfVjs1plHTfn5dSXaQ==","shasum":"c3a6428e1d314b0d32898ff6e05c648368ac17ec","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.1-build-renovate-major--balenalint-157ade42859104a659c3d1b4702e3059dea7c4d4-1.tgz","fileCount":41,"unpackedSize":129249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0Bq5HHcVQ5mhPJnCddy9ikCIwes5ObeevuDvLQce2XgIgNZxIk/dgOA3NPyuki4GrlTXhW0BfsVp7AjchNqzcXc4="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.1-build-renovate-major--balenalint-157ade42859104a659c3d1b4702e3059dea7c4d4-1_1712587673044_0.9199255105813025"},"_hasShrinkwrap":false},"12.0.1-build-renovate-pin-dependencies-296474af7d34af109becadde0c1c3f9d9e9db475-1":{"name":"drivelist","version":"12.0.1-build-renovate-pin-dependencies-296474af7d34af109becadde0c1c3f9d9e9db475-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=18"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^8.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-04-08T14:45:03.998Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.1-build-renovate-pin-dependencies-296474af7d34af109becadde0c1c3f9d9e9db475-1","_integrity":"sha512-nRrKmLEuy0qhFfrlJdWr+3Fl2X/+bS6pfAA07yw3miRQUUFXcUgUQVhi0FmuRhfe0sc5E3V9gWoHzIg5gbncvw==","_resolved":"/home/runner/work/_temp/drivelist-12.0.1.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.1.tgz","_nodeVersion":"18.20.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-nRrKmLEuy0qhFfrlJdWr+3Fl2X/+bS6pfAA07yw3miRQUUFXcUgUQVhi0FmuRhfe0sc5E3V9gWoHzIg5gbncvw==","shasum":"348cd0fc6a3dac8bccbc718fff3f1390ba0050e8","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.1-build-renovate-pin-dependencies-296474af7d34af109becadde0c1c3f9d9e9db475-1.tgz","fileCount":41,"unpackedSize":129252,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbQ5SZ8zHHanSUL+0IVUN23MeV1JBajTfMTGJcXxaJeAIgV5YgN6lle+H69kdQRPnzIuZud8lmzgxgxrg/7OuU404="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.1-build-renovate-pin-dependencies-296474af7d34af109becadde0c1c3f9d9e9db475-1_1712587682291_0.9083568072390933"},"_hasShrinkwrap":false},"12.0.1":{"name":"drivelist","version":"12.0.1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=18"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^8.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-04-08T14:45:03.998Z"},"types":"./js/index.d.ts","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.1","_integrity":"sha512-eG/TR4Qb5bl7+LbroPxsiLNaY9c2C7wZzQTrUExNkkNZtP0omXE3wl0MmdAyHGCBdoWM9FNrpDb5aNzHFubp3w==","_resolved":"/home/runner/work/_temp/drivelist-12.0.1.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.1.tgz","_nodeVersion":"18.20.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-eG/TR4Qb5bl7+LbroPxsiLNaY9c2C7wZzQTrUExNkkNZtP0omXE3wl0MmdAyHGCBdoWM9FNrpDb5aNzHFubp3w==","shasum":"feadb91a27dd51dc094244165d7774d04ade12c5","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.1.tgz","fileCount":32,"unpackedSize":129177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF37lWC7/TiCB75yaxS9NrYp9foCBfa1jY9+hzrglpQuAiBlTI7MK/yqTpDW9zmJ2LVI5g+RMYAxwDHwXTZXjKH/Mg=="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.1_1712587826749_0.6076260756439598"},"_hasShrinkwrap":false},"12.0.2-build-renovate-actions-setup-python-digest-8d277f7e43295d5b6b55ce7893c5f3ebc103cc9a-1":{"name":"drivelist","version":"12.0.2-build-renovate-actions-setup-python-digest-8d277f7e43295d5b6b55ce7893c5f3ebc103cc9a-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=18"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^8.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-04-08T15:45:36.490Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.2-build-renovate-actions-setup-python-digest-8d277f7e43295d5b6b55ce7893c5f3ebc103cc9a-1","_integrity":"sha512-JIDQyWL5EL9SLy7Vy58it2MCbysZcS9un0MWVys4HPksuT73M4DD0BJXOvtPCmdVGCCyTGJwyzGXbqnK3Fw6Yw==","_resolved":"/home/runner/work/_temp/drivelist-12.0.2.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.2.tgz","_nodeVersion":"18.20.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-JIDQyWL5EL9SLy7Vy58it2MCbysZcS9un0MWVys4HPksuT73M4DD0BJXOvtPCmdVGCCyTGJwyzGXbqnK3Fw6Yw==","shasum":"07773817cabbe4738827655ddce515f44d07d3cf","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.2-build-renovate-actions-setup-python-digest-8d277f7e43295d5b6b55ce7893c5f3ebc103cc9a-1.tgz","fileCount":41,"unpackedSize":129366,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIERi6jEC4TcSYjLRZyC6ZR6DD7dRKbSyeZGsGm4aMXuxAiBTSsUmN4gvEmr3SWAiZAC9qDdIkuiDxoP6IKJMyN9Cjw=="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.2-build-renovate-actions-setup-python-digest-8d277f7e43295d5b6b55ce7893c5f3ebc103cc9a-1_1712591320820_0.35084351600844577"},"_hasShrinkwrap":false},"12.0.2-build-renovate-major--balenalint-9798eece8c1491c1e49ad4839a70db29d17bdb5f-1":{"name":"drivelist","version":"12.0.2-build-renovate-major--balenalint-9798eece8c1491c1e49ad4839a70db29d17bdb5f-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=18"},"devDependencies":{"@balena/lint":"^8.0.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^8.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-04-08T15:46:03.090Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.2-build-renovate-major--balenalint-9798eece8c1491c1e49ad4839a70db29d17bdb5f-1","_integrity":"sha512-NV2BLcmk5RR2xliwpDFiMylt4OHFNt2y98YAafGGKVWQb1N1uupFA7TPvx78leSGomVe4GpdU7JdwgL8JKddeA==","_resolved":"/home/runner/work/_temp/drivelist-12.0.2.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.2.tgz","_nodeVersion":"18.20.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-NV2BLcmk5RR2xliwpDFiMylt4OHFNt2y98YAafGGKVWQb1N1uupFA7TPvx78leSGomVe4GpdU7JdwgL8JKddeA==","shasum":"5b0aa84fe30ab99bd8e0a0c95daa22f0baf9a3f6","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.2-build-renovate-major--balenalint-9798eece8c1491c1e49ad4839a70db29d17bdb5f-1.tgz","fileCount":41,"unpackedSize":129347,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDceCgy3a+OuvReVYRn2M/QrssE1hiyeseKCdU9aSD1/gIgD3HS469dqKpeHGvgSApvYvEgP87vpXMGQausF3qxq/U="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.2-build-renovate-major--balenalint-9798eece8c1491c1e49ad4839a70db29d17bdb5f-1_1712591328025_0.09747837414575722"},"_hasShrinkwrap":false},"12.0.2":{"name":"drivelist","version":"12.0.2","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=18"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^8.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-04-08T15:45:36.490Z"},"types":"./js/index.d.ts","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.2","_integrity":"sha512-Nps4pc1ukIqDj7v00wGgBkS7P3VVEZZKcaTPVcE1Yl+dLojXuEv76BuSg6HgmhjeOFIIMz8q7Y+2tux6gYqCvg==","_resolved":"/home/runner/work/_temp/drivelist-12.0.2.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.2.tgz","_nodeVersion":"18.20.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-Nps4pc1ukIqDj7v00wGgBkS7P3VVEZZKcaTPVcE1Yl+dLojXuEv76BuSg6HgmhjeOFIIMz8q7Y+2tux6gYqCvg==","shasum":"2821250ccc0ee3161cc86b72724ee64bca72aa29","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.2.tgz","fileCount":32,"unpackedSize":129280,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTBs2AqFoIYu7w/8Vy29Duzp5JhRz4OLny0o67CSu8OAiEA1BOQOEQw9Jvljgrus5SjcliFk0fkNc6pWIdEJ6AIFzU="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.2_1712591475000_0.053289383262485224"},"_hasShrinkwrap":false},"12.0.3-build-renovate-major--balenalint-272d13705811675c22066ab9275004dfc5f47e88-1":{"name":"drivelist","version":"12.0.3-build-renovate-major--balenalint-272d13705811675c22066ab9275004dfc5f47e88-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=18"},"devDependencies":{"@balena/lint":"^8.0.0","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^8.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-04-08T16:46:31.400Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.3-build-renovate-major--balenalint-272d13705811675c22066ab9275004dfc5f47e88-1","_integrity":"sha512-TMJMUhIUuQpfzi7dZIwdZAJX0uBlj/AkXKhSpRn5ChdceAT2m1tFuRX1hds3ud7hnUG9bvaX4XSn8UyuSYpwTw==","_resolved":"/home/runner/work/_temp/drivelist-12.0.3.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.3.tgz","_nodeVersion":"18.20.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-TMJMUhIUuQpfzi7dZIwdZAJX0uBlj/AkXKhSpRn5ChdceAT2m1tFuRX1hds3ud7hnUG9bvaX4XSn8UyuSYpwTw==","shasum":"a7876a36357b0c1f303397976ed5835dbd80d363","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.3-build-renovate-major--balenalint-272d13705811675c22066ab9275004dfc5f47e88-1.tgz","fileCount":41,"unpackedSize":129450,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/WFNKbGu0o+1uIZ4K0I1IxDupaCKwNk9fXG4lSZWGugIhAKHCEvHLbiMH6yjNteWMQfAbJwT6SF3g22iys/k/FgFi"}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.3-build-renovate-major--balenalint-272d13705811675c22066ab9275004dfc5f47e88-1_1712594984930_0.9979917689028912"},"_hasShrinkwrap":false},"12.0.3-build-renovate-actions-setup-node-4-x-3f158fca98eb5062a4a090c59cd997ffb3778d0b-1":{"name":"drivelist","version":"12.0.3-build-renovate-actions-setup-node-4-x-3f158fca98eb5062a4a090c59cd997ffb3778d0b-1","description":"List all connected drives in your computer, in all major operating systems","main":"js/index.js","homepage":"https://github.com/balena-io-modules/drivelist","gypfile":true,"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"keywords":["disk","cross","platform","physical","drive","list"],"directories":{"test":"tests"},"scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts -R spec","lint":"npm run lint-cpp && npm run lint-ts","lint-cpp":"cpplint --recursive src","lint-ts":"balena-lint --typescript lib tests","prettier":"balena-lint --typescript --fix lib tests","readme":"jsdoc2md --template doc/README.hbs js/index.js > README.md","build":"node-gyp rebuild && tsc","build-ts":"tsc","prepublishOnly":"npm run build-ts && npm run readme","install":"prebuild-install --runtime napi || node-gyp rebuild","rebuild":"node-gyp rebuild"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"license":"Apache-2.0","engines":{"node":">=18"},"devDependencies":{"@balena/lint":"^6.2.1","@types/bindings":"^1.5.1","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","@types/sinon":"^10.0.13","chai":"^4.3.7","eslint":"^8.31.0","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","node-gyp":"^10.0.1","prebuild":"^11.0.4","sinon":"^15.0.1","ts-node":"^10.9.1","typescript":"^4.9.4"},"dependencies":{"bindings":"^1.5.0","debug":"^4.3.4","node-addon-api":"^8.0.0","prebuild-install":"^7.1.1"},"binary":{"napi_versions":[8]},"versionist":{"publishedAt":"2024-04-08T16:46:22.319Z"},"types":"./js/index.d.ts","readme":"<!-- Make sure you edit doc/README.hbs rather than README.md because the latter is auto-generated -->\n\ndrivelist\n=========\n\n> List all connected drives in your computer, in all major operating systems.\n\n[![Current Release](https://img.shields.io/npm/v/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![License](https://img.shields.io/npm/l/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Downloads](https://img.shields.io/npm/dm/drivelist.svg?style=flat-square)](https://npmjs.com/package/drivelist)\n[![Travis CI status](https://img.shields.io/travis/balena-io-modules/drivelist/master.svg?style=flat-square&label=linux)](https://travis-ci.org/balena-io-modules/drivelist/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/balena-io/drivelist/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/balena-io/drivelist/branch/master)\n[![Dependency status](https://img.shields.io/david/balena-io-modules/drivelist.svg?style=flat-square)](https://david-dm.org/balena-io-modules/drivelist)\n\nNotice that this module **does not require** admin privileges to get the drives in any supported operating system.\n\nSupports:\n\n- Windows.\n- GNU/Linux distributions that include [util-linux](https://github.com/karelzak/util-linux) and [udev](https://wiki.archlinux.org/index.php/udev).\n- Mac OS X.\n\nWhen the user executes `drivelist.list()`, the module checks the operating\nsystem of the client and executes the corresponding drive scanning script.\n\nExamples (the output will vary depending on your machine):\n\n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\nconsole.log(drives);\n```\n\n***\n\nMac OS X:\n\n```sh\n[\n  {\n    device: '/dev/disk0',\n    displayName: '/dev/disk0',\n    description: 'GUID_partition_scheme',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/disk1',\n    displayName: '/dev/disk1',\n    description: 'Apple_HFS Macintosh HD',\n    size: 68719476736,\n    mountpoints: [],\n    raw: '/dev/rdisk0',\n    protected: false,\n    system: true\n  }\n]\n```\n\n***\n\nGNU/Linux\n\n```sh\n[\n  {\n    device: '/dev/sda',\n    displayName: '/dev/sda',\n    description: 'WDC WD10JPVX-75J',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: '/'\n      }\n    ],\n    raw: '/dev/sda',\n    protected: false,\n    system: true\n  },\n  {\n    device: '/dev/sdb',\n    displayName: '/dev/sdb',\n    description: 'DataTraveler 2.0',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: '/media/UNTITLED'\n      }\n    ],\n    raw: '/dev/sdb',\n    protected: true,\n    system: false\n  }\n]\n```\n\n***\n\nWindows\n\n```sh\n[\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    displayName: 'C:',\n    description: 'WDC WD10JPVX-75JC3T0',\n    size: 68719476736,\n    mountpoints: [\n      {\n        path: 'C:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE0',\n    protected: false,\n    system: true\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    displayName: 'D:, F:',\n    description: 'Generic STORAGE DEVICE USB Device',\n    size: 7823458304,\n    mountpoints: [\n      {\n        path: 'D:'\n      },\n      {\n        path: 'F:'\n      }\n    ],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE1',\n    protected: true,\n    system: false\n  },\n  {\n    device: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    displayName: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    description: 'Silicon-Power2G',\n    size: 2014314496,\n    mountpoints: [],\n    raw: '\\\\\\\\.\\\\PHYSICALDRIVE2',\n    protected: false,\n    system: false\n  }\n]\n```\n\nInstallation\n------------\n\nInstall `drivelist` by running:\n\n```sh\n$ npm install --save drivelist\n```\n\nDocumentation\n-------------\n\n<a name=\"module_drivelist..list\"></a>\n\n### drivelist~list()\n**Kind**: inner method of [<code>drivelist</code>](#module_drivelist)  \n**Summary**: List available drives  \n**Example**  \n```js\nconst drivelist = require('drivelist');\n\nconst drives = await drivelist.list();\ndrives.forEach((drive) => {\n  console.log(drive);\n});\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\nWe're looking forward to support more operating systems. Please raise an issue or even better, send a PR to increase support!\n\n- Issue Tracker: [github.com/balena-io-modules/drivelist/issues](https://github.com/balena-io-modules/drivelist/issues)\n- Source Code: [github.com/balena-io-modules/drivelist](https://github.com/balena-io-modules/drivelist)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/balena-io-modules/drivelist/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n\n[yaml]: http://yaml.org\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"_id":"drivelist@12.0.3-build-renovate-actions-setup-node-4-x-3f158fca98eb5062a4a090c59cd997ffb3778d0b-1","_integrity":"sha512-shnoX62HSxyjY9XyjwvgLiE0aaT3IqVNE0bIoonNJXMhOmxzpzIITLps6hs7IeY0mLxPqOmiDp8wCz0sCXFPAA==","_resolved":"/home/runner/work/_temp/drivelist-12.0.3.tgz","_from":"file:/home/runner/work/_temp/drivelist-12.0.3.tgz","_nodeVersion":"18.20.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-shnoX62HSxyjY9XyjwvgLiE0aaT3IqVNE0bIoonNJXMhOmxzpzIITLps6hs7IeY0mLxPqOmiDp8wCz0sCXFPAA==","shasum":"ffbba7ef5f8a412c7e6d283e65342f7eefe26f67","tarball":"https://registry.npmjs.org/drivelist/-/drivelist-12.0.3-build-renovate-actions-setup-node-4-x-3f158fca98eb5062a4a090c59cd997ffb3778d0b-1.tgz","fileCount":41,"unpackedSize":129457,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBlg4MVuNfJx7QDF7ekMtivQ6ypKOdCCr2wTMfsZbS5HAiEA89z21bbeuaYSWhpu/OvE32hlMm4Z0bB/H0i30UtVxRM="}]},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drivelist_12.0.3-build-renovate-actions-setup-node-4-x-3f158fca98eb5062a4a090c59cd997ffb3778d0b-1_1712595101972_0.6057831814725669"},"_hasShrinkwrap":false}},"readme":"","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"time":{"modified":"2024-04-08T16:51:44.326Z","created":"2015-01-30T15:32:11.464Z","1.0.0":"2015-01-30T15:32:11.464Z","1.1.0":"2015-01-30T15:50:22.141Z","1.1.1":"2015-02-06T12:39:50.884Z","1.1.2":"2015-02-09T18:27:15.288Z","1.2.0":"2015-02-25T14:56:08.454Z","1.2.1":"2015-03-03T16:01:41.755Z","1.2.2":"2015-06-01T12:33:52.010Z","1.3.0":"2015-08-17T14:48:51.034Z","1.3.1":"2015-10-06T22:46:03.793Z","1.3.2":"2015-10-08T11:59:25.734Z","2.0.0":"2015-10-22T18:48:37.155Z","2.0.1":"2015-10-27T17:40:33.042Z","2.0.2":"2015-11-09T11:53:05.691Z","2.0.3":"2015-11-20T16:44:09.066Z","2.0.4":"2015-11-30T01:53:33.310Z","2.0.5":"2016-01-01T17:42:39.236Z","2.0.6":"2016-01-01T18:59:44.124Z","2.0.7":"2016-01-04T04:43:06.060Z","2.0.8":"2016-03-10T13:56:54.119Z","2.0.9":"2016-03-24T17:35:57.609Z","2.0.10":"2016-03-25T15:52:07.029Z","2.0.11":"2016-03-30T20:09:49.258Z","2.0.12":"2016-04-05T14:48:57.929Z","2.0.13":"2016-04-08T18:40:20.728Z","2.0.14":"2016-04-12T16:59:44.582Z","3.0.0":"2016-04-22T19:14:19.018Z","3.1.0":"2016-04-26T18:46:18.332Z","3.1.1":"2016-05-25T17:13:52.399Z","3.1.2":"2016-06-06T16:40:35.767Z","3.2.0":"2016-06-08T19:04:52.961Z","3.2.1":"2016-07-14T15:06:33.629Z","3.2.2":"2016-07-18T02:06:56.797Z","3.2.3":"2016-07-26T12:38:27.572Z","3.2.4":"2016-07-27T00:49:00.725Z","3.2.5":"2016-08-01T01:10:04.770Z","3.2.6":"2016-08-02T02:34:58.849Z","3.3.0":"2016-08-22T15:57:25.316Z","3.3.1":"2016-08-24T19:40:04.845Z","3.3.2":"2016-08-26T18:05:21.413Z","3.3.3":"2016-09-02T15:54:41.494Z","3.3.4":"2016-09-21T22:05:36.202Z","4.0.0":"2016-10-31T04:30:12.950Z","5.0.0":"2016-11-09T20:14:44.303Z","5.0.1":"2016-11-14T09:20:42.816Z","5.0.2":"2016-11-16T13:01:01.335Z","5.0.3":"2016-11-16T13:16:13.404Z","5.0.4":"2016-11-24T22:11:41.354Z","5.0.5":"2017-01-06T15:38:42.585Z","5.0.6":"2017-01-12T15:58:10.501Z","5.0.7":"2017-01-26T16:19:54.174Z","5.0.8":"2017-01-27T21:54:19.667Z","5.0.9":"2017-01-31T14:45:33.924Z","5.0.10":"2017-02-14T14:39:08.899Z","5.0.11":"2017-02-19T23:58:00.935Z","5.0.12":"2017-02-21T20:29:12.474Z","5.0.13":"2017-02-21T20:50:45.828Z","5.0.14":"2017-02-23T18:59:21.069Z","5.0.15":"2017-03-06T15:47:55.731Z","5.0.16":"2017-03-06T19:16:22.783Z","5.0.17":"2017-03-15T14:40:09.820Z","5.0.18":"2017-03-21T15:18:51.018Z","5.0.19":"2017-04-19T18:23:45.570Z","5.0.20":"2017-05-10T18:24:49.444Z","5.0.21":"2017-05-26T00:36:56.399Z","5.0.22":"2017-06-08T14:24:35.787Z","5.0.25":"2017-07-11T21:28:30.624Z","5.0.26":"2017-07-18T19:57:09.333Z","5.0.27":"2017-07-19T14:03:52.954Z","5.1.0":"2017-07-31T20:59:32.465Z","5.0.28":"2017-07-31T20:59:49.142Z","5.1.1":"2017-08-01T18:23:39.489Z","5.1.2":"2017-08-01T21:17:14.501Z","5.1.3":"2017-08-01T22:16:55.158Z","5.1.4":"2017-08-07T02:54:22.409Z","5.1.5":"2017-08-14T16:52:23.585Z","5.1.6":"2017-08-28T15:52:00.506Z","5.1.7":"2017-08-28T21:12:25.411Z","5.1.8":"2017-08-28T23:21:27.232Z","5.2.0":"2017-10-06T09:56:29.907Z","5.2.1":"2017-10-06T09:56:40.683Z","5.2.2":"2017-10-06T09:56:49.309Z","5.2.3":"2017-10-06T09:58:50.157Z","5.2.4":"2017-10-06T17:00:55.132Z","5.2.5":"2017-10-16T14:44:24.487Z","5.2.6":"2017-10-16T14:45:06.266Z","5.2.7":"2017-11-06T18:33:29.901Z","5.2.8":"2018-01-03T14:32:18.643Z","5.2.9":"2018-01-03T14:33:08.627Z","5.2.10":"2018-01-03T14:33:36.836Z","5.2.11":"2018-01-03T14:34:00.685Z","5.2.12":"2018-01-03T14:34:46.091Z","6.0.0":"2018-01-05T02:07:20.023Z","6.0.1":"2018-01-12T14:15:12.317Z","6.0.2":"2018-01-14T11:44:26.683Z","6.0.3":"2018-01-18T17:05:45.000Z","6.0.4":"2018-01-18T18:43:27.853Z","6.0.5":"2018-03-13T14:29:10.791Z","6.1.0":"2018-03-13T14:29:52.409Z","6.1.1":"2018-03-13T20:05:55.639Z","6.1.2":"2018-03-16T11:39:40.044Z","6.1.3":"2018-03-20T13:56:59.477Z","6.1.4":"2018-04-04T12:13:33.822Z","6.1.5":"2018-04-05T19:22:41.641Z","6.1.6":"2018-04-13T15:30:38.273Z","6.1.7":"2018-04-16T22:21:35.245Z","6.1.8":"2018-04-30T13:27:15.635Z","6.2.0":"2018-05-10T10:42:22.243Z","6.2.1":"2018-05-10T10:43:35.889Z","6.2.2":"2018-05-10T10:48:09.560Z","6.2.3":"2018-07-06T14:35:20.024Z","6.2.4":"2018-07-06T14:35:35.965Z","6.2.5":"2018-07-06T15:05:43.191Z","6.3.0":"2018-07-09T15:27:23.893Z","6.3.1":"2018-08-02T20:19:51.470Z","6.3.2":"2018-08-02T20:21:55.187Z","6.4.0":"2018-08-02T20:22:50.247Z","6.4.1-fix-device-paths-0457bd8":"2018-08-27T17:16:11.040Z","6.4.1":"2018-08-28T15:33:03.621Z","6.4.2-support-lsblk-hotplug-14a8931875fc5cebec232c05ed1a1a59b361ed9c":"2018-08-31T15:16:47.570Z","6.4.2-resinci-fec5d1bd11fd4f71d352230b44d5382158199731":"2018-09-03T13:03:16.763Z","6.4.2":"2018-09-03T18:39:15.503Z","6.4.3-fix-lsblk-pairs-81a08b5cb076c2bf415acf0fa1a9b57f902c0517":"2018-09-07T15:05:11.045Z","6.4.3-fix-lsblk-pairs-e35ce5dbeff4e63960c2b919a639c3010010c8fe":"2018-09-07T15:29:29.130Z","6.4.3-fix-lsblk-pairs-f6c0ce71ae47847a2ab253751e59ec46e42bc9e5":"2018-09-10T15:18:33.338Z","6.4.3":"2018-09-10T16:46:18.774Z","6.4.4-fix-build-on-xcode-10.1-2aa07699347d811be9525fa8b30d1f2bdaf7db2d":"2019-01-10T15:06:23.450Z","6.4.4":"2019-01-10T15:32:43.715Z","6.4.5-fix-lsblk-pairs-875fa709e08e5f0dce35ff133b4ac6414f565671":"2019-01-10T16:17:33.526Z","6.4.5-fix-lsblk-pairs-cc5518a46399f731ea449b83639a0216e73fc547":"2019-01-10T17:06:11.443Z","6.4.5-fix-tests-a6f418cac51a839843a80291a44c6658a93b3266":"2019-01-10T18:09:12.675Z","6.4.5":"2019-01-10T18:15:12.698Z","6.4.5-fix-lsblk-pairs-e73bcef4e07189f994c0f5af27f78bb3d5a7d5a4":"2019-01-10T18:23:39.921Z","6.4.6-fix-lsblk-pairs-a4fea20256d82fac52272270c899fab8c04a9d9c":"2019-01-10T18:29:58.511Z","6.4.6":"2019-01-14T08:26:38.320Z","7.0.0-mac-native-bindings-3f050852c2847957b2003f79cd73694d162c44fc":"2019-01-28T17:21:22.191Z","7.0.0":"2019-01-28T17:53:59.374Z","7.0.1-remove-diskutil-94ded4e477b848a1e9be4aa2d6102953e55a5320":"2019-01-28T18:18:41.102Z","7.0.1":"2019-01-28T22:46:43.340Z","7.0.2-sanitize-lsblk-json-dd917155e752ebbb0d933cac1c216197cfdfa536":"2019-01-31T15:37:30.051Z","7.0.2-sanitize-lsblk-json-9a9e8b443185f8717f8638c13c6177540fe9cd83":"2019-01-31T15:46:58.102Z","7.0.2-sanitize-lsblk-json-796f55cf8eaec892e339251673fe17895ea1feda":"2019-01-31T16:21:12.348Z","7.0.2-sanitize-lsblk-json-38423878f6eb8a25d05f0af1565686c21a92b776":"2019-01-31T16:25:44.559Z","8.0.0-sanitize-lsblk-json-d2f5e6a62e93b246d73f15b718b11c81a6197bc4":"2019-01-31T17:00:35.808Z","7.0.2-fallback-lsblk-pairs-aee037821f108d2d6c13e340af26f84920e199c6":"2019-01-31T17:07:12.378Z","7.0.2-fallback-lsblk-pairs-0b521e9bd8aeba32daf938218c1708c6cee688a2":"2019-01-31T17:13:15.635Z","7.0.2-fallback-lsblk-pairs-2cf22290df92d09f88e1bdb39f84e6e34afa9e74":"2019-01-31T21:09:12.000Z","7.0.2-update-prebuild-aeb8e03759654f8043d75bbb86af17820acd8afd":"2019-02-20T15:20:18.727Z","7.0.2":"2019-02-20T15:39:47.952Z","7.0.3-fix-lsblk-pairs-type-disk-6138276aa371b3747f8da55673ff784607ab46d3":"2019-02-20T15:47:28.065Z","7.0.3":"2019-02-20T15:54:07.364Z","8.0.0-typescript-fe5d409935ae1e66fccba782d3934a3460e1a22d":"2019-02-21T15:58:59.805Z","8.0.0-typescript-e34ae878642f0d5fb0541fc18eefdf68f40b683d":"2019-02-21T16:24:38.343Z","8.0.0-typescript-621b78febb8ca6b2c4ff8c11a7a1cccc6d7fd0e2":"2019-02-21T19:29:15.443Z","8.0.0-typescript-d4ba255b6040019244522264bd3dbc68c78441a2":"2019-02-22T15:25:14.621Z","8.0.0-typescript-ba842c9d2deb05d25bb1ccd6dbc574362fc57181":"2019-02-22T15:44:16.272Z","8.0.0":"2019-02-25T18:25:27.338Z","8.0.1-fix-readme-example-a68019f93b6ea1ee42e2af39dc1d8aa890bea95a":"2019-02-25T18:32:00.197Z","8.0.1-fix-macos-crash-7d895b5ace28ed57f495a12b551732916f73b60b":"2019-02-27T11:20:39.392Z","8.0.1":"2019-02-27T12:52:03.073Z","8.0.2-fix-is-virtual-macos-b334fa235ae3fca34ad5c5c939107e33854769d6":"2019-03-04T14:09:06.098Z","8.0.2-fix-is-virtual-macos-dad391423188a148f61daa16eb0a5986f6a3beb2":"2019-03-04T14:37:24.334Z","8.0.2":"2019-03-04T14:44:29.818Z","8.0.3-fix-types-d04ffa45fb645228d4deffdd1391b3166ae3a5d9":"2019-03-08T13:02:28.499Z","8.0.3-fix-macos-leak-929fd6110d1f3eb9bf7bdcc3d27b6fd02f5c6a93":"2019-03-18T10:49:49.550Z","8.0.3-fix-macos-leak-8c37f44abf5b7d0ec498bca29c29171c5b0a13d9":"2019-03-18T11:00:56.011Z","8.0.3-fix-macos-leak-e75f47a9556b84724fb8740aca19386333db1c5f":"2019-03-18T11:05:04.913Z","8.0.3":"2019-03-18T11:10:52.293Z","8.0.4-fix-mac-os-crash-1d10303df62218040faa8cec91b3290e066f35d8":"2019-03-19T09:57:31.413Z","8.0.4":"2019-03-19T12:33:16.848Z","8.0.5-resin-lint-3-16958ef29ca4de357fe209e5c69b24f18ef5489b":"2019-03-20T15:37:55.361Z","8.0.5":"2019-03-20T15:42:35.445Z","8.0.6-fix-readme-example-a13aff57f7bc1d65928c61b5e6dfc3c3899ce122":"2019-03-20T15:55:10.166Z","8.0.6":"2019-03-20T16:02:41.889Z","8.0.7-update-nan-3ab03cd71ea362307e3301c9b2f530cb7d630b45":"2019-09-20T16:37:57.976Z","8.0.7":"2019-09-20T18:03:39.764Z","8.0.8-fix-typo-8271ed178ceb18bbe3ea688e18f1a8c90cc91630":"2019-10-08T22:45:44.230Z","8.0.8-avoid-mac-segfault-ea34cd2692dd3ec366dd4afd29d69610ee0c0743":"2019-11-06T15:01:34.527Z","8.0.8":"2019-11-06T15:11:46.624Z","8.0.9-avoid-mac-segfault-0ba4b4de8ffe099ead4ac68f42ad4cca062d4ca9":"2019-11-06T15:18:23.449Z","8.0.9-avoid-mac-segfault-98163381248875c2b94ed7fcc25faf713fc0f55d":"2019-11-06T15:39:48.426Z","8.0.9":"2019-11-06T15:56:06.852Z","8.0.10-fix-lsblk-pairs-escape-0aebd2bfa340cf759633e4ac8651a7a2356ab7d6":"2020-02-18T15:00:58.647Z","8.0.10":"2020-02-18T16:45:52.047Z","9.0.0-remove-mz-6adcadcbe062f96fcc125b0308aadaf9035f0ff9":"2020-05-27T10:46:47.176Z","9.0.0-remove-mz-2351ae1f877adde5aa159c70cf6410564538e68e":"2020-05-27T10:51:56.895Z","9.0.0-remove-mz-b5a22509a3c1a37c61b9a8883795607a255cd978":"2020-05-27T10:57:26.764Z","9.0.0":"2020-05-27T11:11:34.843Z","9.0.1-rename-resin-balena-9a59718168fd6201aaec8a488d4d5237fe4c2dfb":"2020-05-29T09:44:35.992Z","9.0.1":"2020-05-29T10:00:48.801Z","9.0.2-remove-gitter-link-56c6fc9837f5605f7bcb3740a32683a990c1e8bb":"2020-05-29T12:02:21.028Z","9.0.2":"2020-05-29T13:46:31.360Z","9.1.0-apfs-is-virtual-d6b69de7f2a00d823547f4989191e129cee4c095":"2020-08-06T12:58:53.753Z","9.1.0-apfs-is-virtual-19fca449f721d6dd09a957101e79940d8592233d":"2020-08-06T13:02:48.087Z","9.1.0":"2020-08-06T13:44:45.287Z","9.2.0-include-partition-table-info-c1456489c74ebd78908f4de5cd9c34d99b9ce8ab":"2020-11-19T17:17:17.649Z","9.2.0-include-partition-table-info-1ee43c2eb4543dec78aceca566e645dfc5b29a93":"2020-11-19T17:20:33.358Z","9.2.0-include-partition-table-info-80f089d82f7adf4cbd1c3f8bc5394593535bab68":"2020-11-19T17:32:30.241Z","9.2.0-include-partition-table-info-c05ecad57d5db7a130e81743aa3b2ec340172a05":"2020-11-19T19:17:51.597Z","9.2.0-include-partition-table-info-11bcc2887a560949663017f5498752be1af28afe":"2020-11-19T19:33:43.618Z","9.2.0":"2020-11-19T21:39:37.517Z","9.2.1-context-aware-1133ce6bdc04a44201e145b4951b1c0c7184e2e7":"2020-11-19T21:57:21.125Z","9.2.1":"2020-11-19T22:01:30.827Z","9.2.2-add-versionbot-changelog-921936f40542118aad8194a13a81556dc0130523":"2020-11-30T18:15:29.955Z","9.2.2":"2020-11-30T18:19:12.790Z","9.2.3-support-lsblk-without-pttype-a6d568bb64e53c0dc3aeb226cbd0b19bbb090671":"2021-01-19T13:11:44.637Z","9.2.3":"2021-01-19T13:16:35.542Z","9.2.4-maxnet-fixes-1ec6a8ffc4c9e138b78210f0db84a9ebd6c9182b":"2021-01-19T13:31:16.004Z","9.2.4":"2021-01-19T13:42:53.429Z","10.0.0-napi-42137d182f7a37f182e8203c6f351fdd54b6eaa7":"2022-06-15T22:52:02.170Z","10.0.0-napi-355d3201dc21489de14a2c05d08a6de0c7ff2223":"2022-06-15T22:58:13.686Z","10.0.0-napi-686a529ef2499e7ba850aa051152feb18fe5d4f2":"2022-06-15T23:17:25.062Z","10.0.0-napi-1a41d7f780cc24efb19a741e8a67e8183194f645":"2022-06-15T23:25:59.107Z","9.2.5-nochange-68eb61f94494deca81094898daef34f304d1893e":"2022-06-16T11:58:52.546Z","10.0.0":"2022-06-16T12:21:42.454Z","11.0.0-correct-email-333d590cc0a04366abdb03b941b7672f685dba44":"2022-06-21T13:09:12.879Z","11.0.0":"2022-06-21T13:11:59.915Z","11.0.1-ab77-operational-d486b13b8e575bbca15027d7176bf5c4aa6f0ceb-1":"2022-10-25T23:20:50.970Z","11.0.1":"2022-10-25T23:31:12.026Z","11.0.2-renovate-mocha-10-x-c9389204acde6edf59fc6c80f89547c05373aaa7-1":"2022-10-25T23:46:14.775Z","11.1.0-renovate-node-18-x-faddc18a42071c7980d34b31c04fe5476511162b-1":"2022-10-25T23:47:04.612Z","11.0.2":"2022-10-25T23:47:50.098Z","11.0.1-renovate-mocha-10-x-f4964dbd908a0010ea12b9833e76001ad31a0c7b":"2022-10-25T23:47:58.905Z","11.1.0-renovate-node-18-x-9298b6cfa35499bcaf7cc14c27373ca1b759ce1a-1":"2022-10-25T23:56:45.508Z","11.1.0-renovate-node-18-x-4bd72ee8fe7b5f713f54b8cbb246227c97c1149a-1":"2022-10-31T23:46:43.041Z","11.0.3-update-dependencies-7139d35ce44e7e5e57e1c48f7fbb1e2efdb01adf-1":"2022-11-03T15:52:27.092Z","11.0.3-update-dependencies-2fd7ab35d821ad085b0236193375a2c122d7a518-1":"2022-11-03T17:35:54.284Z","11.0.3-update-dependencies-af7c3f57f9d7aa19cf7f0c7e6c3dedaf961da254-1":"2022-11-03T17:54:40.806Z","11.0.3-update-dependencies-e3470a38b1bd84bda6e792c43803389327be94de-1":"2022-11-03T18:07:22.316Z","11.0.3":"2022-11-03T18:10:19.885Z","11.0.4-update-dependencies-2c23595e5fe86f75a5962dcaabfdcfcaf79ab6ae-1":"2022-11-03T18:26:59.646Z","11.0.4":"2022-11-03T18:30:31.726Z","11.0.5-build-ab77-operational-a8f81e671b3dcf019c56da705dd0feb0001fe974-1":"2023-01-03T00:42:49.549Z","11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-1":"2023-01-03T19:49:47.271Z","11.0.5-build-ab77-operational-fdab0995f1e85b3d5abde0ff8d835c0a17341866-2":"2023-01-05T22:31:27.951Z","11.1.0-build-ab77-operational-3dce6011c8f164a80823d5bffbff0c750a587e20-1":"2023-01-05T22:41:36.553Z","11.1.0":"2023-01-05T22:46:19.891Z","11.2.0-build-renovate-node-addon-api-6-x-38a10329db40775245466daa7fa8b1291ecd997f-1":"2023-02-10T17:51:01.497Z","12.0.0-build-renovate-typescript-5-x-102dc03d7445c29dfa371d133975dd009e89dda8-1":"2023-05-01T17:57:10.815Z","12.0.0-build-renovate-node-addon-api-6-x-2e58fa8593941e71cf16a84aea17e9f653c5f2c7-1":"2023-05-30T15:49:23.904Z","11.1.1-build-renovate-typescript-5-x-640f0d1f9267d753037cc666787f6633f1df3762-1":"2023-05-30T15:50:28.951Z","12.0.0-build-renovate-node-addon-api-7-x-275ea9dad4ae88882f14e82a64fffbb174dc3616-1":"2023-06-15T14:49:41.068Z","11.1.1-build-renovate-balena-lint-7-x-60b4a1add7e00536c54da94f8ee7a23330fa3162-1":"2023-09-07T13:51:41.167Z","11.2.0-build-otaviojacobi-support-node-20-561ee8f38a59f70597fdb0e133babac9c85b9afa-1":"2023-09-29T14:39:41.566Z","11.2.0-build-otaviojacobi-support-node-20-a3381a8f8a5d4fe3198cafbac19a0738b42e83e4-1":"2024-01-17T10:11:01.778Z","11.2.0":"2024-01-18T10:26:29.247Z","11.2.1-build-renovate-major-node-addon-api-e7d0b0c6632329d4e366f110b5e2d9e18788817c-1":"2024-01-18T10:52:57.490Z","11.2.1-build-renovate-major--balenalint-0e0411f6caaa3392c05dac800aa71d25ab59580c-1":"2024-01-18T10:54:41.823Z","11.2.1-build-kyle-custom-runs-on-961183e410973cee6824c665ad9239cd1bb49703-1":"2024-02-14T21:11:47.901Z","11.2.1":"2024-02-15T00:27:53.268Z","11.2.2-build-renovate-major-node-addon-api-b056b06c78819c33df1db137ed38096fb7abcd18-1":"2024-02-15T01:08:46.150Z","11.2.2-build-renovate-major--balenalint-b5fb49d6af547894c394e744074ff433f4c181e4-1":"2024-02-15T01:10:16.739Z","11.2.2-build-bump-node-gyp-147394c5b59fdc4a720eb65604debd6619e50216-1":"2024-03-08T08:46:11.814Z","11.2.2":"2024-03-08T11:30:39.541Z","11.2.3-build-renovate-major-node-addon-api-09c0a5332763d65bb73a6d40de4118454ab8cf66-1":"2024-03-08T11:49:36.072Z","11.2.3-build-renovate-major--balenalint-8edd5465a12e8944bd015181c9d79cb7188a7565-1":"2024-03-16T16:49:27.811Z","12.0.0-build-renovate-major-node-addon-api-d02c8e3006f9c4ec4763cac8cff553b3634080f7-1":"2024-04-08T12:12:19.805Z","12.0.0":"2024-04-08T14:04:51.767Z","12.0.1-build-renovate-major--balenalint-157ade42859104a659c3d1b4702e3059dea7c4d4-1":"2024-04-08T14:47:53.187Z","12.0.1-build-renovate-pin-dependencies-296474af7d34af109becadde0c1c3f9d9e9db475-1":"2024-04-08T14:48:02.582Z","12.0.1":"2024-04-08T14:50:26.962Z","12.0.2-build-renovate-actions-setup-python-digest-8d277f7e43295d5b6b55ce7893c5f3ebc103cc9a-1":"2024-04-08T15:48:40.995Z","12.0.2-build-renovate-major--balenalint-9798eece8c1491c1e49ad4839a70db29d17bdb5f-1":"2024-04-08T15:48:48.170Z","12.0.2":"2024-04-08T15:51:15.229Z","12.0.3-build-renovate-major--balenalint-272d13705811675c22066ab9275004dfc5f47e88-1":"2024-04-08T16:49:45.113Z","12.0.3-build-renovate-actions-setup-node-4-x-3f158fca98eb5062a4a090c59cd997ffb3778d0b-1":"2024-04-08T16:51:42.143Z"},"homepage":"https://github.com/balena-io-modules/drivelist","keywords":["disk","cross","platform","physical","drive","list"],"repository":{"type":"git","url":"git://github.com/balena-io-modules/drivelist.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@balena.io"},"bugs":{"url":"https://github.com/balena-io-modules/drivelist/issues"},"license":"Apache-2.0","readmeFilename":"","users":{"blog":true}}