{"id":37473527,"url":"https://github.com/stefanprokopdev/firebless","last_synced_at":"2026-01-16T07:19:13.623Z","repository":{"id":48436952,"uuid":"237797547","full_name":"stefanprokopdev/firebless","owner":"stefanprokopdev","description":"Firebless allows you to create repositories from Firestore collections","archived":false,"fork":false,"pushed_at":"2021-07-26T14:57:58.000Z","size":261,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T11:24:40.908Z","etag":null,"topics":["backend","database","firebase","firestore","javascript","nodejs","repository"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/stefanprokopdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-02T16:09:28.000Z","updated_at":"2021-07-26T14:56:22.000Z","dependencies_parsed_at":"2022-09-07T09:20:19.969Z","dependency_job_id":null,"html_url":"https://github.com/stefanprokopdev/firebless","commit_stats":null,"previous_names":["stefan-prokop-cz/firebless"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/stefanprokopdev/firebless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanprokopdev%2Ffirebless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanprokopdev%2Ffirebless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanprokopdev%2Ffirebless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanprokopdev%2Ffirebless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefanprokopdev","download_url":"https://codeload.github.com/stefanprokopdev/firebless/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanprokopdev%2Ffirebless/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["backend","database","firebase","firestore","javascript","nodejs","repository"],"created_at":"2026-01-16T07:19:13.119Z","updated_at":"2026-01-16T07:19:13.604Z","avatar_url":"https://github.com/stefanprokopdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\n# Firebless\n[![Build Status](https://img.shields.io/travis/com/stefan-prokop-cz/firebless/master.svg?style=flat-square)](https://travis-ci.com/stefan-prokop-cz/firebless)\n[![Npm](https://img.shields.io/npm/v/firebless.svg?style=flat-square)](https://www.npmjs.com/package/firebless)\n[![Coverage](https://img.shields.io/codeclimate/coverage/stefan-prokop-cz/firebless.svg?style=flat-square)](https://codeclimate.com/github/stefan-prokop-cz/firebless)\n[![Maintainability](https://img.shields.io/codeclimate/maintainability/stefan-prokop-cz/firebless.svg?style=flat-square)](https://codeclimate.com/github/stefan-prokop-cz/firebless)\n[![Vulnerabilities](https://img.shields.io/snyk/vulnerabilities/github/stefan-prokop-cz/firebless.svg?style=flat-square)](https://snyk.io/test/github/stefan-prokop-cz/firebless?targetFile=package.json)\n[![License](https://img.shields.io/github/license/stefan-prokop-cz/firebless.svg?style=flat-square)](https://github.com/stefan-prokop-cz/firebless/blob/master/LICENSE)\n\nFirebless allows you to create repositories from [Firestore](https://cloud.google.com/firestore/) collections. It providing basic methods such as `detail`, `list`, `create`, `update`, `delete` and more.\n\n\u003c/div\u003e\n\n## Install\n\n```\nnpm i firebless\n```\n\n## Basic usage\n```typescript\nimport { defaultFirestoreRepository, initFirestore } from 'firebless';\n\nconst db = initFirestore({/* todo */}); // or use custom instance\n\ninterface User {\n  id?: string;\n  name: string;\n}\nconst userRepository = defaultFirestoreRepository.bind\u003cUser\u003e(db.collection('users'));\n// userRepository.detailById('123')\n// userRepository.list({ name: 'Test' })\n// ...\n```\n\n## Custom repository\n```typescript\nimport { defaultFirestoreRepository, initFirestore } from 'firebless';\n\nconst db = initFirestore({/* todo */}); // or use custom instance\n\ninterface User {\n  id?: string;\n  name: string;\n}\nconst userRepository = (defaultRepo =\u003e {\n    const list = () =\u003e {\n        // custom logic\n        return defaultRepo.list({}, defaultRepo.getCollection().orderBy('name', 'asc'));\n    };\n    return {\n        ...defaultRepo,\n        list,\n    };\n})(defaultFirestoreRepository.bind\u003cUser\u003e(db.collection('users')));\n```\n\n## Examples\n- [Create](./CreateExample.md)\n- [List](./ListExample.md)\n- [Detail](./DetailExample.md)\n- [Update](./UpdateExample.md)\n- [Delete](./DeleteExample.md)\n- [Bulk](./BulkExample.md)\n\n- [API documentation](https://stefan-prokop-cz.github.io/firebless/)\n\n## Debug\n\nYou need to set the `NODE_DEBUG` variable to the `firebless`.\n\n## Testing\n\n```\nnpm t\n\nnpm run test:coverage\n```\n\n## License\n\nThis project is licensed under [MIT](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanprokopdev%2Ffirebless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanprokopdev%2Ffirebless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanprokopdev%2Ffirebless/lists"}