Installation
@cosyte/astm is a zero-dependency TypeScript package for Node.js. It ships dual ESM + CJS builds with
per-condition type declarations, so it works from either module system without configuration.
Status: published on npm, on the pre-alpha
0.0.xladder. The public surface can still change within0.0.x, before0.1.0.
Prerequisites
- Node.js >= 22 (the whole
@cosyte/*suite targets ES2023 / Node 22+). - A package manager -
pnpm,npm, oryarn.
Install
npm install @cosyte/astm
Smoke test
Confirm the package resolves and its version symbol is present:
import { VERSION } from "@cosyte/astm";
console.log(VERSION);
If that prints a version string, the install is good - head to the Quickstart.