{"id":18600804,"url":"https://github.com/octet-stream/promisify","last_synced_at":"2025-04-10T18:31:35.808Z","repository":{"id":24379292,"uuid":"97171906","full_name":"octet-stream/promisify","owner":"octet-stream","description":"Tiny, dependency free promisify library.","archived":false,"fork":false,"pushed_at":"2023-10-17T10:07:57.000Z","size":1158,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-25T03:01:37.113Z","etag":null,"topics":["javascript","library","promisify","wrapper"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@octetstream/promisify","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/octet-stream.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":"2017-07-13T23:10:12.000Z","updated_at":"2021-11-06T14:23:29.000Z","dependencies_parsed_at":"2024-06-19T00:00:49.537Z","dependency_job_id":"d7816463-da16-43cd-8b98-729bb1ef0bc4","html_url":"https://github.com/octet-stream/promisify","commit_stats":{"total_commits":50,"total_committers":2,"mean_commits":25.0,"dds":"0.020000000000000018","last_synced_commit":"4a860910d518e3ab76d457e15dd98a5a3091ec9f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octet-stream%2Fpromisify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octet-stream%2Fpromisify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octet-stream%2Fpromisify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octet-stream%2Fpromisify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octet-stream","download_url":"https://codeload.github.com/octet-stream/promisify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248271769,"owners_count":21075800,"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":["javascript","library","promisify","wrapper"],"created_at":"2024-11-07T02:05:41.130Z","updated_at":"2025-04-10T18:31:35.294Z","avatar_url":"https://github.com/octet-stream.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @octetstream/promisify\n\nTiny, dependency free promisify library.\n\n[![devDependencies Status](https://david-dm.org/octet-stream/promisify/dev-status.svg)](https://david-dm.org/octet-stream/promisify?type=dev)\n[![Build Status](https://travis-ci.org/octet-stream/promisify.svg?branch=master)](https://travis-ci.org/octet-stream/promisify)\n[![Code Coverage](https://codecov.io/github/octet-stream/promisify/coverage.svg?branch=master)](https://codecov.io/github/octet-stream/promisify?branch=master)\n\n## API\n\n### `promisify(target[, ctx]) -\u003e {Function}`\n\nPromisify Node.js callback-style function with native Promise\n\n  - **{Function}** target - function, that will be wrap with a Promise\n  - **{any}** [ctx = null] - \"this\" context for a target function\n\n### `promisify.all(targets[, ctx]) -\u003e {object}`\n\nPromisify all functions from given object\n\n  - **{object}** targets – object of target functinos\n  - **{any}** [ctx = null] - \"this\" context for all wrapped functions\n\n### `promisify.some(targets, list[, ctx]) -\u003e {object}`\n\nPromisify some functions from given object, that was specified in list\n\n  - **{object}** targets – object of target functinos\n  - **{string[]}** list – an array of target functions names\n  - **{any}** [ctx = null] - \"this\" context for all wrapped functions\n\n### `promisify.except(targets, list[, ctx]) -\u003e {object}`\n\nPromisify all functions from given object, except the ones from list\n\n  - **{object}** targets – object of target functinos\n  - **{string[]}** list – an array of target functions names\n  - **{any}** [ctx = null] - \"this\" context for all wrapped functions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctet-stream%2Fpromisify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctet-stream%2Fpromisify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctet-stream%2Fpromisify/lists"}