0.1.0 • Published 9 years ago

co-temp v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

temp with co

Build Status

Installation

$ npm install co-temp

Usage

var temp = require('co-temp').track();

co(function *() {
    var info = yield temp.open('file');
    console.log(info.path);
    var dirPath = yield temp.mkdir('mydir');
    console.log(info.path);

    yield temp.cleanup(); // only if you use track()
});

See temp documentation for more info.

0.1.0

9 years ago