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

@creator-studio-os/iwork-docs

v2.0.1

Published

Pages and Numbers tools for Creator Studio OS — document and spreadsheet lifecycle, multi-format export (PDF, Word, EPUB, Excel, CSV)

Readme

@creator-studio-os/iwork-docs

Pages 和 Numbers 工具,用于 Creator Studio OS — 文档和电子表格的生命周期管理,支持多种格式导出(PDF、Word、EPUB、Excel、CSV)。

它是 Apple Creator Studio 应用的 MCP 控制平面的一部分,位于 Creator Studio OS


安装

npm install @creator-studio-os/iwork-docs

需要 Pages 和/或 Numbers(Apple iWork 的一部分,可在 Mac App Store 免费获取),以及 macOS 13 或更高版本。

此软件包的功能

通过 AppleScript 驱动 Apple Pages 和 Numbers,可以在不直接操作图形界面(GUI)的情况下,打开、关闭和导出多种格式的文档。

工具 (10)

Pages (5)

| 工具 | 描述 | |------|-------------| | pages_app_open | 激活 Pages | | pages_app_running | 检查 Pages 是否正在运行 | | pages_open | 打开 Pages 文档;返回文档名称 | | pages_close | 关闭 Pages 文档(可选择保存) | | pages_export | 导出为 PDF、Word、RTF、纯文本或 EPUB |

Numbers (5)

| 工具 | 描述 | |------|-------------| | numbers_app_open | 激活 Numbers | | numbers_app_running | 检查 Numbers 是否正在运行 | | numbers_open | 打开 Numbers 文档;返回文档名称 | | numbers_close | 关闭 Numbers 文档(可选择保存) | | numbers_export | 导出为 PDF、Microsoft Excel 或 CSV |

示例

import { registerPagesTools, registerNumbersTools } from "@creator-studio-os/iwork-docs";
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";

const server = new McpServer({ name: "csos", version: "2.0.0" });
registerPagesTools(server);
registerNumbersTools(server);

将 Pages 文档导出为 Word 格式:

// Tool: pages_export
{
  "documentName": "Creative Brief.pages",
  "outputPath": "/projects/brief.docx",
  "format": "Word"
}

将 Numbers 电子表格导出为 CSV 格式:

// Tool: numbers_export
{
  "documentName": "Production Log.numbers",
  "outputPath": "/projects/log.csv",
  "format": "CSV"
}

恢复配置文件

import { pagesRecovery, numbersRecovery } from "@creator-studio-os/iwork-docs";

// pagesRecovery.app   === "pages"
// numbersRecovery.app === "numbers"

macOS 需求

@creator-studio-os/iwork-docs 仅适用于 macOS ("os": ["darwin"])。首次运行需要安装 Pages 和 Numbers,并授予其辅助功能/自动化权限。


主 README · 更新日志 · 安全说明