co-temp

0.1.0 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2

Package Sidebar

Install

npm i co-temp

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • danhper