node-libs-react-native icon indicating copy to clipboard operation
node-libs-react-native copied to clipboard

Node core modules for React Native

Results 17 node-libs-react-native issues
Sort by recently updated
recently updated
newest added

Nice work with this repo! My app apparently requires "vm", but the "vm-browserify" alias was removed (in c0fb5594049ff96a304671a2dbf57227defebb07). Can you explain why? Is there a specific reason?

The [`shims.js` file over in `rn-nodeify`](https://github.com/tradle/rn-nodeify/blob/master/shims.js) also contains useful info about implementations of node core modules in a React Native env, so it would be nice if there were a...

new rn-cli.js configuration ``` module.exports = { resolver: { extraNodeModules: require('node-libs-react-native'), blacklistRE: /react-native\/local-cli\/core\/__fixtures__.*/ } } ``` If this doesn't work try in metro.config.js ``` module.exports = { transformer: { getTransformOptions:...

https://github.com/browserify/vm-browserify/

hi, Guess I'm still too much of a noob - I have no idea how to actually access the cool stuff this library purports to make available, in my RN...

I added the package as dev dependency. And then as per documentation, I have added 1. in metro.config.js ``` resolver: { extraNodeModules: require('node-libs-react-native'), }, ``` 2. in `index.js` `import 'node-libs-react-native/globals.js';`...

Adding `import 'node-libs-react-native/globals.js';` to my App.tsx results in the following error: ### Looking at `globals.js` ```js global.Buffer = require('buffer').Buffer; global.process = require('process'); // Needed so that 'stream-http' chooses the right...