Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including react-native-class-exists with all npm packages installed. Try it out:

require("react-native/package.json"); // react-native is a peer dependency. require("react-native-windows/package.json"); // react-native-windows is a peer dependency. var reactNativeClassExists = require("react-native-class-exists")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

react-native-class-exists v1.0.1

Do runtime checks if a native class exists or device has certain capabilities. Useful when you weak link libraries (like iOS 11 having ARKit, and you still want iOS 10 users to be able to use your app without ARKit features).

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free