flatend icon indicating copy to clipboard operation
flatend copied to clipboard

Add deno port

Open thgh opened this issue 5 years ago • 1 comments

No ts errors 86 ts errors (down from 200) It's a start!

Anyone that wants to work further on this, go for it!

Biggest blockers are:

  • [ ] missing builtin "stream" module for Duplex
  • [ ] missing builtin "net" module
  • [ ] missing builtin "crypto" module for AES gcm

Tested with: deno run testfile.ts:

import { Node, Context } from '../flatend/deno/src/mod.ts'

await Node.start({
  addrs: ['127.0.0.1:6283'],
  services: {
    hello_world: (ctx: Context) => ctx.send('Hello world!' + Date.now()),
  },
})

thgh avatar Jun 28 '20 13:06 thgh

I don't think I can finish this, it probably makes more sense to rewrite the networking part in idiomatic Deno instead of waiting for the std/node/... to catch up.

thgh avatar Jul 05 '20 21:07 thgh