
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
@spreading/docuo
Advanced tools
Docuo 文档系统的命令行工具,用于本地开发、预览和管理文档项目。
在文档项目目录中直接使用 Node.js 执行 CLI:
# 进入你的文档项目目录
cd your-docs-project
# 执行 dev 命令
node /path/to/cli/src/index.js dev
# 执行 build 命令
node /path/to/cli/src/index.js build
# 其他命令同理
node /path/to/cli/src/index.js <command> [options]
示例(在 site-template/docs 目录下调试):
cd site-template/docs
node ../../cli/src/index.js dev
npm install -g @spreading/docuo
安装后可直接使用 docuo 命令。
启动本地开发服务器,支持热重载。
docuo dev [--port <port>] [--nm] [--en|--zh]
| 参数 | 说明 |
|---|---|
--port | 指定端口号(默认自动检测可用端口) |
--nm | 使用官方 npm 源(而非中国镜像) |
--en | 使用英文配置文件 (docuo.config.en.json) |
--zh | 使用中文配置文件 (docuo.config.zh.json) |
构建文档站点。
docuo build [--nm] [--en|--zh]
| 参数 | 说明 |
|---|---|
--nm | 使用官方 npm 源 |
--en | 使用英文配置构建 (docuo.config.en.json) |
--zh | 使用中文配置构建 (docuo.config.zh.json) |
清理 ~/.docuo 目录下的模板缓存。
docuo clear
创建或删除文档实例。
docuo instance --create <instance_id>
docuo instance --delete <instance_id>
创建或删除文档版本。
docuo version --create <version> [--instance <instance_id>]
docuo version --delete <version> [--instance <instance_id>]
添加或移除文档语言。
docuo locale --add <locale>
docuo locale --remove <locale>
从 OpenAPI 规范文件生成 MDX 文档。
docuo gen-openapi-docs
# 或使用别名
docuo god
清理生成的 OpenAPI MDX 文件。
docuo clean-openapi-docs
# 或使用别名
docuo cod
CLI 会将模板文件缓存到 ~/.docuo/<项目名>-docuo-template/ 目录,并将你的文档项目复制到该目录下运行。文件变更会自动同步并触发热重载。
@spreading 组织的发布权限# 进入 cli 目录
cd cli
# 登录 npm(首次发布或 token 过期时需要)
npm login
# 更新版本号(选择其一)
npm version patch # 修订版本 1.2.0 -> 1.2.1
npm version minor # 次版本 1.2.0 -> 1.3.0
npm version major # 主版本 1.2.0 -> 2.0.0
# 发布
npm publish
@spreading/docuo,是 scoped 包,已配置 "access": "public"package.json 中的版本号已更新publishConfig 中指定官方源)FAQs
Docuo 文档系统的命令行工具,用于本地开发、预览和管理文档项目。
We found that @spreading/docuo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.