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

nobel-literature

v1.2.0

Published

Nobel Literature Prize jury simulation - spin up with OpenCode and DeepSeek

Readme

Nobel Literature 诺贝尔文学奖模拟评审

🎭 Three AI judges debate the Nobel Prize in Literature — no programming experience needed.

English · 中文


English

What is this?

This tool launches a simulated Nobel Literature Prize jury. Three AI judges — a literary critic, a literary historian, and a contemporary literature expert — will debate and discuss candidates for the Nobel Prize. You watch their conversation unfold in your browser.

Step 0: What you'll need

  • A computer running Windows 10/11 or macOS
  • An internet connection
  • About 10 minutes for setup

Step 1: Open the Terminal

The terminal is a text window where you type commands. Don't worry — you only need to type a few.

Windows:

  1. Press Windows logo key on your keyboard (the key with the Windows icon ⊞)
  2. Type PowerShell
  3. Click Windows PowerShell or Terminal in the search results
  4. A blue or black text window will open — this is your terminal

macOS:

  1. Press Command (⌘) + Space together
  2. Type Terminal
  3. Press Enter
  4. A white or dark text window will open — this is your terminal

Step 2: Install Node.js

Node.js is a small free program this tool needs to run. It's like installing an app — just follow the steps.

Windows — using winget:

In the terminal you just opened, type this command and press Enter:

winget install OpenJS.NodeJS.LTS

When it asks "Do you agree to the terms?", type Y and press Enter.

macOS — using Homebrew:

First, if you don't have Homebrew yet, paste this command and press Enter:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Then install Node.js:

brew install node@22

Verify the installation (both Windows and Mac):

Close the terminal completely, then reopen it (see Step 1). Type:

node --version

If you see something like v22.x.x, you're good! If you see an error, try closing and reopening the terminal again.


Step 3: Run the Nobel Literature Simulation

In your terminal, copy and paste this command, then press Enter:

npx nobel-literature@latest my-nobel-project

💡 Replace my-nobel-project with any name you like — this will be the folder where the simulation runs. For example: npx nobel-literature@latest nobel-2026

The first time you run this, it may ask:

Need to install the following packages: nobel-literature@latest. Ok to proceed? (y)

Type y and press Enter.

Wait a moment. The tool will:

  1. Create a project folder
  2. Set up three AI judges and a moderator
  3. Automatically open a web page in your browser

That's it — you can now watch the judges discuss! 🎉


Step 4: Configure the AI (DeepSeek)

The judges need an AI provider to work. You'll need a DeepSeek API key (it's cheap and easy to get).

Get a DeepSeek API key:

  1. Go to https://platform.deepseek.com
  2. Sign up or log in
  3. Go to API Keys in the left menu
  4. Click Create API Key
  5. Copy the key (it starts with sk-)

Enter the key in the web interface:

  1. In the web page that just opened, find the ⚙️ Settings icon in the bottom-left corner and click it
  2. In the settings menu, click Providers
  3. Click Show more providers
  4. Find DeepSeek in the list and click it
  5. Paste your API key into the input field
  6. Click Confirm or press Enter

✅ You're all set! The judges are now connected to DeepSeek's AI.


Step 5: Start a Discussion

Once the web page opens:

  1. You'll see a chat interface
  2. Type: @moderator Start the Nobel Literature Prize 2026 selection process
  3. Press Enter — the moderator will begin orchestrating the three judges

The judges will take turns speaking across multiple rounds, and you'll see their full debates in real time.


Step 6: If You've Run It Before

If you've already set up a project folder, just run the same command again:

npx nobel-literature@latest my-nobel-project

It will detect the existing setup and skip initialization, going straight to opening the web interface.


Step 7: Close When Done

  1. In the terminal, press Ctrl + C (hold the Ctrl key and press C) to stop the program
  2. To close the terminal window:
    • Windows: Type exit and press Enter, or click the ✕ button
    • macOS: Type exit and press Enter, or press ⌘ + Q

Troubleshooting

| Problem | Solution | |---------|----------| | node is not recognized | Close and reopen the terminal. If still broken, restart your computer. | | npx is not recognized | Same as above — close and reopen terminal first. | | "Need to install" prompt doesn't appear | It may appear differently; just look for a (y) prompt and type y. | | Web page doesn't open | Check the terminal output for a URL (like http://localhost:xxxx) and open it manually in your browser. | | Port is already in use | Stop other programs using port, or the tool will auto-pick another port. | | DeepSeek not working | Make sure you entered the API key correctly in Settings → Providers → DeepSeek. Check your key at platform.deepseek.com. |


中文

这是什么?

这个工具会启动一个诺贝尔文学奖模拟评审。三位 AI 评委——文学评论家、文学史学家、当代文学专家——将辩论和讨论诺贝尔文学奖的候选人。你可以在浏览器中观看他们的对话。

准备工作

  • 一台 Windows 10/11macOS 电脑
  • 网络连接
  • 大约 10 分钟的设置时间

第1步:打开终端

终端是一个文字窗口,你可以在里面输入命令。别担心——你只需要输入几条命令。

Windows:

  1. 按键盘上的 Windows 键(带有 ⊞ 图标的那个键)
  2. 输入 PowerShell
  3. 在搜索结果中点击 Windows PowerShell终端
  4. 会弹出一个蓝色或黑色的文字窗口——这就是终端

macOS:

  1. 同时按 Command (⌘) + 空格键
  2. 输入 终端Terminal
  3. 回车键
  4. 会弹出一个白色或深色的文字窗口——这就是终端

第2步:安装 Node.js

Node.js 是这个工具运行所需的免费小程序,就像安装一个普通软件一样。

Windows — 使用 winget:

在刚打开的终端中,输入以下命令并按 回车键

winget install OpenJS.NodeJS.LTS

当它询问"是否同意条款?"时,输入 Y 并按 回车键

macOS — 使用 Homebrew:

如果你还没有 Homebrew,先粘贴以下命令并按 回车键

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

然后安装 Node.js:

brew install node@22

验证安装是否成功(Windows 和 Mac 通用):

完全关闭终端,然后重新打开(参见第1步),输入:

node --version

如果显示类似 v22.x.x 的内容,说明安装成功!如果报错,试试关闭终端再重新打开。


第3步:运行诺贝尔文学奖模拟

在终端中,复制粘贴以下命令,然后按 回车键

npx nobel-literature@latest 我的诺贝尔项目

💡 把 我的诺贝尔项目 替换成你喜欢的名字——这将是模拟运行的文件夹名。例如:npx nobel-literature@latest 诺贝尔2026

首次运行时可能会询问:

Need to install the following packages: nobel-literature@latest. Ok to proceed? (y)

输入 y 并按 回车键

稍等片刻,工具会自动:

  1. 创建项目文件夹
  2. 配置三位 AI 评委和一位裁判
  3. 在浏览器中自动打开网页

完成——你现在可以观看评委们的讨论了!🎉


第4步:配置 AI(DeepSeek)

评委需要一个 AI 服务才能工作。你需要一个 DeepSeek API 密钥(便宜且容易获取)。

获取 DeepSeek API 密钥:

  1. 打开 https://platform.deepseek.com
  2. 注册或登录
  3. 点击左侧菜单中的 API Keys
  4. 点击 Create API Key
  5. 复制密钥(以 sk- 开头)

在网页界面中输入密钥:

  1. 在刚打开的网页中,找到 左下角的 ⚙️ 设置图标,点击它
  2. 在设置菜单中,点击 Providers(提供商)
  3. 点击 Show more providers(显示更多提供商)
  4. 在列表中找到 DeepSeek,点击它
  5. 将你的 API 密钥粘贴到输入框中
  6. 点击 Confirm(确定)或按 回车键

✅ 大功告成!评委们现在已经连接到 DeepSeek 的 AI 了。


第5步:开始讨论

网页打开后:

  1. 你会看到一个聊天界面
  2. 输入:@moderator 启动2026年诺贝尔文学奖评选
  3. 回车键——裁判将开始组织三位评委的讨论

评委们将轮流发言,你可以在多个轮次中观看他们的完整辩论过程。


第6步:再次运行

如果之前已经设置过项目文件夹,只需再次运行相同命令:

npx nobel-literature@latest 我的诺贝尔项目

它会检测到已有设置,跳过初始化,直接打开网页界面。


第7步:结束使用

  1. 在终端中,按 Ctrl + C(按住 Ctrl 键的同时按 C)停止程序
  2. 关闭终端窗口:
    • Windows:输入 exit回车键,或直接点击 ✕ 按钮
    • macOS:输入 exit回车键,或按 ⌘ + Q

常见问题

| 问题 | 解决方法 | |------|----------| | 提示 node 不是内部命令 | 关闭终端重新打开。如果仍不行,重启电脑试试。 | | 提示 npx 不是内部命令 | 同上——先关闭终端重新打开。 | | 没有弹出"Need to install"提示 | 提示可能形式不同,找到 (y) 提示后输入 y 即可。 | | 浏览器没有自动打开 | 查看终端中的网址(类似 http://localhost:xxxx),手动在浏览器中打开。 | | 端口被占用 | 关闭其他占用端口的程序,工具会自动选择其他端口。 | | DeepSeek 不工作 | 确保你在 设置 → Providers → DeepSeek 中正确输入了 API 密钥。可以在 platform.deepseek.com 检查你的密钥。 |