@cspotcode/codegen
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Simple CLI for code generation. Generate source files from other source files.

Very early release; config is hardcoded. So here's what it does:

Files matching ./src/**/*.generate.ts will render into ./src/**/*.ts default export is invoked as a function, given a CodeGenApi instance. Return a string or call emit() on the api to generate code.

Dependents (0)

Package Sidebar

Install

npm i @cspotcode/codegen

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

28 kB

Total Files

37

Last publish

Collaborators

  • cspotcode