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

@ducky7go/ducky-cli

v0.1.9

Published

CLI tool for packaging and publishing game mods to NuGet

Readme

ducky-cli

用于将游戏模组打包并发布到 NuGet 服务器和 Steam 创意工坊的命令行工具。

安装

npm install -g @ducky7go/ducky-cli

或使用 npx:

npx @ducky7go/ducky-cli --help

快速开始

# NuGet 打包和发布
ducky nuget pack ./mods/MyMod
ducky nuget push ./mods/MyMod.1.0.0.nupkg

# Steam 创意工坊发布
ducky steam push ./mods/MyMod
ducky steam push ./mods/MyMod --update-description

文档

功能特性

  • NuGet 打包:从模组目录创建 .nupkg
  • NuGet 发布:发布到 nuget.org 或自定义 NuGet 服务器
  • Steam 创意工坊发布:支持多语言发布模组
  • 验证:按照打包规范验证模组
  • 跨平台:支持 Windows、macOS 和 Linux

命令概览

| 命令 | 描述 | |------|------| | ducky nuget pack <path> | 将模组目录打包为 .nupkg | | ducky nuget push <path> | 发布到 NuGet 服务器 | | ducky nuget validate <path> | 验证 NuGet 模组 | | ducky steam validate <path> | 验证 Steam 创意工坊模组 | | ducky steam push <path> | 发布到 Steam 创意工坊 |

配置

通过环境变量设置:

# NuGet
export NUGET_API_KEY=your-api-key
export NUGET_SERVER=https://api.nuget.org/v3/index.json

# Steam
export STEAM_APP_ID=3167020

模组目录结构

MyMod/
├── info.ini              # 模组元数据(必需)
├── MyMod.dll             # 主 DLL(必需)
├── preview.png           # 预览图片(Steam 必需)
├── description/          # 多语言描述(Steam 使用)
│   ├── en.md
│   └── zh.md
└── ...其他文件

许可证

MIT License - 详见 LICENSE 文件

相关项目

支持