🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

cli-binary-load-typescript

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-binary-load-typescript

This is just a PoC evaluating how to dynamically load a TypeScript file from a executable Node.js binary.

1.0.4
latest
Source
npm
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 22 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts