# svelte-code-input

Latest version **0.0.1** (published 2022-03-23) · 0 weekly downloads

## Install

```sh
npm install svelte-code-input
pnpm add svelte-code-input
yarn add svelte-code-input
bun add svelte-code-input
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2022-03-23 |
| First published | 2022-03-23 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | @stordahl_ |
| Maintainers | stordahl_ |

## Links

- npm: https://www.npmjs.com/package/svelte-code-input
- npm.io page: https://npm.io/package/svelte-code-input

## Recent versions

- 0.0.1 (latest) — 2022-03-23

## README

<img src="https://simplecodetips.com/wp-content/uploads/2017/01/Linux-Terminal-icon.png" alt="A Terminal Icon" width="150px" align="center"/>

# svelte-code-input

A simple text input that emulates a code editor in the browser.

## Installation

```shell
npm install svelte-code-input
```

## Usage

```svelte
<script>
  import CodeEditor from "svelte-code-input/CodeEditor.svelte"
  
  import { writable } from "svelte/store"
  
  const codeStore = writable("");
</script>

<label for="code">My Code Input</label>
<CodeEditor name="code" store={codeStore}/>
```

## Contributing

*Contributing docs in the works*

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