RunKit + npm: pako

node v8.17.0
version: 2.0.0
endpointsharetweet
var pako = require("pako") function base64(input) { return Buffer.from(input).toString('base64') } var str = 'hello world' var expected = base64(pako.gzip(str)) console.log(expected)
Created from: https://npm.runkit.com/pako
Loading…

no comments

    sign in to comment