@easyai/client

中文文档
1.0.21发布于 2025/07/18MITCommonJS近 30 天下载 4664

⚠️ DEPRECATED: Use @easyai/cli instead. This package is deprecated and will not receive updates.

此软件包已被标记为弃用

DEPRECATED: This package is no longer maintained. Use @easyai/cli instead: npm install -g @easyai/cli

原始使用文档
文档目录9 节
  1. 🚀 Quick Start
  2. 1. Get Your API Key
  3. 2. Install EasyAI Client
  4. 3. Setup with Your API Key
  5. 4. Start the Dashboard
  6. 📋 Features
  7. 🛠️ Commands
  8. 🔧 Configuration
  9. 📝 License

EasyAI Client

Local development tools for AI prompt management and model switching.

🚀 Quick Start

1. Get Your API Key

Visit https://easy-ai.dev and sign up to get your API key.

2. Install EasyAI Client

npm install -g @easyai/client

3. Setup with Your API Key

easyai setup --api-key YOUR_API_KEY

4. Start the Dashboard

easyai ui

Your dashboard will open at http://localhost:3001

📋 Features

  • Local Dashboard - Manage prompts and settings locally
  • Model Switching - Switch between OpenAI, Claude, Gemini, and more
  • Cost Tracking - Monitor your AI usage costs in real-time
  • IDE Integration - Works with Claude Code, Cursor, and other tools
  • Prompt Management - Organize and version your prompts
  • Privacy First - All data stays on your machine

🛠️ Commands

  • easyai setup --api-key KEY - Configure EasyAI with your API key
  • easyai ui - Start the local dashboard
  • easyai prompts - Manage prompts (coming soon)

🔧 Configuration

After setup, your configuration is stored in .env:

EASYAI_API_KEY=your_api_key_here
EASYAI_BASE_URL=https://easy-aidev-production.up.railway.app

📝 License

MIT License - see LICENSE file for details.

版本与发布记录

@easyai/client 共发布 22 个版本,首次发布于 2025/07/18;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.0.21latest2025/07/181.3 年前
1.0.202025/07/181.3 年前
1.0.192025/07/181.3 年前
1.0.182025/07/181.3 年前
1.0.172025/07/181.3 年前
1.0.162025/07/181.3 年前

关于 @easyai/client 的常见问题

@easyai/client 是什么?

⚠️ DEPRECATED: Use @easyai/cli instead. This package is deprecated and will not receive updates.注意:该包已被作者标记为弃用——DEPRECATED: This package is no longer maintained. Use @easyai/cli instead: npm install -g @easyai/cli

如何安装 @easyai/client?

在项目目录运行 npm install @easyai/client,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 easyai,可以用 npx easyai 直接运行。

@easyai/client 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/easyai__client 是否存在。

@easyai/client 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@easyai/client 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=16.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@easyai/client 可以商用吗?

@easyai/client 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@easyai/client 的下载量有多少?

根据 npm 官方下载统计,@easyai/client 在 2026/10/13 – 2026/11/11 这 30 天内被下载 4,664 次,日均约 155 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@easyai/client 还在维护吗?

最新版本 1.0.21 发布于 2025/07/18(1.3 年前);至今共发布 22 个版本,其中过去 12 个月发布了 0 个;首次发布于 2025/07/18。作者已将其标记为弃用,新项目建议寻找替代方案。