Download Latest Version v7.0.0 source code.tar.gz (73.4 kB)
Email in envelope

Get an email when there's a new version of CAC

Home / v7.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-02-27 1.7 kB
v7.0.0 source code.tar.gz 2026-02-27 73.4 kB
v7.0.0 source code.zip 2026-02-27 84.0 kB
Totals: 3 Items   159.1 kB 1

🚨 Breaking Changes

  • Drop Node.js < 20.19.0 support. Node.js 20.19.0 is now the minimum required version.
  • Remove CJS build. CAC is now ESM-only. If you rely on require(), either migrate to ESM imports or upgrade to Node.js ≥ 20.19.0, which supports require() for ES modules natively.
  • Rename event listener methods to follow the EventTarget API. cli.on() and related methods have been renamed to cli.addEventListener(). Update your code accordingly:

    :::diff --- cli.on('command:', () => { ... }) +++ cli.addEventListener('command:', () => { ... })

Notes for Deno Users

Please use the JSR package instead: @cac/cac

:::ts
import cac from 'jsr:@cac/cac'

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub
Source: README.md, updated 2026-02-27