# hello-web-components
A simple starter **** web component written in typescript, using [lit](https://github.com/lit/lit). Unit tested with [node test runner](https://nodejs.org/api/test.html) and e2e tested with [playwright](https://playwright.dev/).
[](https://unpkg.com/hello-web-components/hello-web-components.min.js 'Gzip Bundle Size')
[](https://github.com/fernandopasik/hello-web-components/actions/workflows/main.yml 'Build Status')
[](https://codecov.io/gh/fernandopasik/hello-web-components 'Coverage Status')
[](https://snyk.io/test/github/fernandopasik/hello-web-components?targetFile=package.json 'Known Vulnerabilities')
[](https://www.npmjs.com/package/hello-web-components 'npm version')
[](https://www.npmjs.com/package/hello-web-components 'npm downloads')
## Usage
Clone the repository and modify it to your needs
```sh
git clone --depth 1 https://github.com/fernandopasik/hello-web-components.git
```
Install the package in your project and import the component
```sh
npm i hello-web-components lit
```
```js
import { html, render } from 'lit';
import 'hello-web-components';
const test = () => html``;
render(test(), document.body);
```
## License
MIT (c) 2020 [Fernando Pasik](https://fernandopasik.com)