Nodejs running code reports an error

 function n(t) {
        return JSON.parse(a("5e5062e82f15fe4ca9d24bc561080e0e",atob(t),0,0,"012345677890123",1))

/ home/shenjianlin/js/code.js:48
return JSON.parse (a ("5e5062e82f15fe4ca9d24bc561080e0e", atob (t), 0P0, "012345677890123", 1)

sudo npm install btoa-atob
bin@1.0.0 / usr/bin
thanks btoa-atob@0.1.2

                                                   ^

have I already installed the atob package or I don"t have

ReferenceError: atob is not defined

at n (/home/shenjianlin/js/code.js:48:56)
at Object.<anonymous> (/home/shenjianlin/js/code.js:55:13)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.runMain (module.js:611:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:160:9)

Mar.28,2021

btoa-atob is just a command line tool. The package you should install is atob , and introduce:

into the code
const atob = require('atob');
function n(t) {
    return JSON.parse(a("5e5062e82f15fe4ca9d24bc561080e0e",atob(t),0,0,"012345677890123",1))
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4be83-44e70.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4be83-44e70.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?