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

https://github.com/malkiii/twoslash-snippet

Twoslash Snippet is a typescript snippet generator powered by @shikijs/twoslash. It allows users to generate interactive TypeScript snippets with ease.
https://github.com/malkiii/twoslash-snippet

code-snippet playground preview twoslash typescript

Last synced: 5 months ago
JSON representation

Twoslash Snippet is a typescript snippet generator powered by @shikijs/twoslash. It allows users to generate interactive TypeScript snippets with ease.

Awesome Lists containing this project

README

          

# `// ^?` Twoslash Snippet

A Typescript twoslash snippet generator powered by [@shikijs/twoslash](https://shiki.matsu.io/packages/twoslash).

## Local Usage

1. install dependencies using [bun](https://bun.sh/):

```sh
bun install
```

2. start the development server on [localhost:3000](http://localhost:3000):

```sh
bun run dev
```

## License

Distributed under the [MIT](https://github.com/malkiii/twoslash-snippet/blob/master/LICENSE) license.