Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

babel-plugin-syntax-function-sent

babel2kMIT6.13.0

Allow parsing of the function.sent meta property

babel-plugin

readme

babel-plugin-syntax-function-sent

Allow parsing of the function.sent meta property.

Installation

$ npm install babel-plugin-syntax-function-sent

Usage

.babelrc

{
  "plugins": ["syntax-function-sent"]
}

Via CLI

$ babel --plugins syntax-function-sent script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["syntax-function-sent"]
});