[Pkg-javascript-devel] Bug#942809: node-typescript: Please embed ts-node

Xavier Guimard yadd at debian.org
Mon Oct 21 21:59:08 BST 2019


Package: node-typescript
Version: 3.6.4-1
Severity: wishlist

Hi,

ts-node is often used in conjunction with typescript. It could be useful
to embed it in node-typescript.

> TypeScript execution and REPL for node.js, with source map support.
>
> # Execute a script as `node` + `tsc`.
> ts-node script.ts
>
> # Starts a TypeScript REPL.
> ts-node
>
> # Execute code with TypeScript.
> ts-node -e 'console.log("Hello, world!")'
>
> # Execute, and print, code with TypeScript.
> ts-node -p -e '"Hello, world!"'
>
> # Pipe scripts to execute with TypeScript.
> echo "console.log('Hello, world!')" | ts-node



More information about the Pkg-javascript-devel mailing list