1. X
  2. Khafra
Log inSign up
Khafra
618 posts
user avatar
Khafra
@KhafraDev
github.com/KhafraDev (Node.js Core Collaborator) - synergism.cc
Joined August 2020
68
Following
265
Followers
RepliesRepliesMediaMedia
  • user avatar
    Khafra
    @KhafraDev
    Aug 7
    Node apparently will have native .zip support, possibly in v27. I never thought I'd see the day, there were quite a few critics in the feature request (from 2022!). github.com/nodejs/node/pu…
    Image
  • user avatar
    Khafra
    @KhafraDev
    Aug 2
    If anyone's interested, it's possible to get canvaskit-wasm working on Cloudflare Workers with 2 simple patches: 1. handle __dirname being undefined 2. implement the missing instantiateWasm hook gist.github.com/KhafraDev/88ba…
    Image
  • user avatar
    Khafra
    @KhafraDev
    Jul 22
    I'm going to step away from maintaining undici (node's fetch/EventSource/WebSocket). AI has made maintaining it miserable. Every terrible idea now has free reign while taking up my time and piece-by-piece breaking down my patience and enjoyment.
  • user avatar
    Khafra
    @KhafraDev
    Jul 15
    oof
    Image
  • user avatar
    Khafra
    @KhafraDev
    Jul 14
    I had Fable whip this POC up... unfortunately node:quic isn't totally feature complete yet :)
    import { WebTransport } from 'undici'

const wt = new WebTransport(
  'https://127.0.0.1:4443/webtransport/handlers/echo.py',
  {
    headers: { origin: 'https://127.0.0.1' },
    serverCertificateHashes: [{
      algorithm: 'sha-256',
      value: Buffer.from(
        'CLFmbBhHj2Mj4oEH4DdPJqFb1bB9AEABCcqRdIZtGTo=',
        'base64'
      )
    }]
  }
)
await wt.ready.then(() => console.log('Connected!'))

const writer = wt.datagrams.createWritable().getWriter()
const reader = wt.datagrams.readable.getReader()

await writer.write(new TextEncoder().encode('hello'))

const { value } = await reader.read()
console.log('Received:', new TextDecoder().decode(value))

Log in or sign up for X

See what’s happening and join the conversation

Continue with phone
or
Log in with username or email
Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Advertisement
Advertisement