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

@world-forge/export-ai-rpg

v4.4.2

Published

Export/import pipeline between WorldProject and ai-rpg-engine ContentPack

Readme

@world-forge/export-ai-rpg

用于 World Forge 的导出流水线,将 WorldProject 转换为 ai-rpg-engineContentPack

安装

npm install @world-forge/export-ai-rpg

API

import { exportToEngine } from '@world-forge/export-ai-rpg';

const result = exportToEngine(myProject);
if (!result.success) {
  console.error(result.errors);
} else {
  const { contentPack, manifest, packMeta, warnings } = result;
}

命令行界面 (CLI)

npx world-forge-export project.json --out ./my-pack
npx world-forge-export project.json --validate-only

选择哪个导出器?

World Forge 提供了多个游戏引擎导出器。选择与您的目标运行时相匹配的导出器:

| 导出器 | 目标 | 何时使用… | |----------|--------|-----------| | @world-forge/export-ai-rpg (此包) | ai-rpg-engine ContentPack | 您希望创建一个以文本为基础、以系统驱动为核心的 AI 角色扮演游戏,包括 NPC、区域、派系、对话图和成长树。 | | @world-forge/export-unreal | Unreal Engine 5 的 2.5D 项目 | 您正在构建一个 2.5D 的 Unreal 游戏,需要将关卡/角色/数据表导出。 | | @world-forge/export-godot | Godot 4 项目 | 您正在构建一个 Godot 4 角色扮演游戏,并且希望导出场景和资源。 |

如果您不确定,请从这里开始 (export-ai-rpg),它是参考导出器,并且可以生成最丰富的系统层。

它转换的内容

| World Forge | 游戏引擎 | |-------------|--------| | 区域 | ZoneDefinition[] | | 行政区 | DistrictDefinition[] | | 实体放置 | EntityBlueprint[](包含属性、资源、AI) | | 物品放置 | ItemDefinition[](包含插槽、稀有度、属性) | | 项目元数据 | GameManifest + PackMetadata |

许可证

MIT