@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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.10latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.10

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