Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/andrelmlins/svelte-transpile-typescript
- Owner: andrelmlins
- License: mit
- Created: 2021-02-23T04:08:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-02-23T05:14:36.000Z (over 3 years ago)
- Last Synced: 2024-10-28T01:38:43.813Z (16 days ago)
- Topics: cli, svelte, transpile, typescript
- Language: TypeScript
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).