{"id":26207440,"url":"https://github.com/oelin/invert-map","last_synced_at":"2026-05-19T10:02:51.800Z","repository":{"id":65398686,"uuid":"591655021","full_name":"oelin/invert-map","owner":"oelin","description":"Invert JavaScript maps 🔄.","archived":false,"fork":false,"pushed_at":"2023-01-21T12:44:39.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-02-27T20:20:36.044Z","etag":null,"topics":["invert","javascript","map","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oelin.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":"2023-01-21T12:38:09.000Z","updated_at":"2023-01-21T12:45:57.000Z","dependencies_parsed_at":"2023-02-12T09:40:26.471Z","dependency_job_id":null,"html_url":"https://github.com/oelin/invert-map","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oelin%2Finvert-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oelin%2Finvert-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oelin%2Finvert-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oelin%2Finvert-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oelin","download_url":"https://codeload.github.com/oelin/invert-map/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243165523,"owners_count":20246721,"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":["invert","javascript","map","nodejs"],"created_at":"2025-03-12T05:32:33.175Z","updated_at":"2026-05-19T10:02:46.776Z","avatar_url":"https://github.com/oelin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# invert-map\n\nInvert JavaScript maps 🔄.\n\n\n## API\n\nCreate a map.\n\n```js\n\u003e const map = new Map();\n\u003e map.set('foo', 'bar')\n\u003e map.set('hello', 'world')\n```\n\nInvert it.\n\n```js\n\u003e const invert = require('invert-map')\n\u003e invert(map)\n\nMap { bar =\u003e foo, world =\u003e hello }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foelin%2Finvert-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foelin%2Finvert-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foelin%2Finvert-map/lists"}