Skip to content Skip to sidebar Skip to footer

"fs.createreadstream() Is Not A Function" Error(javascript)

In my project of web development i need to use fs.createreadstream() function but >unfortunately filesystem is not availabe for browsers as of my knowledge. I tried >using l

Solution 1:

I believe the browserify utility will allow you to use node.js style require statements like:

var fs = require('fs');

Post a Comment for ""fs.createreadstream() Is Not A Function" Error(javascript)"