From 7fff4499fd915bcea3fa93b1aa8b35f4fe7a6027 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 28 May 2017 00:38:50 +0200 Subject: add linting (and some initial fixes) --- .../babel-plugin-syntax-async-functions/README.md | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 node_modules/babel-plugin-syntax-async-functions/README.md (limited to 'node_modules/babel-plugin-syntax-async-functions/README.md') diff --git a/node_modules/babel-plugin-syntax-async-functions/README.md b/node_modules/babel-plugin-syntax-async-functions/README.md new file mode 100644 index 000000000..a2c13f519 --- /dev/null +++ b/node_modules/babel-plugin-syntax-async-functions/README.md @@ -0,0 +1,35 @@ +# babel-plugin-syntax-async-functions + +Allow parsing of async functions. + +## Installation + +```sh +$ npm install babel-plugin-syntax-async-functions +``` + +## Usage + +### Via `.babelrc` (Recommended) + +**.babelrc** + +```json +{ + "plugins": ["syntax-async-functions"] +} +``` + +### Via CLI + +```sh +$ babel --plugins syntax-async-functions script.js +``` + +### Via Node API + +```javascript +require("babel-core").transform("code", { + plugins: ["syntax-async-functions"] +}); +``` -- cgit v1.2.3