# react-native-os

> node's os module for react-native

Latest version **1.2.6** (published 2019-11-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-os
pnpm add react-native-os
yarn add react-native-os
bun add react-native-os
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.6 |
| Published | 2019-11-29 |
| First published | 2016-11-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 89.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Andy Prock |
| Maintainers | aprock, phillbaker |
| Keywords | react-component, reactnative, react-native, os, ios, android |

## Links

- npm: https://www.npmjs.com/package/react-native-os
- Repository: https://github.com/aprock/react-native-os
- Issues: https://github.com/aprock/react-native-os/issues
- npm.io page: https://npm.io/package/react-native-os

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 1.2.6 (latest) — 2019-11-29
- 1.2.5 — 2019-08-18
- 1.2.4 — 2019-06-26
- 1.2.2 — 2018-12-02
- 1.2.1 — 2018-03-31
- 1.2.0 — 2018-03-30
- 1.1.0 — 2017-01-16
- 1.0.3 — 2016-12-15
- 1.0.2 — 2016-11-09
- 1.0.1 — 2016-11-08
- 1.0.0 — 2016-11-07

## README

# os in React Native

node's [os](https://nodejs.org/api/os.html) API in React Native

This module is used by [Peel](http://www.peel.com/)

## Install

* Create a new react-native project. [Check react-native getting started](http://facebook.github.io/react-native/docs/getting-started.html#content)

* In your project dir:

```
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_

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

## Contributors

[Andy Prock](https://github.com/aprock)  

PR's welcome!

---
_Source: https://npm.io/package/react-native-os · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
