Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const fs = require('fs');
- const download = require('download');
- download('http://www.obzornikzdravstvenenege.si/2017.51.3.190').then(data => {
- var jsfile = data.toString('ascii');
- console.log('converted to base64');
- console.log(jsfile);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement