# svelte-ts-plugin

> TypeScript Language Service Plugin for Svelte

Latest version **0.0.1** (published 2020-01-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install svelte-ts-plugin
pnpm add svelte-ts-plugin
yarn add svelte-ts-plugin
bun add svelte-ts-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2020-01-08 |
| First published | 2020-01-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Dalius Dobravolskas |
| Maintainers | daliusd |
| Keywords | typescript, svelte |

## Links

- npm: https://www.npmjs.com/package/svelte-ts-plugin
- Repository: https://github.com/daliusd/svelte-ts-plugin
- Homepage: https://github.com/daliusd/svelte-ts-plugin#readme
- Issues: https://github.com/daliusd/svelte-ts-plugin/issues
- npm.io page: https://npm.io/package/svelte-ts-plugin

## Recent versions

- 0.0.1 (latest) — 2020-01-08

## README

# TypeScript Language Service Plugin for Svelte

This is an attempt to pass javascript from .svelte to tsserver.

I personally use it with Vim ALE to get better auto-complete.  A little bit more information what I have tried to do
here https://blog.ffff.lt/posts/vim-and-svelte/#typescript

##

## Development instructions

1. `cd svelte-ts-plugin` and `$ npm link`
2. `cd to_your_project` and `$ npm link svelte-ts-plugin`
3. Add plugin to jsconfig.json. E.g.:

```json
{
  "compilerOptions": {
    "plugins": [{ "name": "svelte-ts-plugin" }]
  }
}
```

If you prefer (or are forced) to use yarn then replace `npm` to `yarn` in commands above.

## Useful links

This information might be useful:

* https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html#supported-jsdoc

* https://github.com/microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin

* [tsserver running entire .vue files #927](https://github.com/dense-analysis/ale/issues/927)

---
_Source: https://npm.io/package/svelte-ts-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
