# react-native-9patch-image

> This native module supports of using 9-patch drawable resources`

Latest version **0.3.4** (published 2018-07-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-9patch-image
pnpm add react-native-9patch-image
yarn add react-native-9patch-image
bun add react-native-9patch-image
```

## 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.3.4 |
| Published | 2018-07-16 |
| First published | 2017-01-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 67 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 53 |
| Author | Alexander Ustinov |
| Maintainers | rusfearuth |
| Keywords | 9-patch, nine-patch, images, react-native, native, drawables |

## Links

- npm: https://www.npmjs.com/package/react-native-9patch-image
- Repository: https://github.com/rusfearuth/react-native-9patch-image
- Issues: https://github.com/rusfearuth/react-native-9patch-image/issues
- npm.io page: https://npm.io/package/react-native-9patch-image

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 0.3.4 (latest) — 2018-07-16
- 0.3.3 — 2017-10-23
- 0.3.1 — 2017-01-13
- 0.3.0 — 2017-01-12

## README

# React Native 9patch image

<a href="https://www.npmjs.com/package/react-native-9patch-image"><img src="https://img.shields.io/npm/v/react-native-9patch-image.svg"></a>

This module supports of using native 9patch drawables from Android and capInsets from iOS.


## Getting started

Install native module
```
$ npm i --save react-native-9patch-image
```

Link native module with your project
```
$ react-native link react-native-9patch-image
```

Add component to your project
```javascript
import NinePatchView from 'react-native-9patch-image';

<NinePatchView
  source={{ 'uri': 'bubble' }}
  style={{ width: 100, height: 100 }}
  />
```

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