Skip to content

alexsch01/tsnode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsnode

run ts files in node with type-checking

https://github.com/alexsch01/tsnode


System Requirements

  • Node.js 22 (LTS) - v22.18.0 or later

    OR

  • Node.js v24.3.0 or later

How to use (Local install)

$ mkdir proj
$ cd proj
$ npm install @alexsch01/tsnode
$ npx tsnode --init

[Make a main.ts file]

$ npx tsnode main.ts
OR
$ node --import @alexsch01/tsnode main.ts

How to use (Global install)

$ npm install -g @alexsch01/tsnode
$ mkdir proj
$ cd proj
$ tsnode --init

[Make a main.ts file]

$ tsnode main.ts

About

run ts files in node with type-checking

Topics

Resources

License

Stars

Watchers

Forks