{"id":23053609,"url":"https://github.com/component/map","last_synced_at":"2025-07-10T00:07:27.577Z","repository":{"id":4727387,"uuid":"5876000","full_name":"component/map","owner":"component","description":"Map utility","archived":false,"fork":false,"pushed_at":"2013-10-09T23:41:50.000Z","size":122,"stargazers_count":5,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-03T07:05:21.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/component.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-19T18:07:43.000Z","updated_at":"2017-05-22T23:37:24.000Z","dependencies_parsed_at":"2022-09-21T19:23:04.689Z","dependency_job_id":null,"html_url":"https://github.com/component/map","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/component/map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/component","download_url":"https://codeload.github.com/component/map/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fmap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505772,"owners_count":23618968,"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":[],"created_at":"2024-12-16T00:18:54.964Z","updated_at":"2025-07-10T00:07:27.546Z","avatar_url":"https://github.com/component.png","language":"JavaScript","readme":"\n# map\n\n  Map utility\n\n## Installation\n\n    $ component install component/map\n\n## API\n\n### map(array, fn)\n\n  Map returning a new array:\n\n```js\nvar names = map(users, function(user){\n  return user.name;\n});\n```\n\n### map(array, string)\n\n  Map properties in `string` returning a new array:\n\n```js\nvar names = map(users, 'user.name');\nvar firstNames = map(users, 'user.name.first');\n```\n\n# License\n\n  MIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Fmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomponent%2Fmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Fmap/lists"}