Neoteric Plumbing Mishap

    react-native-os

    1.2.6 • Public • Published

    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 react-native-os@1.0.3 --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!

    Install

    npm i react-native-os

    DownloadsWeekly Downloads

    10,356

    Version

    1.2.6

    License

    MIT

    Unpacked Size

    91.6 kB

    Total Files

    16

    Last publish

    Collaborators

    • aprock
    • phillbaker