Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/oliverjash/lodash-to-lodash-amd-codemods


https://github.com/oliverjash/lodash-to-lodash-amd-codemods

Last synced: 25 days ago
JSON representation

Awesome Lists containing this project

README

        

# lodash to [lodash-amd](https://github.com/lodash/lodash-amd) codemods

```
npm i
# Update _.forEach => forEach (in AMD module)
./node_modules/.bin/jscodeshift -t codemods/methods.js tests/methods.js
# Update _.chain().each() => chain().and(each) (in AMD module)
./node_modules/.bin/jscodeshift -t codemods/chain.js tests/chain.js
```