mythos-contrib-async
v0.0.1
Published
Mythos contrib module for async
Downloads
3
Readme
mythos-contrib-async
Mythos contrib module for async
Installation
npm install --save mythos-contrib-async
Usage
Loading
Autoloading
Open config/autoload.js
and add the library.
module.exports = {
...
"lib": {
...
"async": true,
...
},
...
};
Manual Loading
mythos.load('lib', 'async');
Calling the Library
mythos.lib.async.map(['file1','file2','file3'], fs.stat, function(err, results){
// results is now an array of stats for each file
});
License
ISC License