0.0.2 • Published 7 years ago

nmount v0.0.2

Weekly downloads
12
License
-
Repository
github
Last release
7 years ago

node-mount

Mount/unmount devices from node.js

Really works on linux, may work on OS X, and will never work on windows.

Installation

npm install mnt

Usage

var mount = require('mount');
mount.mount('tmpfs', 'tmpDir', 'tmpfs', function(success) {
	// Do hard job.
	mount.unmount('tmpDir', function(success) {
		// Finish hard job! YAY.
	});
});

This module is forked from Maciej Małecki`s repository, but completely rewritten.