{"id":20356721,"url":"https://github.com/aoijs/aoi.structures","last_synced_at":"2025-04-12T02:51:53.732Z","repository":{"id":114349206,"uuid":"415544294","full_name":"aoijs/aoi.structures","owner":"aoijs","description":"Abstract Data Structures That Make Storing data Much easy.","archived":false,"fork":false,"pushed_at":"2024-06-19T00:32:30.000Z","size":12737,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"v2","last_synced_at":"2025-04-06T03:56:54.239Z","etag":null,"topics":["data-structures","structures","typescript"],"latest_commit_sha":null,"homepage":"https://aoijs.github.io/aoi.structures/","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/aoijs.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":"2021-10-10T09:48:14.000Z","updated_at":"2024-06-19T00:32:33.000Z","dependencies_parsed_at":"2023-10-14T20:13:35.034Z","dependency_job_id":"15782c83-d1e9-4792-9ce0-99bfca883955","html_url":"https://github.com/aoijs/aoi.structures","commit_stats":null,"previous_names":["aoijs/structures","akaruidevelopment/structures"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aoijs%2Faoi.structures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aoijs%2Faoi.structures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aoijs%2Faoi.structures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aoijs%2Faoi.structures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aoijs","download_url":"https://codeload.github.com/aoijs/aoi.structures/tar.gz/refs/heads/v2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248509471,"owners_count":21116032,"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":["data-structures","structures","typescript"],"created_at":"2024-11-14T23:17:34.268Z","updated_at":"2025-04-12T02:51:53.713Z","avatar_url":"https://github.com/aoijs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @aoijs/aoi.structures\r\n\r\nA collection of data structures implemented in TypeScript that ease the storage and manipulation of data.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @aoijs/aoi.structures\r\n```\r\n\r\n## Usage\r\n\r\n```typescript\r\n//Typescript\r\nimport { Group } from '@aoijs/aoi.structures';\r\n\r\nconst group = new Group\u003cstring,string\u003e(10); // Creates a group with a capacity of 10\r\n\r\ngroup.set(\"Hello\", \"World\"); // Sets the value of \"Hello\" to \"World\"\r\ngroup.get(\"Hello\"); // Returns \"World\"\r\n\r\ngroup.has(\"Hello\"); // Returns true\r\n\r\ngroup.delete(\"Hello\"); // Deletes the value of \"Hello\"\r\ngroup.has(\"Hello\"); // Returns false\r\n\r\n```\r\n\r\n```javascript\r\n//Javascript cjs\r\n\r\nconst { Group } = require('@aoijs/aoi.structures');\r\n\r\nconst group = new Group(10); // Creates a group with a capacity of 10\r\n\r\ngroup.set(\"Hello\", \"World\"); // Sets the value of \"Hello\" to \"World\"\r\ngroup.get(\"Hello\"); // Returns \"World\"\r\n\r\ngroup.has(\"Hello\"); // Returns true\r\n\r\ngroup.delete(\"Hello\"); // Deletes the value of \"Hello\"\r\ngroup.has(\"Hello\"); // Returns false\r\n```\r\n\r\n## Documentation\r\n\r\n[Documentation](https://aoijs.github.io/aoi.structures/)\r\n\r\n## License\r\n\r\n[MIT](./LICENSE)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faoijs%2Faoi.structures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faoijs%2Faoi.structures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faoijs%2Faoi.structures/lists"}