luhn-generator
Version:
A generator of numbers that passes the validation of Luhn algorithm or Luhn formula, also known as the 'modulus 10' or 'mod 10' algorithm
36 lines (24 loc) • 462 B
Markdown
# 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"]
});
```