{"id":30771906,"url":"https://github.com/single-spa/lifecyles-compat","last_synced_at":"2025-09-05T00:07:40.557Z","repository":{"id":310322677,"uuid":"1039438006","full_name":"single-spa/lifecyles-compat","owner":"single-spa","description":"Compatibility layer for single-spa applications that use old lifecyle methods","archived":false,"fork":false,"pushed_at":"2025-08-17T09:30:15.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-17T11:23:22.784Z","etag":null,"topics":[],"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/single-spa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":["jolyndenning"],"patreon":"singlespa","open_collective":"single-spa","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2025-08-17T08:19:37.000Z","updated_at":"2025-08-17T09:30:19.000Z","dependencies_parsed_at":"2025-08-17T11:23:32.686Z","dependency_job_id":"6a72b155-bc7e-48a0-a12a-3c1dd00b0436","html_url":"https://github.com/single-spa/lifecyles-compat","commit_stats":null,"previous_names":["single-spa/lifecyles-compat"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/single-spa/lifecyles-compat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/single-spa%2Flifecyles-compat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/single-spa%2Flifecyles-compat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/single-spa%2Flifecyles-compat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/single-spa%2Flifecyles-compat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/single-spa","download_url":"https://codeload.github.com/single-spa/lifecyles-compat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/single-spa%2Flifecyles-compat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273690695,"owners_count":25150643,"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-04T02:00:08.968Z","response_time":61,"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":"2025-09-05T00:06:16.488Z","updated_at":"2025-09-05T00:07:40.536Z","avatar_url":"https://github.com/single-spa.png","language":"TypeScript","funding_links":["https://github.com/sponsors/jolyndenning","https://patreon.com/singlespa","https://opencollective.com/single-spa"],"categories":[],"sub_categories":[],"readme":"# lifecyles-compat\n\nCompatibility layer for single-spa applications that use old lifecyle methods.\n\n## Installation\n\n```sh\nnpm i -S @single-spa/lifecycles-compat\n\npnpm i -S @single-spa/lifecycles-compat\n```\n\n## Usage\n\n```js\nimport singleSpaReact from \"single-spa-react\";\nimport singleSpaLifeyclesCompat from \"@single-spa/lifecycles-compat\";\n\n// Old versions of single-spa framework adapters used bootstrap lifecycle rather than init\nconst lifecycles = singleSpaReact({});\n\nexport const { init, mount, unmount, update } =\n  singleSpaLifeyclesCompat(lifecycles);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsingle-spa%2Flifecyles-compat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsingle-spa%2Flifecyles-compat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsingle-spa%2Flifecyles-compat/lists"}