streamlinejs:用于假人的异步JavaScript

时间:2021-03-31 07:16:35
【文件属性】:
文件名称:streamlinejs:用于假人的异步JavaScript
文件大小:133KB
文件格式:ZIP
更新时间:2021-03-31 07:16:35
JavaScript streamline.js streamline.js是用于简化异步Javascript编程的语言工具。 tldr; 见 而不是像这样编写冗长的代码: function archiveOrders ( date , cb ) { db . connect ( function ( err , conn ) { if ( err ) return cb ( err ) ; conn . query ( "select * from orders where date < ?" , [ date ] , function ( err , orders ) { if ( err ) return cb ( err ) ; helper . each ( orders , function ( order , next ) { co
【文件预览】:
streamlinejs-master
----.travis.yml(66B)
----tutorial()
--------tuto7-parallel._js(4KB)
--------tuto4-catch._js(1KB)
--------tuto6-mongo._js(3KB)
--------tutorial.md(15KB)
--------tuto2-form._js(857B)
--------tuto5-files._js(2KB)
--------tuto3-web._js(1KB)
--------tuto1-hello._js(287B)
----bin()
--------_node(665B)
--------_coffee(665B)
----index.js(35B)
----package.json(1KB)
----test()
--------index.js(820B)
--------loader.js(449B)
--------benchmarks()
--------browser()
--------common()
----build.js(2KB)
----index.html(3KB)
----LICENSE(1KB)
----package-lock.json(91KB)
----src()
--------browser()
----.npmignore(134B)
----register.js(44B)
----dev.html(917B)
----FAQ.md(11KB)
----AUTHORS(414B)
----examples()
--------streamlineMe()
--------typescript()
--------request()
--------loader()
--------diskUsage()
--------shebang()
----.gitignore(273B)
----lib()
--------cache._js(2KB)
--------globals.js(163B)
--------transform._js(462B)
--------index.js(2KB)
--------transformSync.js(3KB)
--------util.js(8KB)
--------compile._js(3KB)
--------sourceMaps.js(507B)
--------cacheSync.js(2KB)
--------register.js(4KB)
--------command.js(6KB)
--------util()
--------repl.js(2KB)
--------index.md(1KB)
----CHEAT-SHEET.md(2KB)
----README.md(16KB)
----bower.json(619B)
----API.md(103B)

网友评论