Use TypeScript (or Babel-Node), with correct settings, and you probably can use any features you want in Node.js. You will need to choose compilation target according to node.green/ though. I think Node 10 is around ES2018.
Non-browser runtimes like Node.js can use JSDOM, if you really want to run Browser-side JavaScript, or use DOM, but there won't be any direct visual output.
Deno.js can also have tsconfig.json, but you mostly like don't have to create one, or edit it, in the first place.
Use TypeScript (or Babel-Node), with correct settings, and you probably can use any features you want in Node.js. You will need to choose compilation target according to node.green/ though. I think Node 10 is around ES2018.
Non-browser runtimes like Node.js can use JSDOM, if you really want to run Browser-side JavaScript, or use DOM, but there won't be any direct visual output.
Deno.js can also have
tsconfig.json
, but you mostly like don't have to create one, or edit it, in the first place.good points.
but why no tsconfig?