Skip to content

TypeScript execution for node.js, that will build the project and run the compiled files

Notifications You must be signed in to change notification settings

quentinadam/tsc-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@quentinadam/tsc-node

npm version code style: prettier

TypeScript execution for node.js, that will build the project and run the compiled javascript files.

Installation

Local installation:

npm install -D @quentinadam/tsc-node

Global installation:

npm install -g @quentinadam/tsc-node

Usage

Executing a script with tsc-node will be equivalent to running tsc -b in the current directory to compile the whole TypeScript project (works with project references) and running the compiled .js file with node.

tsc-node script.ts

The handler can also be registered to the node binary.

node -r @quentinadam/tsc-node script.ts

About

TypeScript execution for node.js, that will build the project and run the compiled files

Resources

Stars

Watchers

Forks

Packages

No packages published