Node.js 构建系统 Gear.js

码农软件 · 软件分类 · Node.js 扩展 · 2019-04-14 17:56:44

软件介绍

Gear 是易用,方便扩展,强大的 Node.js 和浏览器构建系统。

主要特性:

  • 可以结合接触构建块来执行复杂的构建

  • 任务可以简单定义,保持极其简单的系统内部

  • 异步执行

  • 通过 NPM,文件或者目录扩展任务加载

  • 为复杂任务执行提供高级流控制

  • 可以在 Node.js 和浏览器中运行

Chaining Tasks

new Queue()
 .read('foo.js') .log('read foo.js')
 .inspect()
 .write('foobarbaz.js')
 .run();

Execute Tasks Using Array Style

new Queue()
 .read(['foo.js', {name: 'bar.js'}, 'baz.js']) .log('read foo.js')
 .inspect()
 .write(['newfoo.js', 'newbar.js']) // Not writing 'baz.js'
 .run();

Parallel Task Execution

new Queue()
 .read('foo.js') .log('Parallel Tasks')
 .tasks({
    read:     {task: ['read', ['foo.js', 'bar.js', 'baz.js']]},
    combine:  {requires: 'read', task: 'concat'},
    minify:   {requires: 'combine', task: 'jsminify'},
    print:    {requires: 'minify', task: 'inspect'}, // Runs when read, combine, and minify complete
    parallel: {task: ['log', "Hello Gear.js world!"]} // Run parallel to read
 }).run();

本文地址:https://codercto.com/soft/d/3580.html

The Probabilistic Method Second Edition

The Probabilistic Method Second Edition

Noga Alon、Joel H. Spencer / Wiley-Blackwell / 2000 / $121.95

The leading reference on probabilistic methods in combinatorics-now expanded and updated When it was first published in 1991, The Probabilistic Method became instantly the standard reference on one......一起来看看 《The Probabilistic Method Second Edition》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

SHA 加密
SHA 加密

SHA 加密工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换