# babble.js

> A library for creating and manipulating virtual puppets

Latest version **2.1.5** (published 2020-11-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install babble.js
pnpm add babble.js
yarn add babble.js
bun add babble.js
```

## 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 | 2.1.5 |
| Published | 2020-11-14 |
| First published | 2017-08-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 64.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | thepaperpilot |
| Maintainers | thepaperpilot |

## Links

- npm: https://www.npmjs.com/package/babble.js
- Repository: https://github.com/thepaperpilot/babble.js
- Homepage: https://github.com/thepaperpilot/babble.js#readme
- Issues: https://github.com/thepaperpilot/babble.js/issues
- npm.io page: https://npm.io/package/babble.js

## Dependencies (4)

- [pixi.js](https://npm.io/package/pixi.js.md) ~4.5.3
- [pixi-timer](https://npm.io/package/pixi-timer.md) ~1.0.1
- [pixi-tween](https://npm.io/package/pixi-tween.md) ^0.2.0
- [pixi-particles](https://npm.io/package/pixi-particles.md) ^4.2.0

## Recent versions

- 2.1.5 (latest) — 2020-11-14
- 2.1.4 — 2020-09-07
- 2.1.3 — 2020-09-07
- 2.1.2 — 2020-09-04
- 2.1.1 — 2020-09-04
- 2.1.0 — 2020-01-04
- 2.0.1 — 2019-12-08
- 2.0.0 — 2019-12-06
- 1.10.2 — 2019-11-25
- 1.10.1 — 2019-11-18
- 1.10.0 — 2019-11-18
- 1.9.1 — 2019-05-30
- 1.9.0 — 2019-05-18
- 1.8.0 — 2018-07-03
- 1.7.10 — 2018-05-24
- … 29 more at https://npm.io/package/babble.js/versions

## README

# babble.js

babble.js is a library for creating and manipulating virtual puppets

## Installation

**Using Node**

Run this command to install babble.js

```
npm install babble.js --save
```

and then use it in your code like so:

```
const babble = require('babble.js')
```

**Client Side**

Download the file at `dist/babble.js` and load it in your page somewhere (using the correct path to wherever you've placed the file)

```
<script src="js/babble.js"></script>
```

and then use it in your code using the global `babble` object.

## How To Use

Here's an example usage of the program:

```
var stage = new babble.Stage('stage', {
	numCharacters: 5,
	assets: assetLists
}, assets, assetsPath)

stage.addPuppet(puppet, 1)

stage.getPuppet(1).jiggle()
```

Also available are docs over each of the program's classes:

- [Stage](./docs/stage.md)
- [Puppet](./docs/puppet.md)
- [Cutscene](./docs/cutscene.md)

Creating puppets can be made significantly easier by using [Babble Buds](https://github.com/thepaperpilot/Babble-Buds), which contains a puppet editor, and using the JSON files in the projects' "characters" folder

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