{"id":15063113,"url":"https://github.com/eloqjs/nuxt-collection","last_synced_at":"2026-01-03T02:05:38.943Z","repository":{"id":54966956,"uuid":"315517734","full_name":"eloqjs/nuxt-collection","owner":"eloqjs","description":"The collection for your resources. Made specifically to work with arrays of objects from your API Responses.","archived":false,"fork":false,"pushed_at":"2021-01-19T14:32:13.000Z","size":987,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-02-23T22:47:08.465Z","etag":null,"topics":["array","collection","eloqjs","eloquent","javascript","laravel","module","nuxt","resources","typescript"],"latest_commit_sha":null,"homepage":"https://collection.eloqjs.com","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/eloqjs.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}},"created_at":"2020-11-24T04:25:35.000Z","updated_at":"2021-03-29T21:59:40.000Z","dependencies_parsed_at":"2022-08-14T07:40:29.262Z","dependency_job_id":null,"html_url":"https://github.com/eloqjs/nuxt-collection","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eloqjs%2Fnuxt-collection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eloqjs%2Fnuxt-collection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eloqjs%2Fnuxt-collection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eloqjs%2Fnuxt-collection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eloqjs","download_url":"https://codeload.github.com/eloqjs/nuxt-collection/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243754093,"owners_count":20342542,"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":["array","collection","eloqjs","eloquent","javascript","laravel","module","nuxt","resources","typescript"],"created_at":"2024-09-24T23:51:39.098Z","updated_at":"2026-01-03T02:05:33.907Z","avatar_url":"https://github.com/eloqjs.png","language":"TypeScript","readme":"# @eloqjs/nuxt-collection\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Github Actions CI][github-actions-ci-src]][github-actions-ci-href]\n[![Code Climate maintainability][code-climate-maintainability-src]][code-climate-maintainability-href]\n[![Codecov][codecov-src]][codecov-href]\n[![Gitpod ready-to-code][gitpod-src]][gitpod-href]\n[![Contributions][contributions-src]][contributions-href]\n[![License][license-src]][license-href]\n\n\u003e The collection for your resources. Made specifically to work with arrays of objects from your API Responses.\n\n**Nuxt Collection** | [Collection](https://github.com/eloqjs/collection) | [Vue Collection](https://github.com/eloqjs/vue-collection)\n\n- [✨ \u0026nbsp;Release Notes](https://collection.eloqjs.com/releases)\n- [📖 \u0026nbsp;Read the Documentation](https://collection.eloqjs.com)\n\n## Features\n\n- Made specifically to work with arrays of objects\n- JSON API specification support\n- Extends the Array class\n- Names and conventions that makes sense\n- Models support, fully compatible with [vue-api-query](https://github.com/robsontenorio/vue-api-query),\n  [sarala](https://github.com/milroyfraser/sarala/) and [coloquent](https://github.com/DavidDuwaer/Coloquent)\n- Integrable `primaryKey`, `fresh` and `toQuery`\n- TypeScript support\n\n[📖 \u0026nbsp;Read the Documentation](https://collection.eloqjs.com)\n\n## Setup\n\n1. Add `@eloqjs/nuxt-collection` dependency to your project\n\n```bash\nyarn add @eloqjs/nuxt-collection # or npm install @eloqjs/nuxt-collection\n```\n\n2. Add `@eloqjs/nuxt-collection` to the `modules` section of `nuxt.config.js`\n\n```js\n{\n  modules: [\n    // Simple usage\n    '@eloqjs/nuxt-collection',\n\n    // With options\n    ['@eloqjs/nuxt-collection', { /* module options */ }],\n    \n    // Module Options\n    collection: {}\n  ]\n}\n```\n\n## Contributing\n\nYou can contribute online with Gitpod:\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)][gitpod-href]\n\nOr locally:\n\n1. Clone this repository\n2. Install dependencies using `yarn install`\n3. Start development server using `yarn dev`\n\n## Credits\n\n- 🔥 Inspiration from [Laravel Eloquent Collections](https://laravel.com/docs/eloquent-collections).\n- 💎 Based on [collect.js](https://github.com/ecrmnn/collect.js) by [Daniel Eckermann](https://github.com/ecrmnn).\n  Thank you so much for your amazing package!\n- ❤️ Whoever contributes to this project!\n\n## License\n\n[MIT License](./LICENSE)\n\nCopyright (c) João Pedro Antunes Silva\n\n\u003c!-- Badges --\u003e\n[npm-version-src]: https://img.shields.io/npm/v/@eloqjs/nuxt-collection/latest.svg\n[npm-version-href]: https://npmjs.com/package/@eloqjs/nuxt-collection\n\n[npm-downloads-src]: https://img.shields.io/npm/dt/@eloqjs/nuxt-collection.svg\n[npm-downloads-href]: https://npmjs.com/package/@eloqjs/nuxt-collection\n\n[github-actions-ci-src]: https://img.shields.io/github/workflow/status/eloqjs/nuxt-collection/Test%20and%20Release?label=actions\u0026logo=github\u0026style=flat-square\n[github-actions-ci-href]: https://github.com/eloqjs/nuxt-collection/actions?query=workflow%3ATest%20and%20Release\n\n[code-climate-maintainability-src]: https://img.shields.io/codeclimate/maintainability/eloqjs/nuxt-collection?logo=code-climate\u0026style=flat-square\n[code-climate-maintainability-href]: https://codeclimate.com/github/eloqjs/nuxt-collection/maintainability\n\n[codecov-src]: https://img.shields.io/codecov/c/github/eloqjs/nuxt-collection.svg?logo=codecov\u0026style=flat-square\n[codecov-href]: https://codecov.io/gh/eloqjs/nuxt-collection\n\n[codecov-src]: https://img.shields.io/codecov/c/github/eloqjs/nuxt-collection.svg\n[codecov-href]: https://codecov.io/gh/eloqjs/nuxt-collection\n\n[gitpod-src]: https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod\u0026style=flat-square\n[gitpod-href]: https://gitpod.io/#https://github.com/eloqjs/nuxt-collection\n\n[contributions-src]: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat-square\n[contributions-href]: https://github.com/eloqjs/nuxt-collection/issues\n\n[license-src]: https://img.shields.io/github/license/eloqjs/nuxt-collection?style=flat-square\n[license-href]: https://github.com/eloqjs/nuxt-collection/blob/dev/LICENSE.md\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feloqjs%2Fnuxt-collection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feloqjs%2Fnuxt-collection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feloqjs%2Fnuxt-collection/lists"}