Catullus is a transpiler that compiles modern JavaScript syntax to compatible versions for older environments. It acts as a wrapper around Babel and presets to simplify build configuration. The current stable version is 2.0.0, with no active release cadence apparent from the metadata. Key differentiators: it provides a CLI command (catullus babel) and integrates with .babelrc. Compared to plain Babel, Catullus aims to reduce boilerplate but enters a space already well-covered by higher-level tools like Parcel or Webpack. The project appears unmaintained with sparse documentation and limited community adoption.
npm install catullusNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Quickstart showing installation, .babelrc setup, and CLI usage for transpiling a Node project.
Use Babel 7+ directly: replace with @babel/preset-env and update plugins.
For non-JS files (e.g., .jsx, .ts), use Webpack or another bundler.
Use `catullus babel` instead of just `catullus`.
Migrate to @babel/preset-env (Babel 7) directly; Catullus may not support it.
Install old Babel presets: npm install babel-preset-env babel-preset-react babel-preset-stage-2
Create a valid .babelrc file in the project root.
Use 'catullus babel src' instead.