DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Decodes a string of data which has been encoded using base-64 encoding - Nodejs
const atob = str => Buffer.from(str, 'base64').toString('binary'); atob('Zm9vYmFy'); // 'foobar'
Source by www.thiscodeworks.com #
PREVIOUS
NEXT
Tagged:
#Decodes
#string
#data
#encoded
#encoding
#Nodejs
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit