# react-stickerpipe

> React Component for StickerPipe API

Latest version **3.0.1** (published 2017-06-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-stickerpipe
pnpm add react-stickerpipe
yarn add react-stickerpipe
bun add react-stickerpipe
```

## 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 | 3.0.1 |
| Published | 2017-06-22 |
| First published | 2016-11-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | iancstewart, rijkvanzanten, sjaakluthart, peterkuiper, larstadema |
| Keywords | react-component, sticker, pipe, stickerpipe, html, react |

## Links

- npm: https://www.npmjs.com/package/react-stickerpipe
- Repository: https://github.com/anchorchat/react-stickerpipe
- Homepage: https://github.com/anchorchat/react-stickerpipe#readme
- Issues: https://github.com/anchorchat/react-stickerpipe/issues
- npm.io page: https://npm.io/package/react-stickerpipe

## Dependencies (3)

- [superagent](https://npm.io/package/superagent.md) ^3.0.0
- [react-event-listener](https://npm.io/package/react-event-listener.md) ^0.4.5
- [react-onclickoutside](https://npm.io/package/react-onclickoutside.md) ^6.1.1

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 3.0.1 (latest) — 2017-06-22
- 3.0.0 — 2017-06-14
- 2.0.0 — 2017-05-09
- 1.8.2 — 2016-12-29
- 1.8.1 — 2016-12-20
- 1.8.0 — 2016-12-15
- 1.7.1 — 2016-12-14
- 1.7.0 — 2016-12-14
- 1.6.0 — 2016-12-09
- 1.5.3 — 2016-12-08
- 1.5.2 — 2016-12-08
- 1.5.1 — 2016-12-07
- 1.5.0 — 2016-12-07
- 1.4.1 — 2016-12-06
- 1.4.0 — 2016-12-02
- … 19 more at https://npm.io/package/react-stickerpipe/versions

## README

# React StickerPipe

Component for the [StickerPipe](http://stickerpipe.com/) API.
Currently in development.

## Usage

Install from npm

[![NPM](https://nodei.co/npm/react-stickerpipe.png)](https://nodei.co/npm/react-stickerpipe/)

Basic Usage

```javascript
import StickerMenu from 'react-stickerpipe';

function sendSticker(sticker) {
  send.sticker(sticker);
}

function MyComponent() {
  return (
    <StickerMenu
      apiKey={your.apiKey}
      userId={your.userId}
      sendSticker={sendSticker}
    />
  );
}
```

## Installation

### src

Install `node_modules` used in `./src`:

```
$ npm i
```

Compile `./src` with Babel:

```
$ npm run compile
```

### examples

Install `node_modules` used in `./examples`:

```
$ cd examples && npm i
```

Create a settings.json file in `./examples/src`:

```json
{
  "apiKey": "yourApiKey",
  "userId": "yourUserId"
}
```

## Development

### src

To watch for changes in `./src` run:

```
$ npm run watch
```

Babel will compile `./src` on changes.

### examples

To start the webpack server run:

```
$ cd examples && npm run start
```

Webpack wil compile on changes in `./examples/src`.

## Contributing

If you want to help with the development of this module and need to test your changes with the examples you can import `<StickerMenu />` directly from `./dist`. Be sure to run `npm run compile` first.

```javascript
'./examples/src/app.js'

// Change this
import StickerMenu from 'react-stickerpipe';

// to this
import StickerMenu from '../../dist/index';
```

## License

This project is licensed under the terms of the [MIT license](https://github.com/anchorchat/react-stickerpipe/blob/master/LICENSE).

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