# pull-pixi-sprite-event

> A pull-stream through that will throttle the source until a Pixi.js sprite event happens

Latest version **0.2.1** (published 2017-02-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install pull-pixi-sprite-event
pnpm add pull-pixi-sprite-event
yarn add pull-pixi-sprite-event
bun add pull-pixi-sprite-event
```

## 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.2.1 |
| Published | 2017-02-28 |
| First published | 2017-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Fabricio C Zuardi |
| Maintainers | fczuardi |
| Keywords | pull-stream, pixi, pixi.js, events |

## Links

- npm: https://www.npmjs.com/package/pull-pixi-sprite-event
- Repository: https://github.com/20kbudget/pull-pixi-sprite-event
- Homepage: https://github.com/20kbudget/pull-pixi-sprite-event#readme
- Issues: https://github.com/20kbudget/pull-pixi-sprite-event/issues
- npm.io page: https://npm.io/package/pull-pixi-sprite-event

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 0.2.1 (latest) — 2017-02-28
- 0.2.0 — 2017-02-28
- 0.1.2 — 2017-02-28
- 0.1.1 — 2017-02-28

## README

# pull-pixi-sprite-event
A [pull-stream][pull-stream] "[Through][Through]" that will throttle the source until a [pixi.js] [interactive sprite] event happens

## install

```
yarn add pull-pixi-sprite-event
```

## usage

```javascript
const pull = require('pull-stream')
const listen = require('pull-pixi-sprite-event')
const {Application, Text} = require('pixi.js')

const sprite = new Text('click me')
pull(
    pull.count(),
    listen(sprite, 'pointerdown'),
    pull.log()
);

const {view, stage} = new Application()
stage.addChild(sprite)
document.body.appendChild(view)
```
[pull-stream]: https://github.com/pull-stream/pull-stream
[Through]: https://github.com/pull-stream/pull-stream/blob/master/docs/throughs/index.md
[pixi.js]: http://www.pixijs.com/
[interactive sprite]: http://pixijs.download/dev/docs/PIXI.interaction.InteractionManager.html

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