# pixil

> Wrapper engine for pixi js

Latest version **0.0.14** (published 2020-05-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install pixil
pnpm add pixil
yarn add pixil
bun add pixil
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.14 |
| Published | 2020-05-02 |
| First published | 2020-04-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 52.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dmytro Soldatov |
| Maintainers | cyberdex |
| Keywords | pixi.js, typescript |

## Links

- npm: https://www.npmjs.com/package/pixil
- Repository: https://github.com/CyberDex/pixil
- Issues: https://github.com/CyberDex/pixil/issues
- npm.io page: https://npm.io/package/pixil

## Dependencies (1)

- [pixi.js](https://npm.io/package/pixi.js.md) ^4.8.9

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.0.14 (latest) — 2020-05-02
- 0.0.13 — 2020-05-02
- 0.0.12 — 2020-05-01
- 0.0.11 — 2020-05-01
- 0.0.10 — 2020-05-01
- 0.0.9 — 2020-04-30
- 0.0.8 — 2020-04-30
- 0.0.7 — 2020-04-30
- 0.0.6 — 2020-04-26
- 0.0.5 — 2020-04-26
- 0.0.4 — 2020-04-26
- 0.0.3 — 2020-04-26
- 0.0.2 — 2020-04-26
- 0.0.1 — 2020-04-25

## README

# Pixil

Wrapper engine for [pixi.js](https://github.com/pixijs/pixi.js)

Documentation can be found [here](https://cyberdex.github.io/pixil/)

## Usage

```
npm i pixil
```

```javascript
import { App, View, Label, Button } from 'pixil'

const app = new App({ antialias: true })

document.body.appendChild(app.view)

const splash = new View(0, 0)
const game = new View()

app.views.add('SPLASH', splash)
app.views.add('GAME', game)

const startButton = new Button({ text: 'Press me', width: 250, height: 60, radius: 30 })
splash.addChild(startButton)
startButton.onClick(() => {
	app.views.hide('SPLASH')
	app.views.show('GAME')
})

const gameText = new Label('It Works!!!', { fill: '#ffffff' }, 50, 50)
game.addChild(gameText)
```

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