{"id":20059239,"url":"https://github.com/qddegtya/llpage","last_synced_at":"2025-07-27T06:32:23.391Z","repository":{"id":82297361,"uuid":"450018175","full_name":"qddegtya/llpage","owner":"qddegtya","description":"📜 Page operation model (in memory) with LRU \u0026 lifecycle strategy","archived":false,"fork":false,"pushed_at":"2024-07-04T05:15:56.000Z","size":85,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T08:49:43.555Z","etag":null,"topics":["lifecycle","llpage","lru","micro-frontends"],"latest_commit_sha":null,"homepage":"","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/qddegtya.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-20T08:42:06.000Z","updated_at":"2025-06-08T05:56:07.000Z","dependencies_parsed_at":"2025-03-11T03:36:32.036Z","dependency_job_id":"b3056e4b-a7ef-4f8a-9e26-61dfe061a34e","html_url":"https://github.com/qddegtya/llpage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qddegtya/llpage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qddegtya%2Fllpage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qddegtya%2Fllpage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qddegtya%2Fllpage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qddegtya%2Fllpage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qddegtya","download_url":"https://codeload.github.com/qddegtya/llpage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qddegtya%2Fllpage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265827700,"owners_count":23835045,"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":["lifecycle","llpage","lru","micro-frontends"],"created_at":"2024-11-13T13:06:37.026Z","updated_at":"2025-07-27T06:32:23.337Z","avatar_url":"https://github.com/qddegtya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n\t\u003cimg width=\"320\" src=\"media/logo.png\" alt=\"llpage\"\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003e 🚀 page operation model (in memory) with LRU \u0026 lifecycle strategy.\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg)](#contributors) [![Coverage Status](https://coveralls.io/repos/github/qddegtya/llpage/badge.svg?branch=master)](https://coveralls.io/github/qddegtya/llpage?branch=master) ![npm](https://img.shields.io/npm/v/llpage.svg) [![Known Vulnerabilities](https://snyk.io/test/github/qddegtya/llpage/badge.svg)](https://snyk.io/test/github/qddegtya/llpage)\n\n* Docs\n  * [Motivation](./docs/motivation.md)\n  * [Principle](./docs/principle.md)\n  * [Api](./docs/api.md)\n\n# Install\n\n```\n$ npm install llpage\n```\n\n# Feature\n\n* ⚙️ Support `keep-alive` in memory(LRU)\n* 🚀 High-Performance page operator with Doubly Linked List(DLL)\n* 💗 Elegant api such as `open`/`close`/`closeAll`/`refresh`/`closeOthers`\n* 👀 reactive inside\n* 📱 Support page lifecyle (sync/async)\n\n# Example\n\n```javascript\nimport { createLLPageManager, createPage } from 'llpage'\n\nconst testPage = createPage({\n  data: {},\n\n  async onCreate() {\n    await xx()\n  }\n\n  async onStart() {\n    await xx()\n  }\n})\n\nconst ll = createLLPageManager({\n  size: 10\n})\n\n////////// some page op //////////\nll.open(testPage)\nll.close(testPage)\nll.closeOthers(testPage)\nll.closeAll()\n```\n\n# Real-World Example\n\n|name|description|homepage|\n|:--|:--|:--|\n|example|simple examples inside this repo|[view](./examples/README.md)|\n\n# Awesome list\n\n|name|description|homepage|\n|:--|:--|:--|\n|Rice|📦 out-of-box micro-frontends solution|[view](https://github.com/qddegtya/rice)|\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore --\u003e\n| [\u003cimg src=\"https://avatars2.githubusercontent.com/u/773248?v=4\" width=\"100px;\" alt=\"Archer (炽宇)\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eArcher (炽宇)\u003c/b\u003e\u003c/sub\u003e](http://xiaoa.name)\u003cbr /\u003e[💻](https://github.com/qddegtya/llpage/commits?author=qddegtya \"Code\") [🚇](#infra-qddegtya \"Infrastructure (Hosting, Build-Tools, etc)\") [🚧](#maintenance-qddegtya \"Maintenance\") [🎨](#design-qddegtya \"Design\") [📖](https://github.com/qddegtya/llpage/commits?author=qddegtya \"Documentation\") |\n| :---: |\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqddegtya%2Fllpage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqddegtya%2Fllpage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqddegtya%2Fllpage/lists"}