textdecode Streaming text decoder that preserves multibyte Unicode characters. npm i textdecode Usage const TextDecoder = require("textdecode"); const td = new TextDecoder(); td.push(Buffer.of(0xf0, 0x9f, 0x92)); // returns '' td.push(Buffer.of(0xa9)); // returns '💩'