News for hackers. Stuff that matters.
Re:Bublé: a fast, batteries-included ES2015 transpiler by aspiringuser on Monday May 16, 2016 @09:58AM (#11706265)
rich_harris Yet another great project. Thanks.

Question - how to have buble accept input from stdin and output to stdout? This is useful for quick ES6 tests and chaining piped output.

buble with no args prints help. Would be more useful if it just started parsing code from stdin as babel 5.x did.

Re:Bublé: a fast, batteries-included ES2015 transpiler by rich_harris on Monday May 16, 2016 @11:39AM (#11706988)
Thanks! It does accept input from stdin and direct to stdout if you do e.g.

    cat somefile.js | buble
– can you explain in more detail what you mean? (Or better yet raise an issue :)
Re:Bublé: a fast, batteries-included ES2015 transpiler by aspiringuser on Monday May 16, 2016 @03:25PM (#11708895)
`cat | buble` did the trick! Thanks.