Last active
January 3, 2016 08:39
-
-
Save joaojeronimo/8437062 to your computer and use it in GitHub Desktop.
data may be a readable stream or an array.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var CrowdProcess = require('crowdprocess'); | |
var crp = new CrowdProcess('[email protected]', 'password'); | |
// Run must be a function or a string containing valid Javascript code | |
// data must be a readable stream or an array | |
crp.map(Run, data, onResult); | |
function onResult (err, result) { | |
console.log(result); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment