{"_id":"es6ify","_rev":"402563","name":"es6ify","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","dist-tags":{"latest":"1.6.0"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"time":{"modified":"2021-08-04T04:36:26.000Z","created":"2013-03-24T02:52:14.223Z","1.6.0":"2014-12-12T22:05:24.575Z","1.5.1":"2014-10-23T19:13:51.848Z","1.5.0":"2014-10-23T19:11:28.101Z","1.4.0":"2014-09-22T22:04:19.285Z","1.3.0":"2014-08-08T01:38:43.115Z","1.2.0":"2014-06-14T20:53:57.353Z","1.1.0":"2014-04-01T20:59:01.425Z","1.0.3":"2014-03-29T20:59:27.862Z","1.0.2":"2014-03-29T19:40:57.495Z","1.0.1":"2014-03-29T16:55:20.507Z","1.0.0":"2014-03-29T15:52:09.683Z","0.4.8":"2014-01-21T21:37:13.213Z","0.4.7":"2014-01-16T21:46:14.381Z","0.4.5":"2013-12-15T22:58:02.961Z","0.4.4":"2013-12-15T22:52:06.947Z","0.4.3":"2013-09-25T02:09:31.606Z","0.4.2":"2013-09-25T01:37:21.486Z","0.4.1":"2013-08-25T19:11:48.765Z","0.4.0":"2013-08-25T18:55:02.583Z","0.3.0":"2013-07-25T15:46:33.620Z","0.2.0":"2013-03-24T23:47:17.729Z","0.1.0":"2013-03-24T02:52:14.223Z"},"users":{"joakin":true,"n370":true,"leonardorb":true},"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"repository":{"type":"git","url":"https://github.com/thlorenz/es6ify"},"versions":{"1.6.0":{"name":"es6ify","version":"1.6.0","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"docme":"JSDOC_GITHUBIFY_BRANCH=master docme README.md -- --configure .jsdocrc","test":"tap test/*.js"},"repository":{"type":"git","url":"https://github.com/thlorenz/es6ify"},"homepage":"https://thlorenz.github.io/es6ify/","dependencies":{"through":"~2.2.7","traceur":"0.0.79","xtend":"~2.2.0"},"devDependencies":{"tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.4.1","browserify":"~5.12.1"},"keywords":["traceur","JavaScript.next","ES6","browserify","browserify-transform","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"gitHead":"b1eec26316c2744f867b57252bb1064300627480","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@1.6.0","_shasum":"e2925b71922b2d7f854f61979cd0d65cc2267255","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.33","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"e2925b71922b2d7f854f61979cd0d65cc2267255","size":6697,"noattachment":false,"key":"/es6ify/-/es6ify-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-1.6.0.tgz"},"directories":{},"publish_time":1418421924575,"_cnpm_publish_time":1418421924575,"_hasShrinkwrap":false},"1.5.1":{"name":"es6ify","version":"1.5.1","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"docme":"JSDOC_GITHUBIFY_BRANCH=master docme README.md -- --configure .jsdocrc","test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"source-map":"~0.1.29","through":"~2.2.7","traceur":"0.0.72","xtend":"~2.2.0"},"devDependencies":{"tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~5.12.1"},"keywords":["traceur","JavaScript.next","ES6","browserify","browserify-transform","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"gitHead":"ce1b026f016e95eac4f7ab44de00ac08d0228654","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@1.5.1","_shasum":"b10b6f2c8e6550beafa407b3d1763a73b856d084","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.32","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"b10b6f2c8e6550beafa407b3d1763a73b856d084","size":7039,"noattachment":false,"key":"/es6ify/-/es6ify-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-1.5.1.tgz"},"directories":{},"publish_time":1414091631848,"_cnpm_publish_time":1414091631848,"_hasShrinkwrap":false},"1.5.0":{"name":"es6ify","version":"1.5.0","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"docme":"JSDOC_GITHUBIFY_BRANCH=master docme README.md -- --configure .jsdocrc","test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"source-map":"~0.1.29","through":"~2.2.7","traceur":"0.0.72","xtend":"~2.2.0"},"devDependencies":{"tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~5.12.1"},"keywords":["traceur","JavaScript.next","ES6","browserify","browserify-transform","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"gitHead":"d0995f2dee0b6e976dd239fb1926d7c3d89a7524","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@1.5.0","_shasum":"5b989409af6280a1b8d45b2f7f3d36d96cdca7a7","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.32","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"5b989409af6280a1b8d45b2f7f3d36d96cdca7a7","size":7079,"noattachment":false,"key":"/es6ify/-/es6ify-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-1.5.0.tgz"},"directories":{},"publish_time":1414091488101,"_cnpm_publish_time":1414091488101,"_hasShrinkwrap":false},"1.4.0":{"name":"es6ify","version":"1.4.0","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"source-map":"~0.1.29","through":"~2.2.7","traceur":"0.0.62","xtend":"~2.2.0"},"devDependencies":{"tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~3.33.1"},"keywords":["traceur","JavaScript.next","ES6","browserify","browserify-transform","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"gitHead":"2d4a996e7db48d78d0f931113b87a89da3620a87","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@1.4.0","_shasum":"669971fa6df686779bc8862e6431a285e4eb321a","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"669971fa6df686779bc8862e6431a285e4eb321a","size":7002,"noattachment":false,"key":"/es6ify/-/es6ify-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-1.4.0.tgz"},"directories":{},"publish_time":1411423459285,"_cnpm_publish_time":1411423459285,"_hasShrinkwrap":false},"1.3.0":{"name":"es6ify","version":"1.3.0","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"source-map":"~0.1.29","through":"~2.2.7","traceur":"0.0.55","xtend":"~2.2.0"},"devDependencies":{"tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~3.33.1"},"keywords":["traceur","JavaScript.next","ES6","browserify","browserify-transform","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"gitHead":"3701825b3987243ef33a19bc31ae7828e5e70689","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@1.3.0","_shasum":"f37ee7a7d11d6a271c7e6960ea299b3475e9bfe3","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"f37ee7a7d11d6a271c7e6960ea299b3475e9bfe3","size":10274,"noattachment":false,"key":"/es6ify/-/es6ify-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-1.3.0.tgz"},"directories":{},"publish_time":1407461923115,"_cnpm_publish_time":1407461923115,"_hasShrinkwrap":false},"1.2.0":{"name":"es6ify","version":"1.2.0","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"source-map":"~0.1.29","through":"~2.2.7","traceur":"0.0.42","xtend":"~2.2.0"},"devDependencies":{"tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~3.33.1"},"keywords":["traceur","JavaScript.next","ES6","browserify","browserify-transform","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@1.2.0","dist":{"shasum":"41658c4f7833ed5aadf20c4d2640cd73b62d483e","size":10161,"noattachment":false,"key":"/es6ify/-/es6ify-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-1.2.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1402779237353,"_cnpm_publish_time":1402779237353,"_hasShrinkwrap":false},"1.1.0":{"name":"es6ify","version":"1.1.0","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"source-map":"~0.1.29","through":"~2.2.7","traceur":"0.0.32","xtend":"~2.2.0"},"devDependencies":{"tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~3.33.1"},"keywords":["traceur","JavaScript.next","ES6","browserify","browserify-transform","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@1.1.0","dist":{"shasum":"ff24c8f54d09c5715f21da2e8e02410ee5b99b2d","size":10168,"noattachment":false,"key":"/es6ify/-/es6ify-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-1.1.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1396385941425,"_cnpm_publish_time":1396385941425,"_hasShrinkwrap":false},"1.0.3":{"name":"es6ify","version":"1.0.3","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"through":"~2.2.7","source-map":"~0.1.29","traceur":"0.0.31","xtend":"~2.2.0"},"devDependencies":{"tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~3.33.1"},"keywords":["traceur","JavaScript.next","ES6","browserify","browserify-transform","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@1.0.3","dist":{"shasum":"b65296179fd578da013a910a12fd7a16ee8ac981","size":10146,"noattachment":false,"key":"/es6ify/-/es6ify-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-1.0.3.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1396126767862,"_cnpm_publish_time":1396126767862,"_hasShrinkwrap":false},"1.0.2":{"name":"es6ify","version":"1.0.2","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"through":"~2.2.7","source-map":"~0.1.29","traceur":"0.0.31","xtend":"~2.2.0"},"devDependencies":{"tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~3.33.1"},"keywords":["traceur","JavaScript.next","ES6","browserify","browserify-transform","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@1.0.2","dist":{"shasum":"ff135bb6956565140362d53367cf9ae70a2483bb","size":10145,"noattachment":false,"key":"/es6ify/-/es6ify-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-1.0.2.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1396122057495,"_cnpm_publish_time":1396122057495,"_hasShrinkwrap":false},"1.0.1":{"name":"es6ify","version":"1.0.1","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"through":"~2.2.7","source-map":"~0.1.29","traceur":"0.0.31","xtend":"~2.2.0"},"devDependencies":{"tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~3.33.1"},"keywords":["traceur","JavaScript.next","ES6","browserify","browserify-transform","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@1.0.1","dist":{"shasum":"79af44c4d969eab495212c5adeea5cc945adac8d","size":9804,"noattachment":false,"key":"/es6ify/-/es6ify-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-1.0.1.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1396112120507,"_cnpm_publish_time":1396112120507,"_hasShrinkwrap":false},"1.0.0":{"name":"es6ify","version":"1.0.0","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"through":"~2.2.7","source-map":"~0.1.29","traceur":"0.0.31","xtend":"~2.2.0"},"devDependencies":{"tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~3.33.1"},"keywords":["traceur","JavaScript.next","ES6","browserify","browserify-transform","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@1.0.0","dist":{"shasum":"c9273713c40cff4ea162078d14eabba8101c0d9d","size":9566,"noattachment":false,"key":"/es6ify/-/es6ify-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1396108329683,"_cnpm_publish_time":1396108329683,"_hasShrinkwrap":false},"0.4.8":{"name":"es6ify","version":"0.4.8","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"through":"~2.2.7","source-map":"~0.1.29","traceur":"0.0.7"},"devDependencies":{"mold-source-map":"~0.2.0","tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~2.33.0"},"keywords":["traceur","JavaScript.next","ES6","browserify","browserify-transform","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@0.4.8","dist":{"shasum":"313cf864cd42d4a53ea0db10a474b4c3a07bbf46","size":8141,"noattachment":false,"key":"/es6ify/-/es6ify-0.4.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-0.4.8.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1390340233213,"_cnpm_publish_time":1390340233213,"_hasShrinkwrap":false},"0.4.7":{"name":"es6ify","version":"0.4.7","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"through":"~2.2.7","source-map":"~0.1.29","traceur":"0.0.7"},"devDependencies":{"mold-source-map":"~0.2.0","tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~2.33.0"},"keywords":["traceur","JavaScript.next","ES6","browserify","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.8"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@0.4.7","dist":{"shasum":"7c36386a89b9073c24f3b5be0911acee59ef7a1f","size":8144,"noattachment":false,"key":"/es6ify/-/es6ify-0.4.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-0.4.7.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1389908774381,"_cnpm_publish_time":1389908774381,"_hasShrinkwrap":false},"0.4.5":{"name":"es6ify","version":"0.4.5","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"through":"~2.2.7","source-map":"~0.1.29","traceur":"0.0.7"},"devDependencies":{"mold-source-map":"~0.2.0","tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~2.33.0"},"keywords":["traceur","JavaScript.next","ES6","browserify","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@0.4.5","dist":{"shasum":"9172ca9805c14513dd336b265b0ad23585d8139a","size":8128,"noattachment":false,"key":"/es6ify/-/es6ify-0.4.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-0.4.5.tgz"},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1387148282961,"_cnpm_publish_time":1387148282961,"_hasShrinkwrap":false},"0.4.4":{"name":"es6ify","version":"0.4.4","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"through":"~2.2.7","source-map":"~0.1.29","traceur":"~0.0.3"},"devDependencies":{"mold-source-map":"~0.2.0","tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~2.33.0"},"keywords":["traceur","JavaScript.next","ES6","browserify","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@0.4.4","dist":{"shasum":"5f6b527d45b3650d172224e47834a75052f6dc5e","size":8127,"noattachment":false,"key":"/es6ify/-/es6ify-0.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-0.4.4.tgz"},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1387147926947,"_cnpm_publish_time":1387147926947,"_hasShrinkwrap":false},"0.4.3":{"name":"es6ify","version":"0.4.3","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"through":"~2.2.7","source-map":"~0.1.29","traceur":"~0.0.3"},"devDependencies":{"mold-source-map":"~0.2.0","tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~2.33.0"},"keywords":["traceur","JavaScript.next","ES6","browserify","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@0.4.3","dist":{"shasum":"7c151f2757a28afc1790a23910245b8b3a3ecaae","size":9057,"noattachment":false,"key":"/es6ify/-/es6ify-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-0.4.3.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1380074971606,"_cnpm_publish_time":1380074971606,"_hasShrinkwrap":false},"0.4.2":{"name":"es6ify","version":"0.4.2","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"through":"~2.2.7","source-map":"~0.1.29","traceur":"~0.0.3"},"devDependencies":{"mold-source-map":"~0.2.0","tap":"~0.4.0","proxyquire":"~0.4.0","convert-source-map":"~0.2.6","browserify":"~2.32.4"},"keywords":["traceur","JavaScript.next","ES6","browserify","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@0.4.2","dist":{"shasum":"0931f33b8edf957e464ffb8ebffb109e833720d0","size":9056,"noattachment":false,"key":"/es6ify/-/es6ify-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-0.4.2.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1380073041486,"_cnpm_publish_time":1380073041486,"_hasShrinkwrap":false},"0.4.1":{"name":"es6ify","version":"0.4.1","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"convert-source-map":"~0.2.5","through":"~2.2.7","traceur":"~0.0.3"},"devDependencies":{"browserify":"~2.7.2","mold-source-map":"~0.2.0","tap":"~0.4.0","proxyquire":"~0.4.0"},"keywords":["traceur","JavaScript.next","ES6","browserify","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@0.4.1","dist":{"shasum":"071019d4cd3ac3f5cc8ea85de3bbe6f68bb9b634","size":7896,"noattachment":false,"key":"/es6ify/-/es6ify-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-0.4.1.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1377457908765,"_cnpm_publish_time":1377457908765,"_hasShrinkwrap":false},"0.4.0":{"name":"es6ify","version":"0.4.0","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"convert-source-map":"~0.2.5","through":"~2.2.7","traceur":"~0.0.3"},"devDependencies":{"browserify":"~2.7.2","mold-source-map":"~0.2.0","tap":"~0.4.0","proxyquire":"~0.4.0"},"keywords":["traceur","JavaScript.next","ES6","browserify","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@0.4.0","dist":{"shasum":"cbd424b609deaf79278a6a0f1585ea8990a322c2","size":7907,"noattachment":false,"key":"/es6ify/-/es6ify-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-0.4.0.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1377456902583,"_cnpm_publish_time":1377456902583,"_hasShrinkwrap":false},"0.3.0":{"name":"es6ify","version":"0.3.0","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"convert-source-map":"~0.2.5","through":"~2.2.7","traceur":"~0.0.3"},"devDependencies":{"browserify":"~2.7.2","mold-source-map":"~0.2.0","tap":"~0.4.0","proxyquire":"~0.4.0"},"keywords":["traceur","JavaScript.next","ES6","browserify","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"_id":"es6ify@0.3.0","dist":{"shasum":"8e6608a7d9c34d3bc9e55c87914b616c6c534d35","size":7922,"noattachment":false,"key":"/es6ify/-/es6ify-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1374767193620,"_cnpm_publish_time":1374767193620,"_hasShrinkwrap":false},"0.2.0":{"name":"es6ify","version":"0.2.0","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"convert-source-map":"~0.2.5","through":"~2.2.7","node-traceur":"~0.1.2"},"devDependencies":{"browserify":"~2.7.2","mold-source-map":"~0.2.0","tap":"~0.4.0","proxyquire":"~0.4.0"},"keywords":["traceur","JavaScript.next","ES6","browserify","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","_id":"es6ify@0.2.0","dist":{"shasum":"2763be497eb5607f6ec01abcee3a2c429f0cc118","size":7955,"noattachment":false,"key":"/es6ify/-/es6ify-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-0.2.0.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1364168837729,"_cnpm_publish_time":1364168837729,"_hasShrinkwrap":false},"0.1.0":{"name":"es6ify","version":"0.1.0","description":"browserify v2 transform to compile JavaScript.next (ES6) to JavaScript.current (ES5) on the fly.","main":"es6ify.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/es6ify.git"},"homepage":"https://github.com/thlorenz/es6ify","dependencies":{"convert-source-map":"~0.2.5","through":"~2.2.7","node-traceur":"~0.1.2"},"devDependencies":{"browserify":"~2.7.2","mold-source-map":"~0.2.0","tap":"~0.4.0"},"keywords":["traceur","JavaScript.next","ES6","browserify","v2","js","plugin","transform"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","_id":"es6ify@0.1.0","dist":{"shasum":"36e9cc78f83d1cd409855cdb3a1cbfb4db8ea79d","size":7413,"noattachment":false,"key":"/es6ify/-/es6ify-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6ify/download/es6ify-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1364093534223,"_cnpm_publish_time":1364093534223,"_hasShrinkwrap":false}},"readme":"# es6ify [![build status](https://secure.travis-ci.org/thlorenz/es6ify.png?branch=master)](http://travis-ci.org/thlorenz/es6ify)\n\n[![NPM](https://nodei.co/npm/es6ify.png?downloads=true&stars=true)](https://nodei.co/npm/es6ify/)\n\n[browserify](https://github.com/substack/node-browserify) `>=v2` transform to compile JavaScript.next (ES6) to\nJavaScript.current (ES5) on the fly.\n\n```js\nbrowserify({ debug: true })\n  .add(es6ify.runtime)\n  .transform(es6ify)\n  .require(require.resolve('./src/main.js'), { entry: true })\n  .bundle()\n  .pipe(fs.createWriteStream(bundlePath));\n```\n\nFind the full version of this example [here](https://github.com/thlorenz/es6ify/blob/master/example/build.js).\n\n## Installation\n\n    npm install es6ify\n\n## What You Get\n\n![screenshot](https://github.com/thlorenz/es6ify/raw/master/assets/screenshot.png)\n\n[Try it live](http://thlorenz.github.com/es6ify/)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**  *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n- [Enabling sourcemaps and related posts](#enabling-sourcemaps-and-related-posts)\n- [API](#api)\n- [Examples](#examples)\n\t- [es6ify.configure(filePattern : Regex)](#es6ifyconfigurefilepattern--regex)\n\t- [es6ify.traceurOverrides](#es6ifytraceuroverrides)\n- [Caching](#caching)\n- [Source Maps](#source-maps)\n- [Supported ES6 features](#supported-es6-features)\n\t- [arrowFunctions](#arrowfunctions)\n\t- [classes](#classes)\n\t- [defaultParameters](#defaultparameters)\n\t- [destructuring](#destructuring)\n\t- [forOf](#forof)\n\t- [propertyMethods](#propertymethods)\n\t- [propertyNameShorthand](#propertynameshorthand)\n\t- [templateLiterals](#templateliterals)\n\t- [restParameters](#restparameters)\n\t- [spread](#spread)\n\t- [generators](#generators)\n\t- [modules](#modules)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Enabling sourcemaps and related posts\n\n- In Chrome or Firefox: enabled by default\n- In IE: works in IE11 onward by default\n- [browserify-sourcemaps](http://thlorenz.com/blog/browserify-sourcemaps)\n- [html5 rocks sourcemaps post](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/)\n\n## API\n\n<!-- START docme generated API please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN docme TO UPDATE -->\n\n<div>\n<div class=\"jsdoc-githubify\">\n<section>\n<article>\n<div class=\"container-overview\">\n<dl class=\"details\">\n</dl>\n</div>\n<dl>\n<dt>\n<h4 class=\"name\" id=\"e6ify::runtime\"><span class=\"type-signature\"></span>e6ify::runtime<span class=\"type-signature\"></span></h4>\n</dt>\n<dd>\n<div class=\"description\">\n<p>The traceur runtime exposed here so it can be included in the bundle via:</p>\n<p><code>browserify.add(es6ify.runtime)</code></p>\n<p>The runtime is quite large and not needed for all ES6 features and therefore not added to the bundle by default.\nSee <a href=\"https://github.com/google/traceur-compiler/issues/1007#issuecomment-42837067\">this comment</a> for details.</p>\n</div>\n<dl class=\"details\">\n<dt class=\"tag-source\">Source:</dt>\n<dd class=\"tag-source\"><ul class=\"dummy\">\n<li>\n<a href=\"https://github.com/thlorenz/es6ify/blob/master/index.js\">index.js</a>\n<span>, </span>\n<a href=\"https://github.com/thlorenz/es6ify/blob/master/index.js#L122\">lineno 122</a>\n</li>\n</ul></dd>\n</dl>\n</dd>\n<dt>\n<h4 class=\"name\" id=\"es6ify::traceurOverrides\"><span class=\"type-signature\"></span>es6ify::traceurOverrides<span class=\"type-signature\"></span></h4>\n</dt>\n<dd>\n<div class=\"description\">\n<p>Allows to override traceur compiler defaults.</p>\n<p>In order to support async functions (<code>async</code>/<code>await</code>) do:</p>\n<p><code>es6ify.traceurOverrides = { asyncFunctions: true }</code></p>\n</div>\n<dl class=\"details\">\n<dt class=\"tag-source\">Source:</dt>\n<dd class=\"tag-source\"><ul class=\"dummy\">\n<li>\n<a href=\"https://github.com/thlorenz/es6ify/blob/master/index.js\">index.js</a>\n<span>, </span>\n<a href=\"https://github.com/thlorenz/es6ify/blob/master/index.js#L139\">lineno 139</a>\n</li>\n</ul></dd>\n</dl>\n</dd>\n</dl>\n<dl>\n<dt>\n<h4 class=\"name\" id=\"es6ify\"><span class=\"type-signature\"></span>es6ify<span class=\"signature\">()</span><span class=\"type-signature\"> &rarr; {function}</span></h4>\n</dt>\n<dd>\n<div class=\"description\">\n<p>The es6ify transform to be used with browserify.</p>\n<h4>Example</h4>\n<p><code>browserify().transform(es6ify)</code></p>\n</div>\n<dl class=\"details\">\n<dt class=\"tag-source\">Source:</dt>\n<dd class=\"tag-source\"><ul class=\"dummy\">\n<li>\n<a href=\"https://github.com/thlorenz/es6ify/blob/master/index.js\">index.js</a>\n<span>, </span>\n<a href=\"https://github.com/thlorenz/es6ify/blob/master/index.js#L99\">lineno 99</a>\n</li>\n</ul></dd>\n</dl>\n<h5>Returns:</h5>\n<div class=\"param-desc\">\n<p>function that returns a <code>TransformStream</code> when called with a <code>file</code></p>\n</div>\n<dl>\n<dt>\nType\n</dt>\n<dd>\n<span class=\"param-type\">function</span>\n</dd>\n</dl>\n</dd>\n<dt>\n<h4 class=\"name\" id=\"es6ify::compileFile\"><span class=\"type-signature\"></span>es6ify::compileFile<span class=\"signature\">(file, src)</span><span class=\"type-signature\"> &rarr; {string}</span></h4>\n</dt>\n<dd>\n<div class=\"description\">\n<p>Compile function, exposed to be used from other libraries, not needed when using es6ify as a transform.</p>\n</div>\n<h5>Parameters:</h5>\n<table class=\"params\">\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th class=\"last\">Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td class=\"name\"><code>file</code></td>\n<td class=\"type\">\n<span class=\"param-type\">string</span>\n</td>\n<td class=\"description last\"><p>name of the file that is being compiled to ES5</p></td>\n</tr>\n<tr>\n<td class=\"name\"><code>src</code></td>\n<td class=\"type\">\n<span class=\"param-type\">string</span>\n</td>\n<td class=\"description last\"><p>source of the file being compiled to ES5</p></td>\n</tr>\n</tbody>\n</table>\n<dl class=\"details\">\n<dt class=\"tag-source\">Source:</dt>\n<dd class=\"tag-source\"><ul class=\"dummy\">\n<li>\n<a href=\"https://github.com/thlorenz/es6ify/blob/master/index.js\">index.js</a>\n<span>, </span>\n<a href=\"https://github.com/thlorenz/es6ify/blob/master/index.js#L20\">lineno 20</a>\n</li>\n</ul></dd>\n</dl>\n<h5>Returns:</h5>\n<div class=\"param-desc\">\n<p>compiled source</p>\n</div>\n<dl>\n<dt>\nType\n</dt>\n<dd>\n<span class=\"param-type\">string</span>\n</dd>\n</dl>\n</dd>\n<dt>\n<h4 class=\"name\" id=\"es6ify::configure\"><span class=\"type-signature\"></span>es6ify::configure<span class=\"signature\">(<span class=\"optional\">filePattern</span>)</span><span class=\"type-signature\"> &rarr; {function}</span></h4>\n</dt>\n<dd>\n<div class=\"description\">\n<p>Configurable es6ify transform function that allows specifying the <code>filePattern</code> of files to be compiled.</p>\n</div>\n<h5>Parameters:</h5>\n<table class=\"params\">\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Argument</th>\n<th class=\"last\">Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td class=\"name\"><code>filePattern</code></td>\n<td class=\"type\">\n<span class=\"param-type\">string</span>\n</td>\n<td class=\"attributes\">\n&lt;optional><br>\n</td>\n<td class=\"description last\"><p>(default: `/.js$/) pattern of files that will be es6ified</p></td>\n</tr>\n</tbody>\n</table>\n<dl class=\"details\">\n<dt class=\"tag-source\">Source:</dt>\n<dd class=\"tag-source\"><ul class=\"dummy\">\n<li>\n<a href=\"https://github.com/thlorenz/es6ify/blob/master/index.js\">index.js</a>\n<span>, </span>\n<a href=\"https://github.com/thlorenz/es6ify/blob/master/index.js#L112\">lineno 112</a>\n</li>\n</ul></dd>\n</dl>\n<h5>Returns:</h5>\n<div class=\"param-desc\">\n<p>function that returns a <code>TransformStream</code> when called with a <code>file</code></p>\n</div>\n<dl>\n<dt>\nType\n</dt>\n<dd>\n<span class=\"param-type\">function</span>\n</dd>\n</dl>\n</dd>\n</dl>\n</article>\n</section>\n</div>\n\n*generated with [docme](https://github.com/thlorenz/docme)*\n</div>\n<!-- END docme generated API please keep comment here to allow auto update -->\n\n## Examples\n\n### es6ify.configure(filePattern : Regex)\n\nThe default file pattern includes all JavaScript files, but you may override it in order to only transform files coming\nfrom a certain directory, with a specific file name and/or extension, etc.\n\nBy configuring the regex to exclude ES5 files, you can optimize the performance of the transform. However transforming\nES5 JavaScript will work since it is a subset of ES6.\n\n```js\nbrowserify({ debug: true })\n  .add(require('es6ify').runtime)\n   // compile all .js files except the ones coming from node_modules\n  .transform(require('es6ify').configure(/^(?!.*node_modules)+.+\\.js$/))\n  .require(require.resolve('./src/main.js'), { entry: true })\n  .bundle()\n  .pipe(fs.createWriteStream(bundlePath));\n```\n\n### es6ify.traceurOverrides\n\nSome features supported by traceur are still experimental: either nonstandard, proposed but not yet standardized, or\njust too slow to use for most code. Therefore Traceur disables them by default. They can be enabled by overriding these\noptions.\n\nFor instance to support the async functions (`async`/`await`) feature you'd do the following.\n\n```js\nvar es6ify = require('es6ify');\nes6ify.traceurOverrides = { asyncFunctions: true };\nbrowserify({ debug: true })\n  .add(es6ify.runtime)\n  .require(require.resolve('./src/main.js'), { entry: true })\n  .bundle()\n  .pipe(fs.createWriteStream(bundlePath));\n```\n\n## Caching\n\nWhen es6ify is run on a development server to help generate the browserify bundle on the fly, it makes sense to only\nrecompile ES6 files that changed. Therefore es6ify caches previously compiled files and just pulls them from there if no\nchanges were made to the file.\n\n## Source Maps\n\nes6ify instructs the traceur transpiler to generate source maps. It then inlines all original sources and adds the\nresulting source map `base64` encoded to the bottom of the transformed content. This allows debugging the original ES6\nsource when using the `debug` flag with browserify.\n\nIf the `debug` flag is not set, these source maps will be removed by browserify and thus will not be contained inside\nyour production bundle.\n\n## Supported ES6 features\n\n### arrowFunctions\n\n```js\nvar log = msg => console.log(msg);\n```\n\n[full example](https://github.com/thlorenz/es6ify/blob/master/example/src/features/arrow-functions.js)\n\n### classes\n\n```js\nclass Character {\n  constructor(x, y, name) {\n    this.x = x;\n    this.y = y;\n  }\n  attack(character) {\n    console.log('attacking', character);\n  }\n}\n\nclass Monster extends Character {\n  constructor(x, y, name) {\n    super(x, y);\n    this.name = name;\n    this.health_ = 100;\n  }\n\n  attack(character) {\n    super.attack(character);\n  }\n\n  get isAlive() { return this.health > 0; }\n  get health() { return this.health_; }\n  set health(value) {\n    if (value < 0) throw new Error('Health must be non-negative.');\n    this.health_ = value;\n  }\n}\n```\n\n[full example](https://github.com/thlorenz/es6ify/blob/master/example/src/make-monster.js)\n\n### defaultParameters\n\n```js\nfunction logDeveloper(name, codes = 'JavaScript', livesIn = 'USA') {\n  console.log('name: %s, codes: %s, lives in: %s', name, codes, livesIn);\n};\n```\n\n[full example](https://github.com/thlorenz/es6ify/blob/master/example/src/features/default-parameters.js)\n\n### destructuring\n\n```js\nvar [a, [b], c, d] = ['hello', [', ', 'junk'], ['world']];\nconsole.log(a + b + c); // hello, world\n```\n\n[full example](https://github.com/thlorenz/es6ify/blob/master/example/src/features/destructuring.js)\n\n### forOf\n\n```js\nfor (let element of [1, 2, 3]) {\n  console.log('element:', element);\n}\n```\n\n[full example](https://github.com/thlorenz/es6ify/blob/master/example/src/features/iterators.js)\n\n### propertyMethods\n\n```js\nvar object = {\n  prop: 42,\n  // No need for function\n  method() {\n    return this.prop;\n  }\n};\n```\n\n### propertyNameShorthand\n\n```js\nvar foo = 'foo';\nvar bar = 'bar';\nvar obj = { foo, bar };\n```\n\n### templateLiterals\n\n```js\nvar x = 5, y = 10;\nconsole.log(`${x} + ${y} = ${ x + y}`)\n// 5 + 10 = 15\n```\n\n### restParameters\n\n```js\nfunction printList(listname, ...items) {\n  console.log('list %s has the following items', listname);\n  items.forEach(function (item) { console.log(item); });\n};\n```\n[full example](https://github.com/thlorenz/es6ify/blob/master/example/src/features/rest-parameters.js)\n\n\n### spread\n\n```js\nfunction add(x, y) {\n  console.log('%d + %d = %d', x, y, x + y);\n}\nvar numbers = [5, 10]\nadd(...numbers);\n// 5 + 10 = 15\n};\n```\n\n[full example](https://github.com/thlorenz/es6ify/blob/master/example/src/features/spread-operator.js)\n\n### generators\n\n```js\n// A binary tree class.\nfunction Tree(left, label, right) {\n  this.left = left;\n  this.label = label;\n  this.right = right;\n}\n\n// A recursive generator that iterates the Tree labels in-order.\nfunction* inorder(t) {\n  if (t) {\n    yield* inorder(t.left);\n    yield t.label;\n    yield* inorder(t.right);\n  }\n}\n\n// Make a tree\nfunction make(array) {\n  // Leaf node:\n  if (array.length == 1) return new Tree(null, array[0], null);\n  return new Tree(make(array[0]), array[1], make(array[2]));\n}\n\n\nlet tree = make([[['a'], 'b', ['c']], 'd', [['e'], 'f', ['g']]]);\nconsole.log('generating tree labels in order:');\n\n// Iterate over it\nfor (let node of inorder(tree)) {\n  console.log(node); // a, b, c, d, ...\n}\n```\n\n[full example](https://github.com/thlorenz/es6ify/blob/master/example/src/features/generators.js)\n\n### block scoping\n\n```js\n{\n  let tmp = 5;\n}\nconsole.log(typeof tmp === 'undefined'); // true\n```\n\nNOTE: Traceur has a pretty bad bug that makes the above code not work correctly for now: [google/traceur-compiler#1358](https://github.com/google/traceur-compiler/issues/1358).\n\n### modules\n\nImports and exports are converted to `commonjs` style `require` and `module.exports` statements to seamlessly integrate\nwith browserify.\n","_attachments":{},"homepage":"https://thlorenz.github.io/es6ify/","bugs":{"url":"https://github.com/thlorenz/es6ify/issues"},"license":"MIT"}