$ npm install disk
var Disk = require 'disk'
Set up a device to work with. This can be anything with a blockdevice compatible API.
var device =path: BlockDevicegetPath 0
var disk = device
diskopen// Opens a handle to the device and attempts// to detect it's block size if unspecified,// as well as reading the MBR & GPT on the device
diskclose// Closes the handle to the device