{"_id":"nodejs-disks","_rev":"28-6698c1a084ae31e56fa925ede559e0fa","name":"nodejs-disks","description":"Nodejs module to gets current disk information from Server hosting nodejs application tested on OSX and ubuntu adapted from node-diskfree see Readme","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"author":{"name":"Shaun Hevey"},"name":"nodejs-disks","description":"Nodejs module to gets current disk information from Server hosting nodejs application adapted from node-diskfree by Ismael Gorissen (pinchprojectbackend) see Readme","version":"0.1.0","license":"MIT","repository":{"type":"git","url":"https://github.com/shaun-h/nodejs-disks.git"},"main":"./lib/disks","dependencies":{"async":"~0.2.9","numeral":"~1.4.8"},"bugs":{"url":"https://github.com/shaun-h/nodejs-disks/issues"},"homepage":"https://github.com/shaun-h/nodejs-disks","_id":"nodejs-disks@0.1.0","dist":{"shasum":"a671e92456673483daf60de838188bb3e76c4d7b","tarball":"https://registry.npmjs.org/nodejs-disks/-/nodejs-disks-0.1.0.tgz","integrity":"sha512-2bC20ZJR1rgGhaNZHbAHOZdltiNGvX1cjHamz3VUDjKuZJ43nivI+EUZ4tIwFvPwNmClYyi2UREZcE1Gq7ifXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9xLN71j7YQJCGsVz6JcZTkntv95YEKhFj7aUEnPiECAiBklbBX3frWPVM+Fvs/RbGEDvr8JwDLGeCYilBn85WPaw=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shaun.hevey","email":"shaun@hevey.co"},"maintainers":[{"name":"shaun.hevey","email":"shaun@hevey.co"}],"directories":{},"deprecated":"Package is no longer supported. Use at your own risk."},"0.1.1":{"author":{"name":"Shaun Hevey"},"name":"nodejs-disks","description":"Nodejs module to gets current disk information from Server hosting nodejs application tested on and ubuntu adapted from node-diskfree by Ismael Gorissen (pinchprojectbackend) see Readme","version":"0.1.1","license":"MIT","repository":{"type":"git","url":"https://github.com/shaun-h/nodejs-disks.git"},"main":"./lib/disks","dependencies":{"async":"~0.2.9","numeral":"~1.4.8"},"bugs":{"url":"https://github.com/shaun-h/nodejs-disks/issues"},"homepage":"https://github.com/shaun-h/nodejs-disks","_id":"nodejs-disks@0.1.1","dist":{"shasum":"c36dfc8b73e61cd29894ad63d4dc4759f82b264e","tarball":"https://registry.npmjs.org/nodejs-disks/-/nodejs-disks-0.1.1.tgz","integrity":"sha512-dyfIDqxVRR602al9zBsWtMZmxXBk9mX1cmS2xEuVqYFxRYeqIrr+pqECYYK2BfVKO8WWWSW2NRsqfOzgjwV+kg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWv9hI/6xR41eQu3dufGEs1AbGKXqszm+006WvHkIaXwIhAMqrVdj8OIZaCuRB1XFh0L5H9ePx8XPYl1UhyetCserj"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shaun.hevey","email":"shaun@hevey.co"},"maintainers":[{"name":"shaun.hevey","email":"shaun@hevey.co"}],"directories":{},"deprecated":"Package is no longer supported. Use at your own risk."},"0.1.2":{"author":{"name":"Shaun Hevey"},"name":"nodejs-disks","description":"Nodejs module to gets current disk information from Server hosting nodejs application tested on OSX and ubuntu adapted from node-diskfree by Ismael Gorissen (pinchprojectbackend) see Readme","version":"0.1.2","license":"MIT","repository":{"type":"git","url":"https://github.com/shaun-h/nodejs-disks.git"},"main":"./lib/disks","dependencies":{"async":"~0.2.9","numeral":"~1.4.8"},"bugs":{"url":"https://github.com/shaun-h/nodejs-disks/issues"},"homepage":"https://github.com/shaun-h/nodejs-disks","_id":"nodejs-disks@0.1.2","dist":{"shasum":"d1eaf45188bb40c5bd6c040cb62e0ed4114867d4","tarball":"https://registry.npmjs.org/nodejs-disks/-/nodejs-disks-0.1.2.tgz","integrity":"sha512-ju4/kFx3AsPs6Ux64nH/maZkVWungPmZfv8IZyZwI0KrYOoRWfH8J5CnQ3UUSBWDvvoJE1wXDNyZ/GDfhpJy6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTrIdVE77A7i92X9B5ScPbdUEM7IiCp6cTOQurfgi8sgIhANvuK6V2DF/ewYWO+lNRlzSGepjsKeP7+mzrRwSyDJsE"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shaun.hevey","email":"shaun@hevey.co"},"maintainers":[{"name":"shaun.hevey","email":"shaun@hevey.co"}],"directories":{},"deprecated":"Package is no longer supported. Use at your own risk."},"0.1.4":{"author":{"name":"Shaun Hevey"},"name":"nodejs-disks","description":"Nodejs module to gets current disk information from Server hosting nodejs application tested on OSX and ubuntu adapted from node-diskfree, it is available at https://bitbucket.org/pinchprojectbackend/node-diskfree/ see Readme","version":"0.1.4","license":"MIT","repository":{"type":"git","url":"https://github.com/shaun-h/nodejs-disks.git"},"main":"./lib/disks","dependencies":{"async":"~0.2.9","numeral":"~1.4.8"},"bugs":{"url":"https://github.com/shaun-h/nodejs-disks/issues"},"homepage":"https://github.com/shaun-h/nodejs-disks","_id":"nodejs-disks@0.1.4","dist":{"shasum":"d835121648e784114ddca4e598fdf6d3db262970","tarball":"https://registry.npmjs.org/nodejs-disks/-/nodejs-disks-0.1.4.tgz","integrity":"sha512-y3bCkL67pUr19+G2t14ic0KKRlI3o+8qvf2B9cM3ozxPAvj4ZioDdTAyBeNi7e6uzpHT72JsAmSzMJk5e3PHzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRgsizIfoVCROXD/bNcU/Bsv9Ky5hTJ5rwf4PQ+/tR7wIgQwhh39nIRNLZ7a5CYJ5xwIwcyfbmDTcIYleXECvQdPQ="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shaun.hevey","email":"shaun@hevey.co"},"maintainers":[{"name":"shaun.hevey","email":"shaun@hevey.co"}],"directories":{},"deprecated":"Package is no longer supported. Use at your own risk."},"0.1.5":{"author":{"name":"Shaun Hevey"},"name":"nodejs-disks","description":"Nodejs module to gets current disk information from Server hosting nodejs application tested on OSX and ubuntu adapted from node-diskfree, it is available at https://bitbucket.org/pinchprojectbackend/node-diskfree/ see Readme","version":"0.1.5","license":"MIT","repository":{"type":"git","url":"https://github.com/shaun-h/nodejs-disks.git"},"main":"./lib/disks","dependencies":{"async":"~0.2.9","numeral":"~1.4.8"},"os":["darwin","linux"],"bugs":{"url":"https://github.com/shaun-h/nodejs-disks/issues"},"homepage":"https://github.com/shaun-h/nodejs-disks","_id":"nodejs-disks@0.1.5","dist":{"shasum":"11974e70051c76222de7823a79d3c4503b3cdf27","tarball":"https://registry.npmjs.org/nodejs-disks/-/nodejs-disks-0.1.5.tgz","integrity":"sha512-r+Qe8FYmH2gkQY7zY9nrIHQCeLL6QZCAbMla26MN0YgLyUwj/pzOVJUeBCglgdY6lC4i1dHWyLsxNrSFOAkO8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZNOiG7ZLPbKFjkLpBv8+MZweiHICxBqLQBibT67u/xAIgPu7b7rmn9F6fQFjChwRsNjPo/RJsPv9v+iaXrBoq2Xo="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shaun.hevey","email":"shaun@hevey.co"},"maintainers":[{"name":"shaun.hevey","email":"shaun@hevey.co"}],"directories":{},"deprecated":"Package is no longer supported. Use at your own risk."},"0.1.6":{"author":{"name":"Shaun Hevey"},"name":"nodejs-disks","description":"Nodejs module to gets current disk information from Server hosting nodejs application tested on OSX and ubuntu adapted from node-diskfree see Readme","version":"0.1.6","license":"MIT","repository":{"type":"git","url":"https://github.com/shaun-h/nodejs-disks.git"},"main":"./lib/disks","dependencies":{"async":"~0.2.9","numeral":"~1.4.8"},"os":["darwin","linux"],"bugs":{"url":"https://github.com/shaun-h/nodejs-disks/issues"},"homepage":"https://github.com/shaun-h/nodejs-disks","_id":"nodejs-disks@0.1.6","dist":{"shasum":"a5492c16745f3ba7cf6afaaebcb2c6795ddc0711","tarball":"https://registry.npmjs.org/nodejs-disks/-/nodejs-disks-0.1.6.tgz","integrity":"sha512-IUMbvx8CLDRQPEP/G69gbnV477EAPf8GN07lZx3iEBAmv1sDXTWqyx2XmlE2lYVnWF/5INS8DjYcqrx+/WXggA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDZe0v2QJx7lszgPk6S5O+dVyzMYZrOmVCVhXiUjjN5wIgej3TyPYO+bA/f1y/isID2hL7gPisuPNwa7Q/aDkxyxs="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shaun.hevey","email":"shaun@hevey.co"},"maintainers":[{"name":"shaun.hevey","email":"shaun@hevey.co"}],"directories":{},"deprecated":"Package is no longer supported. Use at your own risk."},"0.1.7":{"author":{"name":"Shaun Hevey"},"name":"nodejs-disks","description":"Nodejs module to gets current disk information from Server hosting nodejs application tested on OSX and ubuntu adapted from node-diskfree see Readme","version":"0.1.7","license":"MIT","repository":{"type":"git","url":"https://github.com/shaun-h/nodejs-disks.git"},"keywords":["disk","disks","free space","volumes"],"main":"./lib/disks","dependencies":{"async":"~0.2.9","numeral":"~1.4.8"},"os":["darwin","linux"],"bugs":{"url":"https://github.com/shaun-h/nodejs-disks/issues"},"homepage":"https://github.com/shaun-h/nodejs-disks","_id":"nodejs-disks@0.1.7","dist":{"shasum":"cacea2872d229a96b06bda84200b69f796b3e932","tarball":"https://registry.npmjs.org/nodejs-disks/-/nodejs-disks-0.1.7.tgz","integrity":"sha512-0yhD+mtZ4hqQe9OlAF1cViW6hnP6nP2AE1Ej45CMKWaKE3CZ/sv3RrrP2dcXy3J/F/KZ7pz8B3G28v+QvfWX0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAJOzuya8/HRPteTGCka9LB0TOBw6TPVuT1X+YutzwnAiBhOgBnPZ8chdTGiID6bvVXyXU7f9bFebIcDVfp/txnNA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shaun.hevey","email":"shaun@hevey.co"},"maintainers":[{"name":"shaun.hevey","email":"shaun@hevey.co"}],"directories":{},"deprecated":"Package is no longer supported. Use at your own risk."},"0.1.8":{"author":{"name":"Shaun Hevey"},"name":"nodejs-disks","description":"Nodejs module to gets current disk information from Server hosting nodejs application tested on OSX and ubuntu adapted from node-diskfree see Readme","version":"0.1.8","license":"MIT","repository":{"type":"git","url":"https://github.com/shaun-h/nodejs-disks.git"},"keywords":["disk","disks","free space","volumes"],"main":"./lib/disks","dependencies":{"async":"~0.2.9","numeral":"~1.4.8"},"os":["darwin","linux"],"bugs":{"url":"https://github.com/shaun-h/nodejs-disks/issues"},"homepage":"https://github.com/shaun-h/nodejs-disks","_id":"nodejs-disks@0.1.8","dist":{"shasum":"578e5ea3b7fa04ffb7be7637fd0e84034c81efbd","tarball":"https://registry.npmjs.org/nodejs-disks/-/nodejs-disks-0.1.8.tgz","integrity":"sha512-oBZxQeAwno2AvkRvyaheRxu4H1rRRRImBU9xLZBJp+f+l8uAKcKDlIqdj3Fo/qfCV39PZWZBVeJUd727F5fyzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrekDVDfUBFA63Bhy1eSN/Ud1Di2Ux0U8TC5sVqL5qpwIhAMHqMVpvKvNK74TMsi82451I6m9M1x37FkNkFGQxOKdf"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shaun.hevey","email":"shaun@hevey.co"},"maintainers":[{"name":"shaun.hevey","email":"shaun@hevey.co"}],"directories":{},"deprecated":"Package is no longer supported. Use at your own risk."},"0.1.9":{"author":{"name":"Shaun Hevey"},"name":"nodejs-disks","description":"Nodejs module to gets current disk information from Server hosting nodejs application tested on OSX and ubuntu adapted from node-diskfree see Readme","version":"0.1.9","license":"MIT","repository":{"type":"git","url":"https://github.com/shaun-h/nodejs-disks.git"},"keywords":["disk","disks","free space","volumes"],"main":"./lib/disks","dependencies":{"async":"~0.2.9","numeral":"~1.4.8"},"os":["darwin","linux"],"bugs":{"url":"https://github.com/shaun-h/nodejs-disks/issues"},"homepage":"https://github.com/shaun-h/nodejs-disks","_id":"nodejs-disks@0.1.9","dist":{"shasum":"47530e970475b2bf1cac4db3c61a16b293c56784","tarball":"https://registry.npmjs.org/nodejs-disks/-/nodejs-disks-0.1.9.tgz","integrity":"sha512-r15lys2TGIbC5Kz5B01Qh0sFN/zY16pQFVDtP7hfJi57zjdZ1fridHwYvsCUU7ewiwkSgs5/iic4bKFsCbvLhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDlvPORlOIjdISanBSqHMyYCAHftXX64sPV7A9LeWgdsAiAXF1CpCBjaiaDgwpZRj0EKHxmwVVVmKiRqC44vZB/svA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shaun.hevey","email":"shaun@hevey.co"},"maintainers":[{"name":"shaun.hevey","email":"shaun@hevey.co"}],"directories":{},"deprecated":"Package is no longer supported. Use at your own risk."},"0.2.0":{"author":{"name":"Shaun Hevey"},"name":"nodejs-disks","description":"Nodejs module to gets current disk information from Server hosting nodejs application tested on OSX and ubuntu adapted from node-diskfree see Readme","version":"0.2.0","license":"MIT","main":"./lib/disks","scripts":{"test":"mocha test/ -R spec -s 300 -t 3000"},"repository":{"type":"git","url":"https://github.com/shaun-h/nodejs-disks.git"},"keywords":["disk","disks","free space","volumes"],"dependencies":{"async":"~0.2.9","numeral":"~1.4.8"},"os":["darwin","linux"],"devDependencies":{"mocha":"~1.20.1","should":"~4.0.4"},"gitHead":"1f3dade99534ab0200603fdf2e95ffd4f4c27060","bugs":{"url":"https://github.com/shaun-h/nodejs-disks/issues"},"homepage":"https://github.com/shaun-h/nodejs-disks","_id":"nodejs-disks@0.2.0","_shasum":"5d59c848dbe1247b6c6f97ad9daf056e15023fae","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"shaun.hevey","email":"shaun@hevey.co"},"maintainers":[{"name":"shaun.hevey","email":"shaun@hevey.co"}],"dist":{"shasum":"5d59c848dbe1247b6c6f97ad9daf056e15023fae","tarball":"https://registry.npmjs.org/nodejs-disks/-/nodejs-disks-0.2.0.tgz","integrity":"sha512-1t53sGe/hGl4CLaeWjBMsUHk91R7WTpbMXnSlyzm8OJBodH87uBL6n/FrVKO6C9hP2oMGVbNyk5q7S9CN3Gxww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDmE0R6tbHPJe9OSutXIdqZHUR6G+KGedjHcT0ytfLwKAiEAlQZ6dniOH7to1FVhJha7cU8pSvMRUAMDmM9VPORCBPg="}]},"directories":{},"deprecated":"Package is no longer supported. Use at your own risk."},"0.2.1":{"author":{"name":"Shaun Hevey"},"name":"nodejs-disks","description":"Nodejs module to gets current disk information from Server hosting nodejs application tested on OSX and ubuntu adapted from node-diskfree see Readme","version":"0.2.1","license":"MIT","main":"./lib/disks","scripts":{"test":"mocha test/ -R spec -s 300 -t 3000"},"repository":{"type":"git","url":"https://github.com/shaun-h/nodejs-disks.git"},"keywords":["disk","disks","free space","volumes","harddisk"],"dependencies":{"async":"~0.2.9","numeral":"~1.4.8"},"os":["darwin","linux"],"devDependencies":{"mocha":"~1.20.1","should":"~4.0.4"},"gitHead":"73b195c77ff7123fa79dfb1be6dea48ba2ede08e","bugs":{"url":"https://github.com/shaun-h/nodejs-disks/issues"},"homepage":"https://github.com/shaun-h/nodejs-disks","_id":"nodejs-disks@0.2.1","_shasum":"8bd4cff8ddae1e2059f2104f14c334f5b21fb9f1","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"shaun.hevey","email":"shaun@hevey.co"},"maintainers":[{"name":"shaun.hevey","email":"shaun@hevey.co"}],"dist":{"shasum":"8bd4cff8ddae1e2059f2104f14c334f5b21fb9f1","tarball":"https://registry.npmjs.org/nodejs-disks/-/nodejs-disks-0.2.1.tgz","integrity":"sha512-nZJ0LmsRp9AjxMjxlL7RbTPLtnSRtetqugizLh/DlyZU5rvvGY2coZmfU/UdNZgBFGyX+diTeaRnclXxWqIcTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxdo9V4si+mavJ+gwGMr5ukgEPhxODsPr+rjNkd3YkXgIhAOl9Yb1JEkDurevssZ4SlfskE8j9dUllbwz8nkC3vuDj"}]},"directories":{},"deprecated":"Package is no longer supported. Use at your own risk."}},"readme":"nodejs-disks\n============\n\n[![NPM](https://nodei.co/npm/nodejs-disks.png?downloads=true&stars=true)](https://nodei.co/npm/nodejs-disks/)\n\nGets current disk information from Server hosting nodejs application.\n\nI have added the drive mount point name as well as calculating the percentage of used space and percentage of free space. Tested on OSX and ubuntu.\nWindows support coming soon.\n\nUsage\n\n    var njds = require('nodejs-disks');\n        njds.drives(\n            function (err, drives) {\n                njds.drivesDetail(\n                    drives,\n                    function (err, data) {\n                        for(var i = 0; i<data.length; i++)\n                        {\n                            /* Get drive mount point */\n                            console.log(data[i].mountpoint);\n\n                            /* Get drive total space */\n                            console.log(data[i].total);\n\n                            /* Get drive used space */\n                            console.log(data[i].used);\n\n                            /* Get drive available space */\n                            console.log(data[i].available);\n\n                            /* Get drive name */\n                            console.log(data[i].drive);\n\n                            /* Get drive used percentage */\n                            console.log(data[i].usedPer);\n\n                            /* Get drive free percentage */\n                            console.log(data[i].freePer);\n                        }\n\n\n\n                    }\n                );\n            }\n        )\n\n\nLICENSE\n\nnodejs-disks - see License.md file\n\n\nThis was derived from the original creator project, node-diskfree. Source for node-diskfree is available at https://bitbucket.org/pinchprojectbackend/node-diskfree/ license for this project is shown in OriginalLicense.md\n\n","maintainers":[{"name":"shaun.hevey","email":"shaun@hevey.co"}],"time":{"modified":"2022-06-22T02:24:33.599Z","created":"2014-05-18T08:40:40.537Z","0.1.0":"2014-05-18T08:40:40.537Z","0.1.1":"2014-05-18T10:10:05.155Z","0.1.2":"2014-05-18T10:12:18.461Z","0.1.4":"2014-05-18T10:16:25.036Z","0.1.5":"2014-05-18T10:28:42.648Z","0.1.6":"2014-05-18T10:33:30.786Z","0.1.7":"2014-05-18T11:24:42.560Z","0.1.8":"2014-05-20T10:07:23.418Z","0.1.9":"2014-05-20T10:09:00.228Z","0.2.0":"2014-07-23T13:54:34.043Z","0.2.1":"2014-08-18T11:00:56.743Z"},"homepage":"https://github.com/shaun-h/nodejs-disks","repository":{"type":"git","url":"https://github.com/shaun-h/nodejs-disks.git"},"author":{"name":"Shaun Hevey"},"bugs":{"url":"https://github.com/shaun-h/nodejs-disks/issues"},"license":"MIT","readmeFilename":"README.md","keywords":["disk","disks","free space","volumes","harddisk"],"users":{"sqbing":true,"leonardorb":true,"faraoman":true}}