{"id":21911611,"url":"https://github.com/fabricelements/shared-helpers","last_synced_at":"2026-04-11T02:03:37.132Z","repository":{"id":34706531,"uuid":"180871794","full_name":"FabricElements/shared-helpers","owner":"FabricElements","description":"Helpers for Firebase projects","archived":false,"fork":false,"pushed_at":"2024-02-25T14:42:53.000Z","size":2895,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-02-25T15:45:22.636Z","etag":null,"topics":["firebase","firestore","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FabricElements.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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}},"created_at":"2019-04-11T20:22:20.000Z","updated_at":"2024-04-15T13:57:21.698Z","dependencies_parsed_at":"2024-04-15T13:57:03.071Z","dependency_job_id":"ef487552-47ca-4cc2-8484-96ec0817ebfe","html_url":"https://github.com/FabricElements/shared-helpers","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabricElements%2Fshared-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabricElements%2Fshared-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabricElements%2Fshared-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabricElements%2Fshared-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FabricElements","download_url":"https://codeload.github.com/FabricElements/shared-helpers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244929225,"owners_count":20533736,"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":["firebase","firestore","typescript"],"created_at":"2024-11-28T18:06:56.284Z","updated_at":"2025-10-12T02:11:14.400Z","avatar_url":"https://github.com/FabricElements.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FabricElements Shared Helpers\nUse `@fabricelements/shared-helpers` on Firebase projects.\n\n------\n## Installation\nFrom NPM\n\n```shell\n$ npm i @fabricelements/shared-helpers --save\n```\nor from GitHub\n```shell\n$ npm i github:FabricElements/shared-helpers --save\n```\n## Examples\n### Basic usage\nImport only what you need\n```js\nimport {firestore, pubSubEvent} from \"@fabricelements/shared-helpers\";\n```\nOr import everything\n```js\nimport * as sharedHelpers from \"@fabricelements/shared-helpers\";\n```\n## Available functions\n\n### [apiRequest](src/api-request.ts)\nCall firebase project base API\n\n### [backup](src/backup.ts)\nCustom backup from Firestore to BigQuery\n\n### [checkNumber](src/check-number.ts)\nCheck if number is valid and format\n\n### [cleaner](src/cleaner.ts)\nBig Query Clean Database\n\n### [firestore](src/firestoreHelper.ts)\nGoogle Cloud Firestore helpers\n\n### [global](src/global.ts)\nBasic and reusable helpers\n\n### [hashId](src/hash-id.ts)\nGenerate randomDomain hash id with 4 characters or more\n\n### [pubSubEvent](src/pubsub-event.ts)\nGoogle cloud Pub/Sub event\n\n### [replaceMessageText](src/replace-message-text.ts)\nReplace message text with custom keys\n\n### [specialCharToRegular](src/special-char-to-regular.ts)\nReplace special character to regular gsm character\n\n### [status](src/status.ts)\nUpdate Status Collection with Errors\n\n## Contributing\n\nPlease check [CONTRIBUTING](CONTRIBUTING.md).\n\n## License\n\nReleased under the [BSD 3-Clause License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabricelements%2Fshared-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabricelements%2Fshared-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabricelements%2Fshared-helpers/lists"}