Skip to content

codewritz-yuri/react-native-os

 
 

Repository files navigation

os in React Native

node's os API in React Native

This module is used by Peel

Install

npm install react-native-os --save

Note for iOS: If your react-native version < 0.40 install with this tag instead:

npm install [email protected] --save

Link in the native dependency

react-native link react-native-os

Step 3 Profit

Usage

package.json

only if you want to write require('os') in your javascript

{
  "react-native": {
    "os": "react-native-os"
  }
}

Contributors

Andy Prock

PR's welcome!

About

node.js os module for react-native

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 54.6%
  • Objective-C 33.6%
  • JavaScript 7.8%
  • Ruby 4.0%