Atob base64 coding problem of node js error report

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

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

ReferenceError: atob is not defined
    at n (/home/shenjianlin/code.js:47:56)
    at Object.<anonymous> (/home/shenjianlin/code.js:54: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

installation also requires require


laxative, you also asked the last question, https://codeshelper.com/q/10.

.

the last question has been answered, take a look and go

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-1b40107-4f149.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-1b40107-4f149.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?