An open API service indexing awesome lists of open source software.

https://github.com/jstransformers/jstransformer-typescript

TypeScript support for JSTransformers.
https://github.com/jstransformers/jstransformer-typescript

Last synced: over 1 year ago
JSON representation

TypeScript support for JSTransformers.

Awesome Lists containing this project

README

          

# jstransformer-typescript

[typescript](http://example.com) support for [JSTransformers](http://github.com/jstransformers).

[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-typescript/master.svg)](https://travis-ci.org/jstransformers/jstransformer-typescript)
[![Coverage Status](https://img.shields.io/codecov/c/github/jstransformers/jstransformer-typescript/master.svg)](https://codecov.io/gh/jstransformers/jstransformer-typescript)
[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-typescript/master.svg)](http://david-dm.org/jstransformers/jstransformer-typescript)
[![NPM version](https://img.shields.io/npm/v/jstransformer-typescript.svg)](https://www.npmjs.org/package/jstransformer-typescript)

## Installation

npm install jstransformer-typescript

## API

```js
var typescript = require('jstransformer')(require('jstransformer-typescript'))

typescript.render("let x: string = 'Hello, World!'").body
//=> var x = 'Hello, World!';
```

## License

MIT