# @skatejs/renderer-lit-html

> A SkateJS renderer for Lit HTML.

Latest version **0.2.2** (published 2018-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @skatejs/renderer-lit-html
pnpm add @skatejs/renderer-lit-html
yarn add @skatejs/renderer-lit-html
bun add @skatejs/renderer-lit-html
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2018-09-03 |
| First published | 2017-09-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Trey Shugart |
| Maintainers | skatejs |
| Keywords | components, custom, dom, elements, web, vdom, virtual |

## Links

- npm: https://www.npmjs.com/package/@skatejs/renderer-lit-html
- npm.io page: https://npm.io/package/@skatejs/renderer-lit-html

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 0.2.2 (latest) — 2018-09-03
- 0.2.1 — 2018-08-03
- 0.2.0 — 2018-01-23
- 0.1.1 — 2017-12-05
- 0.1.0 — 2017-12-05
- 0.0.0 — 2017-09-25

## README

# skatejs/renderer-lit-html

SkateJS renderer for [Lit HTML](https://github.com/PolymerLabs/lit-html).

Please note `renderer-lit-html` uses Lit HTML's extended renderer by default. This provides slightly different
than default, and enhanced, functionality as described
[here](https://github.com/PolymerLabs/lit-html/blob/master/src/lib/lit-extended.ts#L25).

## Install

```sh
npm install skatejs lit-html @skatejs/renderer-lit-html
```

## Usage

This assumes knowledge of SkateJS.

```js
import { html } from 'lit-html';
import { withComponent } from 'skatejs';
import withLitHtml from '@skatejs/renderer-lit-html';

class MyComponent extends withComponent(withLitHtml()) {
  render() {
    return html`Hello, <slot />!`;
  }
}
```

---
_Source: https://npm.io/package/@skatejs/renderer-lit-html · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
