DEV Community

Discussion on: What languages and tools do you use that spark joy?

Collapse
 
richytong profile image
Richard Tong

I love the library I created: rubico. Think RxJS, but no Observables, just vanilla types. I put up a website with some runnable code examples here. Here's a code sample with deno that I look at every now and again

import { serve } from "https://deno.land/std/http/server.ts";
import { map, transform } from "https://deno.land/x/rubico/rubico.js";
const s = serve({ port: 8001 });
console.log("http://localhost:8001/");
transform(map(req => {
  req.respond({ body: "Hello World\n" });
}), null)(s);