V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xunuoi
V2EX  ›  Node.js

分享个 nodejs 的轻量级 bigpipe 模块 node-bigpipe

  •  1
     
  •   xunuoi · 2017-01-08 13:34:32 +08:00 · 2345 次点击
    这是一个创建于 2659 天前的主题,其中的信息可能已经有所发展或是发生改变。
    前段时间做页面优化,看了下 node 社区没有轻量级的 bigpipe 模块来适配 express 等 web 框架,写了一个 module ,大家可以试用下,比较简单,就 3 个主要 api , 很容易嵌入到 express/sails 等框架中使用~~

    https://github.com/xunuoi/node-bigpipe

    欢迎试用、拍砖~~
    3 条回复    2017-01-08 13:58:46 +08:00
    xunuoi
        1
    xunuoi  
    OP
       2017-01-08 13:42:42 +08:00
    ES6 版本也有~
    smallpath
        2
    smallpath  
       2017-01-08 13:47:59 +08:00
    兼容性很高啊, thinkjs 的都有,赞
    xunuoi
        3
    xunuoi  
    OP
       2017-01-08 13:58:46 +08:00
    @smallpath 谢谢~也是 Thinkjs 官方推荐的 bigpipe for Thinkjs 插件 https://thinkjs.org/en/plugin.html
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2429 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 15:59 · PVG 23:59 · LAX 08:59 · JFK 11:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.