Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/andrelmlins/svelte-transpile-typescript

Transpile typescript in the svelte files
https://github.com/andrelmlins/svelte-transpile-typescript

cli svelte transpile typescript

Last synced: 13 days ago
JSON representation

Transpile typescript in the svelte files

Awesome Lists containing this project

README

        

# Svelte transpile typescript

[![npm version](https://badge.fury.io/js/svelte-transpile-typescript.svg)](https://www.npmjs.com/package/svelte-transpile-typescript) • [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/andrelmlins/svelte-transpile-typescript/blob/master/LICENSE) • [![Node.js CI](https://github.com/andrelmlins/svelte-transpile-typescript/workflows/Node.js%20CI/badge.svg)](https://github.com/andrelmlins/svelte-transpile-typescript/actions?query=workflow%3A%22Node.js+CI%22)

Transpile typescript in the svelte files.

## Installation

```
npm i svelte-transpile-typescript
// OR
yarn add svelte-transpile-typescript
```

## Using

```sh
svelte-transpile-typescript -i src/Button.svelte -o dist/Button.svelte
```

### Options

| Option | Alias | Description |
| ------------------------------ | --------------- | ------------------------ |
| --input [input] | -i | Input file or directory |
| --output [output] | -o | Output file or directory |

## NPM Statistics

Download stats for this NPM package

[![NPM](https://nodei.co/npm/svelte-transpile-typescript.png)](https://nodei.co/npm/svelte-dts/)

## License

Svelte dts is open source software [licensed as MIT](https://github.com/andrelmlins/svelte-transpile-typescript/blob/master/LICENSE).