osschat
osschat copied to clipboard
Is there any docs for introducing the what is ts-node?
Sorry that I don't know anything about front-end technology. So I don't know how to run this project on my machine...
I try to search the ts-node
, but it makes me more confused, the typescript, vue.js and other nouns are completely new to me...
So is there any docs to introduce the technology stack of this project, so that I can have a preliminary understanding of the project.
Thanks very much!
TL;DR:
As we know, the python
is the REPL/parser for Python language.
The ts-node
is the REPL/parser for TypeScript (which is a superset of the JavaScript) language.
You can use the ts-node
to run TypeScript program files.
Install ts-node
by:
- Install Node.js (from https://nodejs.org/)
- run
npm install --global ts-node
An example can be found in our repo as the following:
https://github.com/kaiyuanshe/oss-bot/blob/5d6a0bb3e6cbb4620e20897f28495174e1d22619/Procfile#L4
Thank you, I will try to learn a bit about type script.
I have added this question to our FAQ.
Please feel free to add more questions to our FAQ if you have, I'll add the answers for you. :)