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 🙏

© 2026 – Pkg Stats / Ryan Hefner

ecnu-outliner

v0.2.1

Published

批量下载ECNU的课程大纲至本地

Downloads

28

Readme

ECNU-outline-downloader

Intro

本工具致力于解决下载ECNU的教学大纲繁琐的问题,仅需输入账户名,密码,百度API的密钥【用于图像识别,可选】,和要下载的课程序号即可下载所有的课程大纲与本地,现已发布至NPM 🎉

Preparation

可选项--获取百度云API的密钥

  1. 浏览器进入 百度云控制台,完成注册/登陆操作
  2. 右侧边栏找到人工智能-文字识别选项,点击进入
  3. 点击创建应用,填写完简易的表格,拿到AK【client_id】和SK【client_secret】

安装node环境

  • windows下直接进入官网下载LTS版本

  • *nix系推荐使用nvm

可选项 -- 安装yarn

yarn作为包管理工具,无缝衔接npm,而且更快

npm i -g yarn

从npm下载本工具

npm i -g ecnu-outliner
# or yarn global add ecnu-outliner

Configuration

配置文件路径在 ~/eod/config.json

使用命令行进行配置

eod init -u <username> -p <password> -A <AK> -S <SK> # 输入关键信息,获取token

使用配置文件进行配置

eod # 创建配置文件
vim ~/eod/config.json # 输入配置,token项可留空
eod refresh # 获取token

Usage

Options:
  -g, --grade <grade>        specify the grade
  -s, --semester <semester>  specify the semester
  -u, --username <username>  specify the username
  -p, --password <password>  specify the password
  -A, --AK <AK>              specify the client_id
  -S, --SK <SK>              specify the client_secret
  -o, --output <output>      specify the output dir
  -H, --hand-mode            use the handMode to input code instead of AI
  -h, --help                 output usage information

Commands:
  go <subject>               下载指定学科的大纲
  show                       检查配置
  refresh                    刷新TOKEN
  init                       初始化

Example

下载 大一上学期的计算机系的的所有大纲到当前目录的files文件夹下

eod go COMS -g 1 -s 1

下载 大二下学期的数学系的所有大纲到指定目录【绝对路径】下

eod go MATH -g 2 -s 2 -o <abspath>

手动输入验证码下载大二上学期的所有体育课的大纲 【图片文件保存在~/eod/code.jpg】

eod go CLUB -g 2 -s 1 -H

修改用户名

eod init -u <username>

TODO

  • [ ] 细化并发的粒度
  • [ ] 支持更复杂检索条件
  • [x] 加入手打验证码的选项,避免了申请百度云密钥的繁琐
  • [x] 做成二进制包,发布至NPM

Contribution

  • 求STAR
  • 欢迎向本项目提PR
  • 发现BUG请及时提出Issue