comptime.ts — compile-time expressions for TypeScript
comptime.ts is a TypeScript compiler that enables compile-time evaluation of expressions marked with 'comptime', moving computations from runtime to build time for performance optimization. It supports Vite and Bun bundlers, offers CLI and API usage, and can handle promises and complex expressions. The tool requires JSON-serializable return values and provides safety warnings about compile-time code execution.