Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TypeStrong/ts-node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.1.2
Choose a base ref
...
head repository: TypeStrong/ts-node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.2.0
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Jun 22, 2018

  1. Copy the full SHA
    14c7e26 View commit details
  2. 6.2.0

    blakeembrey committed Jun 22, 2018
    Copy the full SHA
    f260591 View commit details
Showing with 180 additions and 175 deletions.
  1. +2 −9 README.md
  2. +161 −160 package-lock.json
  3. +2 −2 package.json
  4. +9 −2 src/bin.ts
  5. +6 −2 src/index.ts
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]

> TypeScript execution and REPL for node. **Works with `typescript@>=2.0`**.
> TypeScript execution and REPL for node.js, with source map support. **Works with `typescript@>=2.0`**.
## Installation

@@ -21,14 +21,6 @@ npm install -g typescript

**Tip:** Installing modules locally allows you to control and share the versions through `package.json`.

## Features

* Execute TypeScript files with node
* Interactive REPL
* Execute (and print) TypeScript through the CLI
* Source map support
* Loads compiler options from `tsconfig.json`

## Usage

```sh
@@ -134,6 +126,7 @@ _Environment variable denoted in parentheses._
* `-C, --compiler [name]` Specify a custom TypeScript compiler (`TS_NODE_COMPILER`)
* `-D, --ignoreDiagnostics [code]` Ignore TypeScript warnings by diagnostic code (`TS_NODE_IGNORE_DIAGNOSTICS`)
* `-O, --compilerOptions [opts]` JSON object to merge with compiler options (`TS_NODE_COMPILER_OPTIONS`)
* `--files` Load files from `tsconfig.json` on startup (`TS_NODE_FILES`)
* `--pretty` Use pretty diagnostic formatter (`TS_NODE_PRETTY`)
* `--no-cache` Disable the local TypeScript Node cache (`TS_NODE_CACHE`)
* `--skip-project` Skip project config resolution and loading (`TS_NODE_SKIP_PROJECT`)
Loading