{"id":25799659,"url":"https://github.com/filipdanic/use-array","last_synced_at":"2025-02-27T15:47:35.868Z","repository":{"id":57387873,"uuid":"186907585","full_name":"filipdanic/use-array","owner":"filipdanic","description":"A custom React hook that lets you manipulate an array data structure without ever needing extra utilities. ","archived":false,"fork":false,"pushed_at":"2019-05-15T22:14:41.000Z","size":610,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-11T07:56:02.133Z","etag":null,"topics":["hooks","hooks-api-react","react","react-hooks","reactjs"],"latest_commit_sha":null,"homepage":"https://filipdanic.github.io/use-array","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/filipdanic.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":"2019-05-15T21:51:14.000Z","updated_at":"2023-07-23T18:26:43.000Z","dependencies_parsed_at":"2022-09-06T08:11:25.687Z","dependency_job_id":null,"html_url":"https://github.com/filipdanic/use-array","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipdanic%2Fuse-array","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipdanic%2Fuse-array/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipdanic%2Fuse-array/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipdanic%2Fuse-array/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filipdanic","download_url":"https://codeload.github.com/filipdanic/use-array/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241030655,"owners_count":19897136,"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":["hooks","hooks-api-react","react","react-hooks","reactjs"],"created_at":"2025-02-27T15:47:35.162Z","updated_at":"2025-02-27T15:47:35.857Z","avatar_url":"https://github.com/filipdanic.png","language":"JavaScript","readme":"[![NPM](https://img.shields.io/npm/v/use-array.svg)](https://www.npmjs.com/package/use-array)\n# use-array\n\nA custom React hook that lets you manipulate an array data structure without ever needing extra utilities.\n\n[👉 Demo site and docs.](https://filipdanic.github.io/use-array/)\n\nStart with:\n\n```bash\nnpm install --save use-array\n```\n\nThen, import and use the hook:\n\n```javascript\nimport useArray from 'use-array'\n// …in your functional component:\nconst [ list, {\n  set, empty, replace, push,\n  updateAt, setAt, removeAt,\n  filter, map, sort, reverse,\n  mergeBefore, mergeAfter,\n}] = useArray(defaultList);\n```\n\n## Docs\n\nThe complete documentation as well as a live demo [is available here.](https://filipdanic.github.io/use-array/)\n\n## License\n\nMIT © [filipdanic](https://github.com/filipdanic)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipdanic%2Fuse-array","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilipdanic%2Fuse-array","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipdanic%2Fuse-array/lists"}