Node JS fs module inside browser

That’s right, exports is node-specific JS (used to make part of your module available outside the module) and isn’t supported by web-browsers. Even though NodeJS is technically JS, there are client specific properties (like the window property for browsers, and exports for NodeJS apps) that can’t be interchanged.

That said, here’s a client side JS answer to the CSV problem.

Leave a Comment