Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

babel-plugin-range-operators

1.0.4 • Public • Published

Babel Plugin Range Operators

Foreach creates a range from start point to end point inclusive

Installation

npm install babel-plugin-range-operators --dev

Input

'[0...10]'.forEach((index) => {
  console.log(index)
})

Output

[0,1,2,3,4,5,6,7,8,9,10].forEach((index) => {
  console.log(index)
})

Uses

{
  "plugins": ["range-operators"]
}
 

install

npm i babel-plugin-range-operators

Downloadsweekly downloads

0

version

1.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability