# text-editor-cljs

> ## Install

Latest version **0.0.20** (published 2022-05-22) · 0 weekly downloads

## Install

```sh
npm install text-editor-cljs
pnpm add text-editor-cljs
yarn add text-editor-cljs
bun add text-editor-cljs
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.20 |
| Published | 2022-05-22 |
| First published | 2022-01-17 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | danielmarreirosdeoliveira |

## Links

- npm: https://www.npmjs.com/package/text-editor-cljs
- npm.io page: https://npm.io/package/text-editor-cljs

## Recent versions

- 0.0.20 (latest) — 2022-05-22
- 0.0.19 — 2022-05-22
- 0.0.18 — 2022-01-18
- 0.0.17 — 2022-01-18
- 0.0.16 — 2022-01-18
- 0.0.15 — 2022-01-18
- 0.0.14 — 2022-01-18
- 0.0.13 — 2022-01-17
- 0.0.12 — 2022-01-17
- 0.0.11 — 2022-01-17
- 0.0.10 — 2022-01-17
- 0.0.9 — 2022-01-17
- 0.0.8 — 2022-01-17
- 0.0.7 — 2022-01-17
- 0.0.6 — 2022-01-17
- … 5 more at https://npm.io/package/text-editor-cljs/versions

## README

# text-editor-cljs

## Install

    npm i

## Start

    1$ npx shadow-cljs server
    2$ npx shadow-cljs watch app
    Visit localhost:8020

Click on the textarea and press some keyboard buttons, including modifier keys.
The output is visible in the developer console of the browser, namely the listing
of which keys are pressed.

## Publish

    $ npx shadow-cljs release library
    $ npm version patch
    $ npm publish

Use

    $ npm i text-editor-cljs

    import {Editor} from "text-editor-cljs"
    console.log(Editor.hello("dan"))

## Test

Run

    1$ npx shadow-cljs watch test
    2$ npx node test-main.js
    3$ npx shadow-cljs cljs-repl test

Run

    => (require '[cljs-run-test :refer [run-test]])
    => (run-test editor-test/base-case)

Hot code reloading works for both the tests and for the code, that is, 
you should be able to get an up to date result of `(run-test editor-test/base-case)`
after saving a file.

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