{"id":15890575,"url":"https://github.com/dimfeld/pull-promise-map-done","last_synced_at":"2025-04-02T17:20:45.306Z","repository":{"id":57332022,"uuid":"138232289","full_name":"dimfeld/pull-promise-map-done","owner":"dimfeld","description":"Pull stream for promise-returning asynchronous map functions","archived":false,"fork":false,"pushed_at":"2018-07-05T18:43:23.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T12:34:04.777Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimfeld.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":"2018-06-21T23:32:40.000Z","updated_at":"2018-07-05T18:43:24.000Z","dependencies_parsed_at":"2022-09-02T18:01:45.966Z","dependency_job_id":null,"html_url":"https://github.com/dimfeld/pull-promise-map-done","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/dimfeld%2Fpull-promise-map-done","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fpull-promise-map-done/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fpull-promise-map-done/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fpull-promise-map-done/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimfeld","download_url":"https://codeload.github.com/dimfeld/pull-promise-map-done/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246856583,"owners_count":20844974,"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-10-06T07:06:48.628Z","updated_at":"2025-04-02T17:20:45.274Z","avatar_url":"https://github.com/dimfeld.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pull-promise-map-done\n\nThis is based on the async-map through stream from the core pull-stream module, but it is designed to work with promise-returning functions and also incorporates a done callback. Either the map or the done callbacks may be omitted.\n\n```\nvar asyncMap = require('pull-promise-map-done');\n\nasyncMap(\n    function map(data) {\n        return promiseReturningFunction(data);\n    },\n    function done(err) {\n        if(err) {\n            return promiseReturningErrorReporter(err);\n        }\n    }\n)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimfeld%2Fpull-promise-map-done","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimfeld%2Fpull-promise-map-done","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimfeld%2Fpull-promise-map-done/lists"}