# lit-gen

> A package used to scaffold different types of Lit web components.

Latest version **1.0.1** (published 2022-12-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install lit-gen
pnpm add lit-gen
yarn add lit-gen
bun add lit-gen
```

Provides the command `lit-gen`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-12-06 |
| First published | 2022-12-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 25.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | John Clark |
| Maintainers | cl4rk_npm |
| Keywords | lit, lit generator, scaffold component, component generator |

## Links

- npm: https://www.npmjs.com/package/lit-gen
- Repository: https://github.com/clark-john/lit-gen
- Homepage: https://github.com/clark-john/lit-gen#readme
- Issues: https://github.com/clark-john/lit-gen/issues
- npm.io page: https://npm.io/package/lit-gen

## Dependencies (4)

- [arg](https://npm.io/package/arg.md) ^5.0.2
- [lit](https://npm.io/package/lit.md) ^2.4.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [colorette](https://npm.io/package/colorette.md) ^2.0.19

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2022-12-06

## README

# lit-gen

A command-line tool used to generate Lit web components such as lit elements, directives, controllers, etc.

## Installation

```bash
# npm
npm i lit-gen -D

# yarn
yarn add lit-gen -D

# pnpm
pnpm add lit-gen -D
```

##### Alternatively, you can install it globally

```bash
# npm
npm i lit-gen -g

# yarn
yarn global add lit-gen 

# pnpm
pnpm add lit-gen -g
```

## Usage

Generating an element:

```bash
npx lit-gen generate element clark ./src/components
```

### Note:

This project has not been tested.

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