# @babel/plugin-transform-block-scoped-functions > Babel plugin to ensure function declarations at the block level are block scoped See our website [@babel/plugin-transform-block-scoped-functions](https://new.babeljs.io/docs/en/next/babel-plugin-transform-block-scoped-functions.html) for more information. ## Install Using npm: ```sh npm install --save @babel/plugin-transform-block-scoped-functions ``` or using yarn: ```sh yarn add --save @babel/plugin-transform-block-scoped-functions ```