Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2016 (4)
20082026
  1. …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.
  2. …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
  3. 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!
  4. ▲ 76
    Show HN: Kneden – Transpile ES7 Async/await to ES6 Promise Chains (Babel Plugin)
    story by marten-de-vries · 2016-02-13 · 22 comments