Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 364 Bytes

node-mount

Copyright (C) 2011 by Maciej Małecki
MIT License (see LICENSE file)

Mount your device from node.js like what.

Usage

var mount = require('mount');
mount.mount('tmpfs', 'tmpDir', 'tmpfs');
// ... do some stuff in tmpDir
mount.unmount('tmpDir');
// BAH! everything from tmpDir is gone!

Installation

npm install mount