How to use the atob function from js-base64

Find comprehensive JavaScript js-base64.atob code examples handpicked from public code repositorys.

41
42
43
44
45
46
47
48
49
50

fs.readFile(path, 'utf8', function (err, data) {
    console.log(path);
    console.log(newpath);
    console.log(originalFilename);
    var bin = Base64.atob(data);


    fs.writeFile(newpath, bin, "binary", function (err, writepath) {
        console.log("should we wait for the new file to be generated");
fork icon0
star icon0
watch icon0