{"_id":"5to6-codemod","_rev":"20-53eeb5dd0167c76c42f95308666070a4","name":"5to6-codemod","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","dist-tags":{"latest":"1.8.0"},"versions":{"1.0.0":{"name":"5to6-codemod","version":"1.0.0","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{},"devDependencies":{"eslint":"^1.0.0","jscodeshift":"^0.3.8","mocha":"^2.3.3","recast":"^0.10.34"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"33c5c72bfe8e1890fdde5b6c55ac7865258bc1a3","_id":"5to6-codemod@1.0.0","_shasum":"72f049e9154a0cb027dce47dec86094e0197cb8a","_from":".","_npmVersion":"3.5.2","_nodeVersion":"0.12.6","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"shasum":"72f049e9154a0cb027dce47dec86094e0197cb8a","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.0.0.tgz","integrity":"sha512-8eKozLRdqfJVC6wwd1vVDgIU4y5go0tFT+kk/dvgoLnkH8ESpvRjsxKGvbvZ2uD4lsfqlEPjty/MKgRhXoybnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDiZaJY5PEUgY/UmyzS27rnvlqnS8Hikj3ZQK3v2IwayAiBbfNCKQfi24uBlAU0D/n186DJIZjS7WSuKN4jTDnJ4Bg=="}]}},"1.0.1":{"name":"5to6-codemod","version":"1.0.1","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.3.8","recast":"^0.10.34"},"devDependencies":{"eslint":"^1.0.0","mocha":"^2.3.3"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"cef40791be6ffa027825ba7ab40ed75e53429b5d","_id":"5to6-codemod@1.0.1","_shasum":"c51c18061b81b72075f263b4e2f7a0b01e6fb3fe","_from":".","_npmVersion":"3.8.0","_nodeVersion":"4.3.2","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"shasum":"c51c18061b81b72075f263b4e2f7a0b01e6fb3fe","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.0.1.tgz","integrity":"sha512-v0BPT6STDn+WCpIqRF5EpEO9KVvVu6KLZ+yX0CIybpZxudWEX8DpVcD+yZUx6QjDGCmsaFhq8uxaQ1ixGK6kjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5dzWpztVsRx56lZX1n1SCORsQ/IUbeKFrLf9U4RYNJQIhAJM1ybxXvcuhzAumSfE/KB/SRtM0jZvdUK3yI9+B+AJ0"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/5to6-codemod-1.0.1.tgz_1463610729690_0.48274704976938665"}},"1.1.0":{"name":"5to6-codemod","version":"1.1.0","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.3.8","recast":"^0.10.34"},"devDependencies":{"eslint":"^1.0.0","mocha":"^2.3.3"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"df232c78dc9c45c25182f4f187ecfe9bd2b4ed12","_id":"5to6-codemod@1.1.0","_shasum":"7701200c9322c6056487b6ece40526e9725b3eff","_from":".","_npmVersion":"3.8.0","_nodeVersion":"4.3.2","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"shasum":"7701200c9322c6056487b6ece40526e9725b3eff","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.1.0.tgz","integrity":"sha512-r0pBvRJ6Okzs3xVPfNNa8xK5Pf8MbEx0D0M3MeRd+/oAMeD6W/B73WZdKKPqzWpbNVVG7+dM7vA8DEJkLH5z4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKtEXm33VoSw+4bBL8PTd8mg7k+C0cZMLis6SDgjcgdAiBTv0Jqa6/r9Rynu+Pnx3ZesZvV+JHL7r+lkwf3PBj0NA=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/5to6-codemod-1.1.0.tgz_1464992499468_0.8152560400776565"}},"1.1.1":{"name":"5to6-codemod","version":"1.1.1","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.3.28","recast":"^0.10.34"},"devDependencies":{"eslint":"^1.0.0","mocha":"^2.3.3"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"249340496c469afabbb9bc037bbca4c9881f6e9c","_id":"5to6-codemod@1.1.1","_shasum":"e3b353da1204152dbbaa3394b2f9ecb7fb1f9b39","_from":".","_npmVersion":"3.8.0","_nodeVersion":"4.3.2","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"shasum":"e3b353da1204152dbbaa3394b2f9ecb7fb1f9b39","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.1.1.tgz","integrity":"sha512-HSX4bX8mxod341cLXGAlZyvcMW+p9TAkYESd7MT2SK4TtPzcsS2guvRX7jdEbtmwsT4qXF2ap/kctfkdSKRIWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3E3RCPleVSEVwntMkXKsu/iNugpqPkSybvfAwWQzGgAiAk06Gy2Q/BSyQe7Zu8eZ4k/LMb5TWa1va6S3QAALCrtw=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/5to6-codemod-1.1.1.tgz_1474401780998_0.6867782804183662"}},"1.1.2":{"name":"5to6-codemod","version":"1.1.2","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.3.28","recast":"^0.11.14"},"devDependencies":{"eslint":"^1.0.0","mocha":"^2.3.3"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"59e93f367ca434c2479f1b431b288f88401e5177","_id":"5to6-codemod@1.1.2","_shasum":"d3b3f8b613bef871fec55ae3ab110f5e206836eb","_from":".","_npmVersion":"3.8.0","_nodeVersion":"4.3.2","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"shasum":"d3b3f8b613bef871fec55ae3ab110f5e206836eb","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.1.2.tgz","integrity":"sha512-vM5BQxjeNjGZUzQmlJetWA3on3Q1tEiusRk+4C2mh80rfwrRI7fZI0ZDOoHBTz/V+w7H6xQdx/fGql3vMyzGXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDiiCXsHjyWK+YbrwYSbEZxdesLAoF2xqH14n24tuwhWAiEAxP2uxK9s7qEwyvh7pQYWo9M8NRrg2Aa8Qoq1tRnppCE="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/5to6-codemod-1.1.2.tgz_1474401828525_0.7024322510696948"}},"1.1.3":{"name":"5to6-codemod","version":"1.1.3","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.3.28","recast":"^0.11.14"},"devDependencies":{"eslint":"^1.0.0","mocha":"^2.3.3"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"81489e6f82f1c4cd8ff434f9fc75dee570b94117","_id":"5to6-codemod@1.1.3","_shasum":"a82bed68d376b41a36fd49616e67d6b7e9e50f82","_from":".","_npmVersion":"3.10.8","_nodeVersion":"4.3.2","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"shasum":"a82bed68d376b41a36fd49616e67d6b7e9e50f82","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.1.3.tgz","integrity":"sha512-xCuEpiWHrWFjYfUKciRvLC8vOnJd0aXqSMsrVFZcuxiAvmxbeu/tjSHBR8JxlJmoLUsAXiPQU/jxFY8qaVNz/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0IoiNR9rsN6zubrO9QdwAk76enhwlNlgYcG03W/fpjgIhANzlZzVTwG1cK2B5FAUsFK/ZGRCClPXBSh7xN9k9bcrJ"}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/5to6-codemod-1.1.3.tgz_1479514870382_0.5686757988296449"}},"1.1.4":{"name":"5to6-codemod","version":"1.1.4","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.3.28","recast":"^0.11.18"},"devDependencies":{"eslint":"^1.0.0","mocha":"^2.3.3"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"e31961640cb8fee7382744c73b7dae1b445474fe","_id":"5to6-codemod@1.1.4","_shasum":"5ffa05dd5745cd4678c07b2364b2c9788cea4ea7","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.0","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"shasum":"5ffa05dd5745cd4678c07b2364b2c9788cea4ea7","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.1.4.tgz","integrity":"sha512-MKDpLORqyZa/V6xiWudEuEGdatUvCcTvNYiEphLRRZ/+zkI0/qkylfC04vD+6OSK9LAdwdXeTlJfe7sCuhsbZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEnnYukKX0z3eoT6YWRnaPQPH3SBz/etUSdIjELFBKHAIhAPRYjk33I3mZXMKVkisIam5l+T9FXi/v9del+Qdjk+lT"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/5to6-codemod-1.1.4.tgz_1486426917066_0.9880930776707828"}},"1.2.0":{"name":"5to6-codemod","version":"1.2.0","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.3.28","recast":"^0.11.18"},"devDependencies":{"eslint":"^1.0.0","mocha":"^2.3.3"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"5141b8e0f3713c5debd49725f4cdc98f5c0e222e","_id":"5to6-codemod@1.2.0","_shasum":"04e29e2d72bd383930e84f315937d5cdca958a74","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.0","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"shasum":"04e29e2d72bd383930e84f315937d5cdca958a74","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.2.0.tgz","integrity":"sha512-mkgenQAsS4G/eQvevSbd7DKu2+qjLtJHgzFBDgMZlUUkb4oab3gc/5akoouQXMonh5Qyhh3rDckaXW43FpvkjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSPdBe51ykf1BSx9UgrHOigrvYUZg/63uz9Al+RmKy7AIhAOMl1Ask8HeYqxIKL0jB7vdmFbY/Ilsp7Njzc9C0I/1G"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/5to6-codemod-1.2.0.tgz_1488646026096_0.3422766337171197"}},"1.3.0":{"name":"5to6-codemod","version":"1.3.0","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.3.28","recast":"^0.11.18"},"devDependencies":{"eslint":"^1.0.0","mocha":"^2.3.3"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"9a12e51b804ea61786093480892a4c6b90418c08","_id":"5to6-codemod@1.3.0","_shasum":"17d2472f6f5b8ae64af50d0a212f1d1a11c1fba3","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.0","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"shasum":"17d2472f6f5b8ae64af50d0a212f1d1a11c1fba3","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.3.0.tgz","integrity":"sha512-7GoTZjbwM4yQs9v6rGa/Mu55wjZR00aVZhSdKVqkrhIZL0GQFKjr7ueckla6zOFo441LLG7Fw0Uz6i8OMrdqpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9Am1D0NxMVczCPYb9eJeGIROmYfxL/cTY2V1JncWThwIgDPJ2y7Ib4/H59cOtt/Fh+/JOVN709J9gRvX1WulvN1I="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/5to6-codemod-1.3.0.tgz_1488911945041_0.099108757218346"}},"1.4.0":{"name":"5to6-codemod","version":"1.4.0","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.3.28","recast":"^0.11.18"},"devDependencies":{"eslint":"^1.0.0","mocha":"^2.3.3"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"6377fe1f0acab5f51e069ed5c4031772186b0673","_id":"5to6-codemod@1.4.0","_shasum":"5ef93347c84f2f4af63a5f37f581df3cb561ddb7","_from":".","_npmVersion":"3.10.8","_nodeVersion":"4.3.2","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"shasum":"5ef93347c84f2f4af63a5f37f581df3cb561ddb7","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.4.0.tgz","integrity":"sha512-eU23d750IBRjunsYju7ihaKpM/bN+JcnBOKg9wL+izHhIVDpe1Dn5dJ/Csnp4ziTLQCUhjAnSKuzOSKq5yXxrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFGy2N/JJ1HpBdc149Wzy14o/z6LQ+/g+YuvFLRfwI0uAiAQJzIMhsMoy9pt6UK19pKy1FD0Hk+MgmYzEtnav5fJJQ=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/5to6-codemod-1.4.0.tgz_1489016229131_0.947934688301757"}},"1.5.0":{"name":"5to6-codemod","version":"1.5.0","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.3.28","recast":"^0.11.18"},"devDependencies":{"eslint":"^1.0.0","mocha":"^2.3.3"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"240f8222cc4bc5520d40110c3ee9b628015a3d67","_id":"5to6-codemod@1.5.0","_shasum":"4cde2fcc7cdc34c8a200c0cac20498bb123b9e19","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.0","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"shasum":"4cde2fcc7cdc34c8a200c0cac20498bb123b9e19","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.5.0.tgz","integrity":"sha512-Yq4KPqO0wXxMa/ZAE27rVvHZIjIGJRMO7MJjlU++1EZkkAQaUiRXVdhidmxf+uAmhHlyDCt2F9bxnicaZnfq6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICk77lymZPbxROgPij1PDZQT/JVCOV2ZOR1ZBX1OJUhRAiBHkSdrnWCb3v98lc+BUBdf/gpfaaUT/w6LV4k7HO0BrA=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/5to6-codemod-1.5.0.tgz_1489765400300_0.09955525957047939"}},"1.6.0":{"name":"5to6-codemod","version":"1.6.0","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.3.28","lodash":"^4.17.4","recast":"^0.12.1"},"devDependencies":{"eslint":"^1.0.0","mocha":"^2.3.3"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"adf429abfc65266a0225e3f42354fc164a9febf5","_id":"5to6-codemod@1.6.0","_shasum":"e5805e1e23aab04f98235dd46ff69832f1eeb0a0","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"shasum":"e5805e1e23aab04f98235dd46ff69832f1eeb0a0","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.6.0.tgz","integrity":"sha512-xRWnyWVrAzSO1Mu5annOnx2mYV10aiNkva0fAIh+5rZ/iudP6IVGJmwj6dRzsK7EZBTPurxbOp/dVbh3sf4Zlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7SFJ0uA6oIaGaGknRNDxGZ5JHd3T1NeMyl+oUr2IRbQIhAKTyQF/Jlo7NxGcF2+W3CBv4TLfUCfMF50zim9I9BhT2"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/5to6-codemod-1.6.0.tgz_1495478597542_0.8450019443407655"}},"1.7.1":{"name":"5to6-codemod","version":"1.7.1","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"preversion":"npm test","test":"eslint . && mocha test/transforms test/utils.js"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.3.28","lodash":"^4.17.4","recast":"^0.12.1"},"devDependencies":{"eslint":"^1.0.0","mocha":"^2.3.3"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"c249de1bf6c578bff1677ae8b84787abcfad66e0","_id":"5to6-codemod@1.7.1","_npmVersion":"5.0.3","_nodeVersion":"6.10.3","_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"dist":{"integrity":"sha512-Nako5nAiihHQbnto9sIfD8OD2NLCEeciQph5y3DxrhbNpzUCdidEDRp/9XoczYPEO0hroAK/oQrikOY64/sBzw==","shasum":"61866c336f2c6ef5505eb9b7a12d825ef44aeb99","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.7.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBGZ/6ufuYR/sjPd+pwrYe/SAbYCOR6IerXzoucxzZgsAiBc6z2HdAREoIxhtvUemrZ/hcpim27HPbwwvGPFpqPKeQ=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/5to6-codemod-1.7.1.tgz_1497630566709_0.2932025147601962"}},"1.8.0":{"name":"5to6-codemod","version":"1.8.0","description":"A collection of codemods that allow you to transform your js code from ES5 to ES6.","main":"test.js","scripts":{"preversion":"npm test","test":"eslint . && mocha"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"license":"MIT","dependencies":{"jscodeshift":"^0.6.3","lodash":"^4.17.4","recast":"^0.12.1"},"devDependencies":{"eslint":"^5.16.0","mocha":"^6.0.2"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"bugs":{"url":"https://github.com/5to6/codemod/issues"},"homepage":"https://github.com/5to6/codemod#readme","gitHead":"52730e30685de897f60455b949f8f836d332a177","_id":"5to6-codemod@1.8.0","_nodeVersion":"8.12.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-RUHjjwl9+p1d46USvmoKsmMaHODFUAESE1de/q0qQM+hwzgk/HssTwb1Nc5dbUpKEkJ7duLg6ggMIwScd+TRig==","shasum":"12f7639ff965efd23de3a5bff4787742a50260cf","tarball":"https://registry.npmjs.org/5to6-codemod/-/5to6-codemod-1.8.0.tgz","fileCount":72,"unpackedSize":75980,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcol75CRA9TVsSAnZWagAAAPMP/0oSNXUedZ1qTL3MLYQY\nHy7Jvq/IK3nuH+yUWUfnxoPjO9nbNJ1+4KmSISBe/Ffcy//xBjcQ9abOVUmk\nphtQvctYBjrBPs7Wue3js5aqxbvhA6qZI6j6OtGXUnJm5VHtJL0q/4heyPVB\nC2u9pWN5Xe5+hLj5RDl2pUcVemAqB8Cm1LeHAKYMiz5wRHj/BGMGRno0w4vT\nfzQaHdSI/RTFGL5EPl8bLzi2Nyd+ojC/wRPw5BCiPLJSOwMN+0Rq5gj+kPk9\nkdEilYFOhe9brrFo3HhZkl5vZMG9EJjN8wG7BGBhtZ4AFJ2fWPC186TfuRYk\nhKK+/yD5zmZSh8m5fuKg+N6cCdTr620lCp9u0OgvptITs/oWwU7dTPHSr9ph\nrerPWTQomQPDLA2zEUl6bkIu46lP+trDIjw85dnt3fwR73jrdCOgmZ7VeiZz\n0y4k/kqmZv1zRKD26H8xHR7ndoUyQmNy0ZzRRIKgxHcIxBEe1EuMWs6mQcQR\nZOzYCJByLFP1OxYY9Re14pW20ecLbqDucrpgMYP1/tn4WBh1Ft07+hTu9jws\nZ0sjJ8iqfYW6s3GM6brnuzYQA9oE9KtYUd/0eZu52Q2LXIg7uMCYnYId7okx\nzfMba9/r6ekwoyGNrfEHFXQJbXGEX3Rf32DfJOqiygNwxsURjsv4yy6Y4OeJ\nQmG3\r\n=6lwe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJqBPeWCs+vSrdCnTU09ununa6yQrxd8CDLXqKq18ofgIgQrc03n1/UG2KjNxQsWyE+xlvCqFb659hgGu2gdBn/20="}]},"maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"_npmUser":{"name":"xjamundx","email":"jamund@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/5to6-codemod_1.8.0_1554145017293_0.34159132047711593"},"_hasShrinkwrap":false}},"readme":"[![Build Status](https://travis-ci.org/5to6/5to6-codemod.svg)](https://travis-ci.org/5to6/5to6-codemod)\n[![GitHub version](https://img.shields.io/github/tag/5to6/5to6-codemod.svg)](https://github.com/5to6/5to6-codemod)\n[![NPM version](https://img.shields.io/npm/v/5to6-codemod.svg)](https://www.npmjs.com/package/5to6-codemod)\n[![Downloads](https://img.shields.io/npm/dm/5to6-codemod.svg)](https://www.npmjs.com/package/5to6-codemod)\n\n# 5to6-codemod\n\nA collection of [codemods](https://medium.com/@cpojer/effective-javascript-codemods-5a6686bb46fb) that allow you to transform your JavaScript code from ES5 to ES6 using [jscodeshift](https://github.com/facebook/jscodeshift).\n\n## Usage\n\n1. `npm install -g jscodeshift`\n2. `npm install 5to6-codemod`\n3. `jscodeshift -t node_modules/5to6-codemod/transforms/[transform].js [files]`\n4. Review changes via `git diff`. Keep what you want, throw it out if you don't. Magic!\n\n## Option flags\n\nWhen executing codemods, you can configure options like so:\n\n`jscodeshift -t node_modules/5to6-codemod/transforms/[transform].js [files] --key=value`\n\n### Recast options\n\nOur transforms will automatically distinguish and pass through Recast config keys via [jscodeshift](https://github.com/facebook/jscodeshift#passing-options-to-recast). Official documentation for Recast's configuration can be found [here](https://github.com/benjamn/recast/blob/4899a70d4b9aeec9c599065be3338464b7047767/lib/options.js#L1). We currently support the following Recast keys:\n- `esprima`\n- `inputSourceMap`\n- `lineTerminator`\n- `quote`\n- `range`\n- `reuseWhitespace`\n- `sourceFileName`\n- `sourceMapName`\n- `sourceRoot`\n- `tabWidth`\n- `tolerant`\n- `trailingComma`\n- `useTabs`\n- `wrapColumn`\n\n## Transforms\n\n- `amd` - Transforms AMD style modules to ES6 `import`/`export`\n- `cjs` - Transforms CommonJS style `require()` calls to ES6 `import` statements\n\t- This transformation accepts the following option flags:\n\t\t- `hoist`: Enables hoisting require statements to the top\n- `no-strict` - Removes \"use strict\" statements\n- `exports` - Move CommonJS style `module.exports` statements to ES6 `export` statements\n- `named-export-generation` - Adds named exports corresponding to default export object keys. Only valid for ES6 modules exporting an object as the default export.\n- `let` - Replace all `var` calls to use `let`\n- `simple-arrow` - Replace all function expressions with a body of a sole return statement into arrow functions\n\n## Known issues\n\n* Can't automagically figure out when you want to use `import * as varName`.\n* End-of-line comments also missing in many situations\n* `simple-arrow` loses comments in the function expression body\n","maintainers":[{"name":"xjamundx","email":"jamund@gmail.com"}],"time":{"modified":"2022-06-12T14:08:14.628Z","created":"2016-01-02T15:50:57.573Z","1.0.0":"2016-01-02T15:50:57.573Z","1.0.1":"2016-05-18T22:32:12.805Z","1.1.0":"2016-06-03T22:21:41.609Z","1.1.1":"2016-09-20T20:03:03.193Z","1.1.2":"2016-09-20T20:03:50.729Z","1.1.3":"2016-11-19T00:21:10.917Z","1.1.4":"2017-02-07T00:21:59.117Z","1.2.0":"2017-03-04T16:47:06.350Z","1.3.0":"2017-03-07T18:39:05.727Z","1.4.0":"2017-03-08T23:37:09.801Z","1.5.0":"2017-03-17T15:43:22.070Z","1.6.0":"2017-05-22T18:43:17.663Z","1.7.1":"2017-06-16T16:29:26.815Z","1.8.0":"2019-04-01T18:56:57.404Z"},"homepage":"https://github.com/5to6/codemod#readme","repository":{"type":"git","url":"git+https://github.com/5to6/codemod.git"},"contributors":[{"name":"Jamis Charles"},{"name":"Jamund Ferguson"}],"bugs":{"url":"https://github.com/5to6/codemod/issues"},"license":"MIT","readmeFilename":"README.md","users":{"hugov":true}}