{"id":29098179,"url":"https://github.com/2bigo/babel-plugin-transform-util-promisify","last_synced_at":"2026-05-18T14:39:35.251Z","repository":{"id":143846696,"uuid":"123094039","full_name":"2bigO/babel-plugin-transform-util-promisify","owner":"2bigO","description":"Transforms util.promisify for node versions \u003c 8","archived":false,"fork":false,"pushed_at":"2018-03-03T09:52:40.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-26T04:37:40.804Z","etag":null,"topics":["babel","babel-plugin","promise","promisify"],"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/2bigO.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":"2018-02-27T08:00:23.000Z","updated_at":"2021-11-09T20:29:30.000Z","dependencies_parsed_at":"2023-07-25T21:16:43.114Z","dependency_job_id":null,"html_url":"https://github.com/2bigO/babel-plugin-transform-util-promisify","commit_stats":null,"previous_names":["assister-ai/babel-plugin-transform-util-promisify","2bigo/babel-plugin-transform-util-promisify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/2bigO/babel-plugin-transform-util-promisify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bigO%2Fbabel-plugin-transform-util-promisify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bigO%2Fbabel-plugin-transform-util-promisify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bigO%2Fbabel-plugin-transform-util-promisify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bigO%2Fbabel-plugin-transform-util-promisify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2bigO","download_url":"https://codeload.github.com/2bigO/babel-plugin-transform-util-promisify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bigO%2Fbabel-plugin-transform-util-promisify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262447186,"owners_count":23312715,"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":["babel","babel-plugin","promise","promisify"],"created_at":"2025-06-28T14:37:44.830Z","updated_at":"2025-10-25T04:15:35.145Z","avatar_url":"https://github.com/2bigO.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/babel-plugin-transform-util-promisify.svg)](https://www.npmjs.com/package/babel-plugin-transform-util-promisify)\n[![Build Status](https://travis-ci.org/assister-ai/babel-plugin-transform-util-promisify.svg?branch=master)](https://travis-ci.org/assister-ai/babel-plugin-transform-util-promisify)\n\n# babel-plugin-transform-util-promisify\nTransforms `util.promisify` to a function definition\nfor node versions \u0026lt; 8, automatically detects if node version \u003e= 8 and does nothing if so.\n\n## Install\n\n```shell\nnpm install babel-plugin-transform-util-promisify --save-dev\n```\n\n## Usage\n\nAdd at the top of plugins in `.babelrc`:\n\n```json\n{\n  \"plugins\": [\n    \"transform-util-promisify\"\n    ],\n    \"presets\": [\n      [\"env\", {\n        \"targets\": {\n          \"node\": \"current\"\n        }\n      }]\n    ]\n}\n```\n\nThe plugin currently transforms code only in these forms:\n\n```js\nimport { promisify } from 'util';\n```\n\nand\n\n```js\nconst { promisify } = require('promisify');\n```\n\n## License\n\n[MIT](https://github.com/assister-ai/babel-plugin-transform-util-promisify/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2bigo%2Fbabel-plugin-transform-util-promisify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2bigo%2Fbabel-plugin-transform-util-promisify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2bigo%2Fbabel-plugin-transform-util-promisify/lists"}