direct execution of TypeScript projects with ts-node
dist | ||
scripts | ||
test | ||
ts | ||
.gitignore | ||
.gitlab-ci.yml | ||
.snyk | ||
cli.js | ||
dependencies.yml | ||
LICENSE | ||
npmextra.json | ||
package-lock.json | ||
package.json | ||
readme.md | ||
tslint.json |
tsrun
run typescript programs efficiently
Availabililty
Status for master
Usage
Use TypeScript for best in class instellisense.
To simply run a TypeScript file on the fly type
tsrun myfiletorun.ts
There are two options available:
--nocache
will disable any caching. Caching speeds up execution, but causes problems in read only environments (e.g. sometimes docker containers are readonly)--web
will inject browser types. this is useful when testing code with polyfills on node, but that is meant for the browser later on.
For further information read the linked docs at the top of this README.
licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy