babel-plugin-transform-es2015-block-scoped-functions
Babel plugin to ensure function declarations at the block level are block scoped
Last updated 3 years ago by hzoo .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install babel-plugin-transform-es2015-block-scoped-functions 
SYNC missed versions from official npm registry.

babel-plugin-transform-es2015-block-scoped-functions

Babel plugin to ensure function declarations at the block level are block scoped.

Installation

$ npm install babel-plugin-transform-es2015-block-scoped-functions

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["transform-es2015-block-scoped-functions"]
}

Via CLI

$ babel --plugins transform-es2015-block-scoped-functions script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-es2015-block-scoped-functions"]
});

Current Tags

  • 6.22.0                                ...           latest (3 years ago)
  • 7.0.0-beta.3                                ...           next (3 years ago)

35 Versions

  • 7.0.0-beta.3                                ...           3 years ago
  • 7.0.0-beta.2                                ...           3 years ago
  • 7.0.0-beta.1                                ...           3 years ago
  • 7.0.0-beta.0                                ...           3 years ago
  • 7.0.0-alpha.20                                ...           3 years ago
  • 7.0.0-alpha.19                                ...           3 years ago
  • 7.0.0-alpha.18                                ...           3 years ago
  • 7.0.0-alpha.17                                ...           3 years ago
  • 7.0.0-alpha.16                                ...           3 years ago
  • 7.0.0-alpha.15                                ...           3 years ago
  • 7.0.0-alpha.14                                ...           3 years ago
  • 7.0.0-alpha.13                                ...           3 years ago
  • 7.0.0-alpha.12                                ...           3 years ago
  • 7.0.0-alpha.11                                ...           3 years ago
  • 7.0.0-alpha.10                                ...           3 years ago
  • 7.0.0-alpha.9                                ...           3 years ago
  • 7.0.0-alpha.8                                ...           3 years ago
  • 7.0.0-alpha.7                                ...           3 years ago
  • 7.0.0-alpha.3                                ...           3 years ago
  • 7.0.0-alpha.1                                ...           3 years ago
  • 6.22.0                                ...           3 years ago
  • 6.8.0                                ...           4 years ago
  • 6.6.5                                ...           4 years ago
  • 6.6.4                                ...           4 years ago
  • 6.5.0-1                                ...           4 years ago
  • 6.5.0                                ...           4 years ago
  • 6.3.13                                ...           5 years ago
  • 6.2.4                                ...           5 years ago
  • 6.1.18                                ...           5 years ago
  • 6.1.17                                ...           5 years ago
  • 6.1.10                                ...           5 years ago
  • 6.1.5                                ...           5 years ago
  • 6.1.4                                ...           5 years ago
  • 6.0.14                                ...           5 years ago
  • 6.0.2                                ...           5 years ago
Downloads
Today 7,673
This Week 26,655
This Month 110,428
Last Day 9,790
Last Week 51,542
Last Month 221,912
Dependencies (1)
Dev Dependencies (1)
Dependents (270)

Copyright 2014 - 2016 © taobao.org |