1npm install rn-nodeify
2
3Then in package.json file, add the following line in "scripts" to specify which modules you want to include in your RN project. For example, I used fs, crypto and https, and the line goes
4
5"postinstall": "node_modules/.bin/rn-nodeify --install crypto,fs,https --hack"
6