{"id":16392992,"url":"https://github.com/yjl9903/setmap","last_synced_at":"2025-10-06T15:02:46.102Z","repository":{"id":37021592,"uuid":"244866016","full_name":"yjl9903/SetMap","owner":"yjl9903","description":"Use Hash to check whether two sets are equal.","archived":false,"fork":false,"pushed_at":"2023-08-02T16:16:27.000Z","size":337,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T23:51:13.596Z","etag":null,"topics":["data-structures","hash"],"latest_commit_sha":null,"homepage":"","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/yjl9903.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":"2020-03-04T10:01:36.000Z","updated_at":"2022-12-29T22:59:05.000Z","dependencies_parsed_at":"2024-12-17T17:42:13.081Z","dependency_job_id":"0d60772f-2b50-4277-b218-0ff78b5a22d0","html_url":"https://github.com/yjl9903/SetMap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2FSetMap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2FSetMap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2FSetMap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2FSetMap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjl9903","download_url":"https://codeload.github.com/yjl9903/SetMap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190290,"owners_count":20898718,"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","hash"],"created_at":"2024-10-11T04:52:02.903Z","updated_at":"2025-10-06T15:02:41.066Z","avatar_url":"https://github.com/yjl9903.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SetMap\r\n\r\n[![version](https://img.shields.io/npm/v/@yjl9903/setmap?color=rgb%2850%2C203%2C86%29\u0026label=SetMap)](https://www.npmjs.com/package/@yjl9903/setmap) ![Node.js CI](https://github.com/yjl9903/SetMap/workflows/Node.js%20CI/badge.svg)\r\n\r\nUse Hash to check whether two sets are equal.\r\n\r\n## Install\r\n\r\n```bash\r\nnpm i @yjl9903/setmap\r\n# or\r\npnpm i @yjl9903/setmap\r\n```\r\n\r\n## Usage\r\n\r\n```typescript\r\nconst a = { a: 1 };\r\nconst b = { b: 2 };\r\nconst c = { c: 3 };\r\n\r\nconst set = new SetSet\u003cobject\u003e([a]);\r\n\r\nset.has([a]); // true\r\nset.has([b]); // false\r\n\r\nset.add([a, b, c]); // true\r\n\r\nset.has([a, c, b]); // true\r\nset.has([b, a, c]); // true\r\nset.has([b, c, a]); // true\r\nset.has([c, a, b]); // true\r\nset.has([c, b, a]); // true\r\n\r\nset.has([a, b]); // false\r\nset.has([a, c]); // false\r\nset.has([b, c]); // false\r\n```\r\n\r\n## License\r\n\r\n[MIT](https://github.com/yjl9903/SetMap/blob/master/LICENSE)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjl9903%2Fsetmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjl9903%2Fsetmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjl9903%2Fsetmap/lists"}