Refactor move docs (#8108)

* feat: [skip] generate readme script

* docs: [skip ci] update READMEs

* docs: [skip ci] fix code block type

* chore: [skip ci] move generator script
This commit is contained in:
Sven SAULEAU
2018-06-04 16:32:39 +02:00
committed by Henry Zhu
parent b6eaaa2496
commit b445b79734
143 changed files with 1286 additions and 11238 deletions

View File

@@ -1,27 +1,19 @@
# @babel/helper-wrap-function
This helper wraps a function within a call expression. It works with any function: statements, expressions and methods; both named and anonymous.
> Helper to wrap functions inside a function call.
## Example
See our website [@babel/helper-wrap-function](https://new.babeljs.io/docs/en/next/babel-helper-wrap-function.html) for more information.
**In**
## Install
```js
(function () {
}());
Using npm:
```sh
npm install --save @babel/helper-wrap-function
```
**Out**
or using yarn:
```js
_wrapper(function () {
})();
```
## Usage
```js
import wrapFunction from "@babel/helper-wrap-function";
wrapFunction(nodePathOfTheFunction, nodeWhichReferencesToTheWrapper);
```sh
yarn add --save @babel/helper-wrap-function
```