babel/kneden
View on GitHub ↗ ★ 512 JavaScript archived
Transpile ES2017 async/await to vanilla ES6 Promise chains: a Babel plugin
4 mentions on Hacker News by 3 people: 1 story, 3 comments · first 2016-02-13 · latest 2016-05-16
20082026
-
…I'd argue that it qualifies as a footgun. Having said that, I'm very interested in seeing where https://github.com/marten-de-vries/kneden goes.
comment by rich_harris · 2016-05-16 · in Bublé: a fast, batteries-included ES2015 transpiler -
…more tersely: https://babeljs.io/docs/plugins/transform-async-to-generator... There's also Kneden ( https://github.com/marten-de-vries/kneden ) which, combined with a Promise polyfill, should transpile async/await into relatively clean…
comment by callahad · 2016-02-27 · in Async/await: It’s Good and Bad -
Luckily, you can downcompile to ES5 using the exact same tool: Babel. See for an example: https://github.com/marten-de-vries/kneden/tree/master/test/f... Anyway, I agree, the sooner Kneden becomes obsolete, the better!
comment by marten-de-vries · 2016-02-13 · in Show HN: Kneden – Transpile ES7 Async/await to ES6 Promise Chains (Babel Plugin)