{"id":23095008,"url":"https://github.com/preignition/lit-firebase","last_synced_at":"2025-09-14T23:16:41.766Z","repository":{"id":98887273,"uuid":"239280413","full_name":"preignition/lit-firebase","owner":"preignition","description":"Webcomponent for interacting with Firebase, inspired by polymerfire, but based on lit-element","archived":false,"fork":false,"pushed_at":"2023-08-15T23:48:42.000Z","size":677,"stargazers_count":3,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-01T08:01:29.544Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/preignition.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-09T09:50:45.000Z","updated_at":"2024-07-24T13:53:32.000Z","dependencies_parsed_at":"2025-02-10T05:15:33.390Z","dependency_job_id":null,"html_url":"https://github.com/preignition/lit-firebase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/preignition/lit-firebase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preignition%2Flit-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preignition%2Flit-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preignition%2Flit-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preignition%2Flit-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/preignition","download_url":"https://codeload.github.com/preignition/lit-firebase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preignition%2Flit-firebase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275180240,"owners_count":25419074,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-12-16T22:19:11.410Z","updated_at":"2025-09-14T23:16:41.726Z","avatar_url":"https://github.com/preignition.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \\\u003cpreignition/lif\u003e\n\nThis webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.\n\nA lit-element based implementation of [polymerfire](https://github.com/FirebaseExtended/polymerfire).\n\nFor the time being, only `firebase-document` and `firebase-query` have been migrated (to resp. `lif-document` and `lif-query`). \n`firebase-auth` and `firebase-app` will not be upgraded as it is usually simpler to instantiate database and handle authentication via js. \n\nThose components require firebase SDK to be made available on the client (see https://firebase.google.com/docs/web/setup).\n\nUse at your own risks as this is beta product. \n\n\n## Installation\n```bash\nnpm i @preignition/lifbase\n```\n\n## Usage\n```html\n\u003cscript type=\"module\"\u003e\n  import '@preignition/lifbase';\n\u003c/script\u003e\n\nand in lit-element render: \n\n\u003clif-document path=\"myPath\" @data-changed=\"${e=\u003e this.data = e.detail.value}\"\u003e\u003c/lif-document\u003e\n\u003clif-query path=\"myPath\" @data-changed=\"${e=\u003e this.data = e.detail.value}\"\u003e\u003c/lif-query\u003e\n```\n\n## Testing with Karma\nTo run the suite of karma tests, run\n```bash\nnpm run test\n```\nor to run them in compatibility mode for legacy browsers\n```bash\nnpm run test:compatibility\n```\n\nTo run the tests in watch mode (for \u003cabbr title=\"test driven development\"\u003eTDD\u003c/abbr\u003e, for example), run\n\n```bash\nnpm run test:watch\n```\nor\n```bash\nnpm run test:compatibility\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreignition%2Flit-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreignition%2Flit-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreignition%2Flit-firebase/lists"}