# react-native-rem-stylesheet

> rem-like stylesheet create for react-native

Latest version **0.1.0** (published 2017-12-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-rem-stylesheet
pnpm add react-native-rem-stylesheet
yarn add react-native-rem-stylesheet
bun add react-native-rem-stylesheet
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2017-12-16 |
| First published | 2017-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | oboo chin |
| Maintainers | bracken |
| Keywords | react-native, rem, scale |

## Links

- npm: https://www.npmjs.com/package/react-native-rem-stylesheet
- Repository: https://github.com/react-native-china/react-native-rem-stylesheet
- Homepage: https://github.com/react-native-china/react-native-rem-stylesheet#readme
- Issues: https://github.com/react-native-china/react-native-rem-stylesheet/issues
- npm.io page: https://npm.io/package/react-native-rem-stylesheet

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2017-12-16

## README

# react-native-rem-stylesheet
Tool to build all-device-capatible styles.


### Install

```bash
yarn add react-native-rem-stylesheet
```
or 

```bash
npm i --save react-native-rem-stylesheet
```

## Demo

```js
import React, { Component } from "react";
import { View, Text } from "react-native";
import StyleSheet from "react-native-rem-stylesheet";

export default class SomeComponent extends Component {
  render() {
    return (
      <View>
        <Text>Some text</Text>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  wrapper: {
    width: 320, //100% width
    height: 20, // will be 40 in 640 width device.
    padding: 10,
  },
  text: {
    fontSize: 12,
  },
});

```

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