1.0.2 • Published 4 years ago
@ln1778/react-native-os v1.0.2
os in React Native
node's os API in React Native
This module is used by Peel
Install
- Create a new react-native project. Check react-native getting started 
- In your project dir: 
npm install react-native-os --saveNote for iOS: If your react-native version < 0.40 install with this tag instead:
npm install react-native-os@1.0.3 --saveLink in the native dependency
react-native link react-native-osStep 3 Profit
Usage
package.json
only if you want to write require('os') in your javascript
{
  "react-native": {
    "os": "@ln1778/react-native-os"
  }
}Contributors
PR's welcome!