{"library":"babel-plugin-transform-es2015-block-scoped-functions","type":"library","category":null,"description":"Babel plugin (v6.22.0) that transforms function declarations inside blocks to be block-scoped, ensuring compatibility with ES2015 semantics in older environments. This plugin is part of Babel's deprecated 'es2015' preset and is no longer maintained independently. It converts block-level function declarations to variable assignments with the same name, preventing hoisting issues. For modern Babel usage (v7+), use @babel/plugin-transform-block-scoped-functions instead.","language":"javascript","status":"deprecated","version":"6.22.0","tags":["javascript","babel-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-transform-es2015-block-scoped-functions","imports":["{\n  \"plugins\": [\"transform-es2015-block-scoped-functions\"]\n}","require('babel-core').transform(code, { plugins: ['transform-es2015-block-scoped-functions'] })","const plugin = require('babel-plugin-transform-es2015-block-scoped-functions');"]},{"cmd":"yarn add babel-plugin-transform-es2015-block-scoped-functions","imports":[]},{"cmd":"pnpm add babel-plugin-transform-es2015-block-scoped-functions","imports":[]}],"homepage":null,"github":"https://github.com/babel/babel","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-transform-es2015-block-scoped-functions","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-transform-es2015-block-scoped-functions/compatibility"}}