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

hahaha-luban-cli

v0.9.5

Published

Luban - Game configuration solution

Readme

Luban for Roblox-TS

icon

license star

English | 中文

本项目基于 Luban v4.5 开发,专门为 Roblox-TS 项目提供配置编译支持。

核心特性

原版 Luban 特性

  • 丰富的源数据格式 - 支持 Excel (csv, xls, xlsx, xlsm)、JSON、XML、YAML、Lua
  • 丰富的导出格式 - 支持 binary、JSON、BSON、XML、Lua、YAML
  • 完备的类型系统 - 支持 OOP 类型继承,可表达行为树、技能、剧情等复杂数据
  • 多语言代码生成 - C#、Java、Go、C++、Lua、Python、JavaScript、TypeScript、Rust 等
  • 强大的数据校验 - ref 引用检查、path 资源路径、range 范围检查等
  • 跨平台支持 - Win、Linux、Mac 平台良好运行

Roblox-TS 扩展特性

| 特性 | 状态 | 说明 | |------|------|------| | Constructor 验证器 | ✅ 已完成 | 验证类型继承关系 | | 字符串枚举类型 | ✅ 已完成 | 支持字符串值的枚举 | | JSON Schema 输出 | ✅ 已完成 | 为 luban-editor 提供 schema | | 工厂函数 (ObjectFactory) | 🔴 计划中 | 从配置创建独立对象实例 | | Flamework Reflect ID | 🔴 计划中 | 配置数据转换为类实例 | | TypeScript 引用定位 | 🔴 计划中 | 生成 .d.ts 引用已有类型 |

快速开始

构建项目

cd src
dotnet build Luban.sln

运行 Luban

cd src/Luban
dotnet run -- --conf <config_file> -t <target> [options]

运行测试

# 运行所有测试
npm test

# 运行详细输出
npm run test:verbose

# 运行特定测试
npm run test:filter "DisplayName~basic_types"

文档

用户文档

项目文档

开发文档

  • CLAUDE.md - 项目架构和开发指南(供 AI 助手和开发者参考)

项目结构

luban/
├── src/
│   ├── Luban/                      # CLI 入口
│   ├── Luban.Core/                 # 核心框架
│   ├── Luban.Lua/                  # Lua 代码生成器
│   ├── Luban.JsonSchema/           # JSON Schema 生成器
│   ├── Luban.DataLoader.Builtin/   # 数据加载器
│   ├── Luban.DataValidator.Builtin/# 数据验证器
│   └── Luban.DataTarget.Builtin/   # 数据导出器
├── tests/
│   └── Luban.IntegrationTests/     # 集成测试
├── docs/                           # 详细文档
└── scripts/                        # 构建脚本

支持与联系

  • QQ群: 692890842 (Luban开发交流群)
  • Discord: https://discord.gg/dGY4zzGMJ4
  • 邮箱: [email protected]

License

基于 MIT 许可证