How to use packages that depend on Node.js core modules in React Native.
Node has several modules that are automatically available via
require()
: http
, crypto
, etc. While these modules are available
in Node, they are not automatically available in other environments