1.0.4 • Published 7 months ago

cli-binary-load-typescript v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Loading TypeScript file from executable CLI

This is just a PoC evaluating how to dynamically load a TypeScript file from a executable Node.js binary. (Meant to be used on colyseus/colyseus#594)

This is highly based on @acro5piano's approach on kysely-migration-cli


Installation

npm install
npm run build

Usage

Execute providing the TypeScript file to load

./bin/bin.js ./testfile.ts

License

MIT

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago