• AxiomShell@lemmy.mlOP
    link
    fedilink
    arrow-up
    1
    ·
    4 years ago

    I wasn’t suggesting implementing lemmy itself in JS/Typescript, but just adapt the lemmy-js-client (which is aimed at Node.js, if I’m not mistaken) to Deno.

    Deno is an interesting alternative to Node.js. It is written itself in Rust (on top of V8) and with a much saner toolchain and it’s aimed to server-side and CLI. The reason is exactly because the port of the Node.js client to Deno would be almost trivial (just changing some idiomatic ES6 imports) and it could open a whole new bunch of opportunities to new cool tools to interact with Lemmy.

    • southerntofu@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      4 years ago

      Ah my bad for misunderstanding your request! Yes i know about out Deno and it looks much better than nodejs (although feature to run code directly from URLs leaves me dubious) but to be honest i’d rather not touch javascript ecosystem with a 10-foot pole when i have the choice x)