Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: pako
node v8.17.0
version:
2.0.0
endpoint
share
tweet
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