Skip to content

node.js os module for react-native [modify: ビルドエラー修正]

License

Notifications You must be signed in to change notification settings

tomoyuki-ito/react-native-os

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 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!

About

node.js os module for react-native [modify: ビルドエラー修正]

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 58.0%
  • Objective-C 34.3%
  • JavaScript 7.7%