CNode

koahub.js 支持 async/await, promise, generator

分享
Eeinsqing发布于9 年前最后回复9 年前5 回复4234 浏览0 收藏

经过社区调查发现,服务器后端使用的babel的目前比较少,因此花费了2个小时,写了koahub.js promise demo和koahub.js generator demo。

koahub.js 官网 => http://js.koahub.com koahub.js 框架 => https://github.com/koahubjs/koahub koahub.js async/await demo => https://github.com/koahubjs/koahub-demo koahub.js promise demo =>https://github.com/koahubjs/koahub-demo-promise koahub.js generator demo => https://github.com/koahubjs/koahub-demo-generator koahub.js docs => http://js.koahub.com/public/docs/index.html

欢迎star

74633E0B-FB12-452D-9EBC-E3DCC64DD102.png

查看回复

回复 (5)

I
i5ting#1·9 年前

来,我不喜欢你这个结构,求喷。哈哈 https://github.com/moajs/moa2

E
einsqing#3·9 年前
引用 i5ting来,我不喜欢你这个结构,求喷。哈哈 https://github.com/moajs/moa2

@i5ting 看了狼叔的github,原来狼叔没搞过php啊,这就难怪不喜欢这个结构了。我们是php转node的。

I
i5ting#4·9 年前
引用 einsqing@i5ting 看了狼叔的github,原来狼叔没搞过php啊,这就难怪不喜欢这个结构了。我们是php转node的。

@einsqing 我写过fleaphp,php5之后就没写过了,而且php里很多都是抄自rails的,所以后来我就去玩rails了

哈哈

参与回复
登录后即可参与回复。登录