J2OCL lets JavaScript and TypeScript developers write real OpenCL GPU kernels without ever touching C or low-level code. It compiles a strict, fully-typed subset of TS ahead of time into native OpenCL C, mirroring OpenCL's own types and execution model as TypeScript classes.
npm install # install dependencies
npm run build # compile TypeScript to dist/
npm run typecheck # type-check src/, test/, and config files without emitting
npm test # run the test suite once
npm run test:watch # run the test suite in watch mode
npm run test:coverage # run the test suite with line/branch coverage
npm run lint # lint the codebase
npm run format # format the codebase
npm run format:check # check formatting without writing changes
npm run coverage:badges # regenerate coverage badge data from the last coverage run
npm version patch|minor|major # bumps the version in package.json, commits, and tags