mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
5 lines
202 B
JavaScript
5 lines
202 B
JavaScript
import Buffer from "buffer";
|
|
import { TextEncoder, TextDecoder } from "text-encoding";
|
|
global.Buffer = global.Buffer || Buffer.Buffer;
|
|
global.TextEncoder = TextEncoder;
|
|
global.TextDecoder = TextDecoder; |