npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

q2http_lib

v2.3.201013

Published

修改了长时间运行后喊话时,由于时间戳过大导致溢出的 bug ### 200925: 修改了当云存储时,透过网闸参数不生效的 bug ### 200916修改: - 1 `addon` 增加 `loader`. - 2 经测试,`addon` 会在如下目录进行加载:

Downloads

5

Readme

201013:

修改了长时间运行后喊话时,由于时间戳过大导致溢出的 bug

200925:

修改了当云存储时,透过网闸参数不生效的 bug

200916修改:

  • 1 addon 增加 loader.

  • 2 经测试,addon 会在如下目录进行加载:

    '/home/q2http/build/icvs_addon.node',
    '/home/q2http/build/Debug/icvs_addon.node',
    '/home/q2http/build/Release/icvs_addon.node',
    '/home/q2http/out/Debug/icvs_addon.node',
    '/home/q2http/Debug/icvs_addon.node',
    '/home/q2http/out/Release/icvs_addon.node',
    '/home/q2http/build/default/icvs_addon.node',
    '/home/q2http/Release/icvs_addon.node',
    '/home/q2http/compiled/12.16.3/linux/x64/icvs_addon.node',
    '/home/q2http/addon-build/release/install-root/icvs_addon.node',
    '/home/q2http/addon-build/debug/install-root/icvs_addon.node',
    '/home/q2http/addon-build/default/install-root/icvs_addon.node',
    '/home/q2http/lib/binding/node-v72-linux-x64/icvs_addon.node'

    支持上层传入icvs_module_root来配置 addon 的目录.假设icvs_module_root设置为/path/addon的话, 那么就会在/path/addon/build/icvs_addon.node去加载.即相当于设置build目录前面的内容.如果不设置icvs_module_root,loader 会在 process.cwd()q2http_lib/build/xxxx这两个目录下加载 addon.

addon 编译过程

Windows

  • 1 进入windows环境.git pull 更新代码.
  • 2 cdnode-addon-icvs 目录
  • 3 node-gyp rebuild
  • 4 更新win_build
    cp build/Release/icvs_addon.node ../q2http/win_build/build

Linux

  • 1 进入centos 环境:docker run -it -v /Users/jiaozebo/docker/centos/:/home centos bash
  • 2 设置环境变量:
    export PATH=$PATH:/home/q2http/node-v12xxx/bin
    export PATH=$PATH:/home/q2http/node_modules/node-gyp/bin
  • 3 cdnode-addon-icvs 目录
  • 4 node-gyp.js rebuild
  • 5 更新 linux_build
    cp build/Release/icvs_addon.node ../q2http/linux_build/build
  • 6 测试
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/q2http/bins/ffmpeg/lib/
    node icvs.js