Rick Waldron 3a6fdca069 Make all packages/*/README.md descriptions consistent.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-31 10:24:26 -04:00

36 lines
479 B
Markdown

# babel-plugin-syntax-function-sent
> Allow parsing of the `function.sent` meta property.
## Installation
```sh
npm install --save-dev babel-plugin-syntax-function-sent
```
## Usage
### Via `.babelrc` (Recommended)
**.babelrc**
```json
{
"plugins": ["syntax-function-sent"]
}
```
### Via CLI
```sh
babel --plugins syntax-function-sent script.js
```
### Via Node API
```javascript
require("babel-core").transform("code", {
plugins: ["syntax-function-sent"]
});
```