let atob = require('atob'); let pako = require('pako'); you have to use this two library to decrypt the data