I was trying to use browserify on a file that uses the fs object. When I browserify it, the call to require(\'fs\') doesn\'t get transformed and require>
require(\'fs\')
require>
If you want to run file system with browserify you can install npm.
npm install browserify-fs
and you can access fs object on client side. Thanks