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

75_action

v1.2.1

Published

一个自动抓取奇舞周刊全部文章的脚本,支持 GitHub Action 自动抓取和 CLI 工具使用

Downloads

14

Readme

75_action

TEST FETCH NPM downloads

这是一个自动抓取奇舞周刊全部文章的脚本,支持 GitHub Action 自动抓取和 CLI 工具使用

自动抓取为每天0/8/16点执行,抓取完成后生成的文章数据存到了 Action 的 artifact 中,下载得到 artifact.zip 解压后的 data.json 就是抓取的数据

CLI 使用

抓取到的数据本地缓存在 ~/.75_action/.data.json 中,缓存有效期24h

1.随机返回一篇文章链接

npx 75_action random

2.随机返回n篇文章链接

npx 75_action random n // n 为任意大于0的数(当总文章数小于 n 时返回全部文章链接)

3.手动更新文章数据

强制不走本地缓存,抓取数据成功后会写入本地缓存

npx 75_action fetch

4.查看 n 个期刊的全部文章

npx 75_action issue n // n 为任意大于0的数

5.根据关键词搜索

根据文章标题、文章简介、文章链接进行模糊搜索,同时也可根据文章日期进行模糊匹配;例如搜索 2022 年的文章,传参 -t "2022",搜索 2022-01 的文章,传参 -t "2022-01"

npx 75_action search -k <keyword> -t <date>