Installed roll-parser version — the exact string in package.json, so
pre-releases keep their suffix ('3.0.0-beta.0'). Sourced from the
generated src/version.ts, kept in sync with the manifest by
bun run generate:version and gated by check:version and CI.
Useful in bug reports and for feature-gating against a minimum version. The
CLI prints it for --version and in the --help header.
Example
import { VERSION } from'roll-parser';
VERSION; // e.g. '3.0.0', or '3.1.0-beta.0' on a pre-release VERSION.startsWith('3.'); // true
Installed roll-parser version — the exact string in
package.json, so pre-releases keep their suffix ('3.0.0-beta.0'). Sourced from the generatedsrc/version.ts, kept in sync with the manifest bybun run generate:versionand gated bycheck:versionand CI.Useful in bug reports and for feature-gating against a minimum version. The CLI prints it for
--versionand in the--helpheader.