You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dcs/ui/node_modules/execute
wufayuan 888089ca40
将ui服务器初步写成,实现与爬虫服务器基本通信
3 years ago
..
example 将ui服务器初步写成,实现与爬虫服务器基本通信 3 years ago
.npmignore 将ui服务器初步写成,实现与爬虫服务器基本通信 3 years ago
LICENCE 将ui服务器初步写成,实现与爬虫服务器基本通信 3 years ago
README.md 将ui服务器初步写成,实现与爬虫服务器基本通信 3 years ago
index.js 将ui服务器初步写成,实现与爬虫服务器基本通信 3 years ago
package.json 将ui服务器初步写成,实现与爬虫服务器基本通信 3 years ago

README.md

execute

Execute commands in parallel

Example

var execute = require("execute")
    , readFile = require("fs").readFile
    , join = require("path").join
    , request = require("request")
    , equal = require("assert").equal

    , link = "https://raw.github.com/Colingo/execute" +
        "/master/README.md"

execute({
    file: function (callback) {
        readFile(join(__dirname, "..", "README.md"), callback)
    }
    , readme: function (callback) {
        request(link, function (err, res, body) {
            callback(err, body)
        })
    }
}, function (err, results) {
    var file = String(results.file)
        , readme = String(results.readme)

    equal(file, readme)
    console.log("done")
})

Installation

npm install execute

Contributors

  • Raynos

MIT Licenced