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

@robomaster-cone/rplc-wasm

v0.3.0

Published

WASM bindings for RPLC - RoboMaster Packet Library Compiler

Readme

RPLC - RPL Compiler

RPLC (RPL Compiler) 是一个基于 Rust 的包生成工具,专为 RPL 项目设计。它可以将 JSON 配置文件转换为标准化的 C++ 头文件,用于机器人通信包。

功能特点

  • JSON 配置: 通过 JSON 文件定义包结构
  • 代码生成: 输出带有打包结构和包特性的 C++ 头文件
  • 验证功能: 根据 C++ 语法规则和最佳实践进行全面验证
  • 跨平台支持: 支持 Windows、Linux 和 macOS
  • WebAssembly 绑定: 提供 Web 使用的 WASM 版本

安装

预编译二进制文件

发布页面 下载最新版本。

源码编译

cargo build --release

使用方法

命令行工具使用

# 从 JSON 配置生成 C++ 头文件
./rplc config.json

# 指定输出目录
./rplc config.json --output ./output/

WebAssembly 版本使用

WASM 版本允许你在浏览器或 Node.js 环境中直接使用 RPLC。

JSON 配置格式

详情请参阅 配置格式文档

架构

该项目采用多包工作区结构,包含三个主要组件:

  • rplc_core: 核心生成和验证逻辑
  • rplc_cli: 命令行界面
  • rplc_wasm: WebAssembly 绑定

许可证

本项目采用 ICS 许可证 - 详情请见 LICENSE 文件。

贡献

欢迎提交拉取请求。