{"id":13710081,"url":"https://github.com/viur-framework/vi-vue-utils","last_synced_at":"2026-01-03T07:30:13.282Z","repository":{"id":77669448,"uuid":"525751226","full_name":"viur-framework/vi-vue-utils","owner":"viur-framework","description":" A library for communication with the ViUR Core ","archived":false,"fork":false,"pushed_at":"2025-02-19T11:20:31.000Z","size":1243,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-02-19T12:27:03.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vue","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/viur-framework.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-08-17T11:00:10.000Z","updated_at":"2025-02-19T11:20:35.000Z","dependencies_parsed_at":"2024-01-13T00:48:42.366Z","dependency_job_id":"96bdd88a-80c1-4867-948e-7e9ac85da0f7","html_url":"https://github.com/viur-framework/vi-vue-utils","commit_stats":null,"previous_names":["viur-framework/vi-vue-utils","viur-framework/viur-vue-utils"],"tags_count":159,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viur-framework%2Fvi-vue-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viur-framework%2Fvi-vue-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viur-framework%2Fvi-vue-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viur-framework%2Fvi-vue-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viur-framework","download_url":"https://codeload.github.com/viur-framework/vi-vue-utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239728827,"owners_count":19687412,"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":[],"created_at":"2024-08-02T23:00:51.631Z","updated_at":"2026-01-03T07:30:13.237Z","avatar_url":"https://github.com/viur-framework.png","language":"Vue","funding_links":[],"categories":["Official ViUR Resources"],"sub_categories":["\u003cimg src=\"https://github.com/viur-framework/viur-artwork/raw/main/icons/icon-vi.svg\" height=\"32\"\u003e  Vi Repositories"],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/viur-framework/viur-artwork/raw/main/icons/icon-vue-utils.svg\" height=\"196\" alt=\"A hexagonal logo of the viur-cli\" title=\"viur-cli\"\u003e\n    \u003ch1\u003eViUR Vue Utils\u003c/h1\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@viur/vue-utils\"\u003e\n        \u003cimg alt=\"Badge showing current NPM version\" title=\"PyPI\" src=\"https://img.shields.io/npm/v/@viur/vue-utils\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"LICENSE\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/viur-framework/viur-vue-utils\" alt=\"Badge displaying the license\" title=\"License badge\"\u003e\n    \u003c/a\u003e\n    \u003cbr\u003e\n    A library for communication with the ViUR Core\n\u003c/div\u003e\n\n## What does it do?\nViUR Vue Utils is a library to work with the Viur Framework\n\n\n## Installation\n```bash\n$ npm i @viur/vue-utils\n```\n\n## Usage\n\n```js\nimport {Request, ListRequest, destroyStore} from '@viur/vue-utils'\n\nconst simpleRequest = ref() //reactive variable\nRequest.get(\"https://jsonplaceholder.typicode.com/todos/1\").then(async (resp: Response)=\u003e{\n    simpleRequest.value = await resp.json() //decode and set reactive variable\n})\n\n\nlet userList = ListRequest(\n    \"teststore\", // unqiue name of the Pinia store\n    {url:\"/user/list\", params:{\"limit\":10}}\n)\n\n//fetches all users\nuserList.fetchAll().catch((e)=\u003e{\n    console.log(e)\n    console.log(e.statusCode)\n    console.log(e.statusText)\n    console.log(e.response)\n})\n\n// if the results and the request is not needed anymore\ndestroyStore(userList)\n\n```\n\n## Dependencies\n\nViUR Vue Utils depends on\n\n* [Vue](https://vuejs.org/)\n* [Pinia](https://pinia.vuejs.org/)\n\n## License\n\nCopyright © 2023 by Mausbrand Informationssysteme GmbH.\u003cbr\u003e\nMausbrand and ViUR are registered trademarks of Mausbrand Informationssysteme GmbH.\n\nThis project is free software under the MIT license.\u003cbr\u003e\nPlease see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviur-framework%2Fvi-vue-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviur-framework%2Fvi-vue-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviur-framework%2Fvi-vue-utils/lists"}