cortisol
v0.1.6
Published
Cortisol extends node's TypeScript execution by introducing "nice-to-have" runtime features.
Maintainers
Readme
cortisol
Cortisol extends node's TypeScript execution by introducing "nice-to-have" runtime features.
Features
TSConfig Support
Cortisol finds and reads your TSConfig to add support for importing via @paths.
Extensionless Imports
Cortisol will properly resolve import { x } from "./y"; during runtime execution, removing the need of an import rewriter.
Extended Type Stripping
Cortisol extends node's type stripping by stripping also experimental features like decorators and x = <number>0; type casts.
Usage
npx cortisol <filename>
or
npm install cortisol && node --import cortisol <filename>
