I'm trying to utilize a vcard parsing module written in Javascrip but it relies on node.js core modules, fs and path. My application is written in React-Native. Does anyone have any recommendations as to how I can emulate the file-system and path modules of npm for use inside the vcard parsing javascript module?
The file in question is the index file of vcards-js and is located inside my node_modules folder of my application. So app/node_modules/vcards-js/index.js
var fs = require('fs');
var path = require('path');