0.4.0 • Published 6 years ago

ts-emitter v0.4.0

Weekly downloads
160
License
MIT
Repository
github
Last release
6 years ago

ts-emitter

GitHub license npm Travis Coverage Status Commitizen friendly Standard Version Greenkeeper badge

Emitting typescript as back to typescript.

Features

  • Keep original source as much as possible and only update whats changed.

Usage

Installation

Install as npm package:

$ npm install ts-emitter

Tests

The typescript compiler test suite is used to test the code generator. To create and run the test harness execute

$ npm run update-harness
$ npm run harness

API

  import { fromPath, toSource } from 'ts-emitter';

  const ast = fromPath('path/to/source-file.ts'));
  // Do something with the AST
  const source = toSource(ast);
0.4.0

6 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago