Closed CodeDotJS closed 8 years ago
hi @karissa
stream-to-blob-url is now using stream-to-blob instead of once, and there is a little change in it's structure.
stream-to-blob-url
stream-to-blob
once
OLD :
toBlobURL(fs.createReadStream('file.txt'), 'file.txt', function (err, url) {
toBlobURL(fs.createReadStream('file.txt'), 'text/plain', function (err, url) {
CURRENT :
toBlobURL(fs.createReadStream('file.txt'), function (err, url) {
thank you!
hi @karissa
stream-to-blob-url
is now usingstream-to-blob
instead ofonce
, and there is a little change in it's structure.OLD :
toBlobURL(fs.createReadStream('file.txt'), 'file.txt', function (err, url) {
toBlobURL(fs.createReadStream('file.txt'), 'text/plain', function (err, url) {
CURRENT :
toBlobURL(fs.createReadStream('file.txt'), function (err, url) {