爱意满满的作品展示区。
Win78

一个根据用户名统计 npm 下载量的 API,可用在 readme 生成徽章

  •  
  •   Win78 · Nov 25, 2022 · 3029 views
    This topic created in 1444 days ago, the information mentioned may be changed or developed.

    使用方法:https://github.com/DukeLuo/github-readme-npm-stats

    配合 shields.io 使用,可在 profile readme 中显示 npm 包总下载量,效果如下:

    3 replies  •  2022-11-29 12:42:34 +08:00
    codingBug
    codingBug
    Nov 26, 2022
    1
    有趣
    iamgx
    iamgx
    Nov 29, 2022
    2
    可以根据指定包名获取吗
    Win78
    Win78
    OP
    Nov 29, 2022
    3
    @iamgx 这个 shields.io 直接支持,形如 `https://img.shields.io/npm/dm/${package-name}.svg`
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   510 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 21:30 · PVG 05:30 · LAX 13:30 · JFK 16:30
    ♥ Do have faith in what you're doing.