{"id":15138371,"url":"https://github.com/aelbore/lit-custom-element","last_synced_at":"2026-02-01T11:32:06.247Z","repository":{"id":34274764,"uuid":"169529017","full_name":"aelbore/lit-custom-element","owner":"aelbore","description":"Lightweight library for building native web components","archived":false,"fork":false,"pushed_at":"2022-12-10T16:44:07.000Z","size":1065,"stargazers_count":2,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T13:02:53.133Z","etag":null,"topics":["custom-elements","javascript","library","lightweight","lit-html","native","webcomponents"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aelbore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-07T06:29:12.000Z","updated_at":"2023-01-12T15:16:40.000Z","dependencies_parsed_at":"2023-01-15T05:49:51.677Z","dependency_job_id":null,"html_url":"https://github.com/aelbore/lit-custom-element","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/aelbore/lit-custom-element","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelbore%2Flit-custom-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelbore%2Flit-custom-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelbore%2Flit-custom-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelbore%2Flit-custom-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aelbore","download_url":"https://codeload.github.com/aelbore/lit-custom-element/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelbore%2Flit-custom-element/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260072819,"owners_count":22954926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom-elements","javascript","library","lightweight","lit-html","native","webcomponents"],"created_at":"2024-09-26T07:22:42.648Z","updated_at":"2026-02-01T11:32:06.213Z","avatar_url":"https://github.com/aelbore.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Coverage Status](https://coveralls.io/repos/github/aelbore/lit-custom-element/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/aelbore/lit-custom-element?branch=master)\n[![Build Status](https://travis-ci.com/aelbore/lit-custom-element.svg?branch=master)](https://travis-ci.com/aelbore/lit-custom-element)\n[![npm version](https://badge.fury.io/js/lit-custom-element.svg)](https://www.npmjs.com/package/lit-custom-element)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n# lit-custom-element\nLightweight library for building native web components\n\nInstallation\n------------\n\n  ```\n    npm install lit-custom-element\n  ```\n\n```javascript\n  import { LitCustomElement, html } from 'lit-custom-element'\n\n  class HelloWorld extends LitCustomElement {\n\n    get message() {\n      return this._message\n    }\n\n    set message(value) {\n      this._message = value\n      this.onPropertyChanged('message', true)\n    }\n\n    static get styles() {\n      return `\n        h1 { \n          color: red;\n        }\n      `\n    }\n\n    render() {\n      return html `\u003ch1\u003eHello ${this.message}!\u003c/h1\u003e`\n    }\n\n  }\n\n  customElements.define('hello-world', HelloWorld)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faelbore%2Flit-custom-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faelbore%2Flit-custom-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faelbore%2Flit-custom-element/lists"}