An open API service indexing awesome lists of open source software.

https://github.com/marvin9/foreach-to-for

🤖 Convert thousand of nested, complex forEach loops to for loops
https://github.com/marvin9/foreach-to-for

converter foreach loops

Last synced: over 1 year ago
JSON representation

🤖 Convert thousand of nested, complex forEach loops to for loops

Awesome Lists containing this project

README

          

# forEach-to-for

![Travis (.com)](https://img.shields.io/travis/com/Marvin9/forEach-to-for)

🤖 Convert thousands of nested, complex forEach loops to for loops for performance enhancement

Clone repo.

```
npm install
```

```
npm link
```

## Steps

1. ```
forify /path/to/original/file.js /output/path/js.js
```

## Example

1. ```
forify ./test.js ./exampleOpt.js
```

🧐