RudderTyper is a CLI tool (current stable v1.7.5) that generates strongly-typed analytics clients for RudderStack based on your tracking plan spec. It produces compile-time error checking and autocomplete for event names, properties, and types. Supports JavaScript, Node.js, Android, and iOS targets. Key differentiators: natively integrates with RudderStack tracking plans, enables CI validation of instrumentation before deployment, and outputs typed clients that reduce runtime errors. Release cadence is irregular with bug fixes and occasional features. Maintained by RudderStack.
npm install rudder-typerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize RudderTyper with a tracking plan, then use the generated typed client to track events.
Always use npx rudder-typer <command> or install globally with npm i -g rudder-typer and run rudder-typer.
Version-control the generated files and plan.json. Run update only when tracking plan changes intentionally.
Ensure you have a RudderStack workspace and tracking plan before running init.
Use `init` instead of `initialize`.
Upgrade to v1.6.0+ with `npm install -g rudder-typer@latest`.
Verify tracking plan exists in RudderStack UI, then update CLI: npm install -g rudder-typer@latest
Use npx rudder-typer <command> for CLI, or install the generated client package separately.
Run `npx rudder-typer init` to create configuration and plan.json.
No dependency data recorded yet.