{"id":14957471,"url":"https://github.com/caviarjs/caviar","last_synced_at":"2025-05-02T07:32:05.483Z","repository":{"id":45897813,"uuid":"177502268","full_name":"caviarjs/caviar","owner":"caviarjs","description":"The skeleton of frameworks for micro frontends","archived":false,"fork":false,"pushed_at":"2024-07-01T13:14:47.000Z","size":617,"stargazers_count":21,"open_issues_count":10,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-05T15:57:01.434Z","etag":null,"topics":["backend-for-frontend","framework","micro-frontends","skeleton"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caviarjs.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","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":"2019-03-25T02:44:39.000Z","updated_at":"2022-11-22T11:02:01.000Z","dependencies_parsed_at":"2022-08-30T17:11:40.472Z","dependency_job_id":null,"html_url":"https://github.com/caviarjs/caviar","commit_stats":null,"previous_names":["kaelzhang/roe-scripts","kaelzhang/caviar"],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caviarjs%2Fcaviar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caviarjs%2Fcaviar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caviarjs%2Fcaviar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caviarjs%2Fcaviar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caviarjs","download_url":"https://codeload.github.com/caviarjs/caviar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224081115,"owners_count":17252591,"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":["backend-for-frontend","framework","micro-frontends","skeleton"],"created_at":"2024-09-24T13:14:56.990Z","updated_at":"2024-11-12T16:03:39.619Z","avatar_url":"https://github.com/caviarjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![caviar](logo/readme.png)\n\n[![Build Status](https://travis-ci.org/caviarjs/caviar.svg?branch=master)](https://travis-ci.org/caviarjs/caviar)\n[![Coverage](https://codecov.io/gh/caviarjs/caviar/branch/master/graph/badge.svg)](https://codecov.io/gh/caviarjs/caviar)\n\nA pluggable and extendable skeleton which help to integrate several existing web frameworks to create your own micro frontends out of the box with even zero configuration.\n\n`caviar` brings **web mesh** to the real world.\n\n\u003e An architectural style where independently deliverable frontend applications are composed into a greater whole\n\n## Thinking in `caviar` about web mesh\n\n\u003e Why caviar?\n\n****\n\n\u003e The sections below is for development purpose\n\n## Extend `caviar` for your own business\n\n### Config chain\n\n## How to write caviar plugins\n\n# API Documentation\n\n## caviar(options).run(phase?)\n\n```ts\nawait caviar(options: object).run(phase?: string): ChildProcess | void\n```\n\n- **phase?** `string='default'`\n\n```js\nconst {\n  caviar\n} = require('caviar')\n\ncaviar({\n  cwd: '/path/to/project',\n  preset: '@my/caviar-preset'\n})\n.run()\n.catch(console.error)\n```\n\n### options\n\n**Common options**\n\n- **cwd** `path` the current working directory\n- **dev?** `boolean=false` whether is for development purpose\n- **preset?** `string` module id or absolute path of the preset\n- **configFile?** `path` absolute path of the configuration file. `options.configFile` often takes the return value of `require.resolve()`\n- **sandbox?** `boolean=false` whether to enable caviar sandbox\n\n**Sandbox options**\n\n- **env?** `object` extra environment key-value pairs.\n- **stdio?** `(Array | string)='inherit'` the `options.stdio` option of [`child_process.fork`](https://nodejs.org/dist/latest/docs/api/child_process.html#child_process_child_process_fork_modulepath_args_options)\n\n### Return Value\n\n## License\n\n[MIT](LICENSE)\n\n****\n\n\u003cp align=\"right\"\u003eThanks \u003ca href=\"https://github.com/reallinfo\"\u003e@reallinfo\u003c/a\u003e for the great logo\u003cp\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaviarjs%2Fcaviar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaviarjs%2Fcaviar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaviarjs%2Fcaviar/lists"}