react-native-operational-system
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

OS in React Native

Node's os API in React Native

Install

npm install react-native-operational-system --save

or

yarn add react-native-operational-system

Link in the native dependency

For iOS:

cd ios && pod install

Step 3 Profit

Usage

package.json

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

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

Contributors

Julio Sousa

PR's welcome!

Package Sidebar

Install

npm i react-native-operational-system

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

99.5 kB

Total Files

17

Last publish

Collaborators

  • julioaugustodev