Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Callbaxx.js – A utility library to bring callbacks to synchronous code. Parent comment
const promisify = require('bluebird').promisify const from = require('rxjs').from const isTrue = require('callbaxx').isTrue const isTrueAsync = promisify(isTrue) const makeIsTrueSource = val => from(isTrueAsync(val)) const source = makeIsTrueSource(true) source.subscribe(console.log, console.error)