How to use Buffers again? Old node path no longer exists
Previously, I used
export * from "https://deno.land/std@0.177.0/node/internal/buffer.mjs";
. I updated a project to use the latest std library and I have no idea how to get buffers back.2 Replies
Just figured it out:
export * from "node:buffer";
Then, I can import { Buffer } from "/dep.ts";
You can also use Deno's native buffer and streams APIs