# react-native-stylesheet-normalize

> react-native normalize stylesheet

Latest version **1.0.1** (published 2017-08-03) · MIT license · 0 weekly downloads

## Install

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

## 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.0.1 |
| Published | 2017-08-03 |
| First published | 2017-08-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | chilijung |
| Maintainers | chilijung |

## Links

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

## Recent versions

- 1.0.1 (latest) — 2017-08-03
- 1.0.0 — 2017-08-03

## README

# react-native-styleSheet-normalize

normalize fontSize in react-native `StyleSheet`.


## Why 

In different devices there are different `pixelRatio`, `width` and `height`. So appearance should not be always the same, the appearance should adapt it's fontSize to match user's device.  Use `normalizeText` extract from `react-native-elements` (see [here](https://github.com/react-native-training/react-native-elements/blob/master/src/helpers/normalizeText.js)).


## Usage

just replace your `StyleSheet.create` to `StyleSheetNormalize.create` and that's it!


```js

import StyleSheetNormalize from 'react-native-stylesheet-normalize';


const styles = StyleSheetNormalize.create({
  // your styles here
});
```

## License

MIT

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