# @walfie/ecs-fish-tank

> ECS-based fish tank simulation with StreamElements integration.

Latest version **0.1.6** (published 2021-12-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @walfie/ecs-fish-tank
pnpm add @walfie/ecs-fish-tank
yarn add @walfie/ecs-fish-tank
bun add @walfie/ecs-fish-tank
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2021-12-14 |
| First published | 2021-05-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | walfie |

## Links

- npm: https://www.npmjs.com/package/@walfie/ecs-fish-tank
- npm.io page: https://npm.io/package/@walfie/ecs-fish-tank

## Dependencies (3)

- [ecsy](https://npm.io/package/ecsy.md) ^0.4.2
- [three](https://npm.io/package/three.md) ^0.128.0
- [ecsy-three](https://npm.io/package/ecsy-three.md) ^0.1.3

## Recent versions

- 0.1.6 (latest) — 2021-12-14
- 0.1.5 — 2021-12-14
- 0.1.4 — 2021-05-19
- 0.1.3 — 2021-05-19

## README

# ecs-fish-tank

ECS-based fish tank simulation with StreamElements integration.

## Usage

For StreamElements usage, create a new custom widget, delete all the HTML, CSS,
JS, Fields, and Data, and replace the HTML contents with the following:

```html
<script type="module">
  import { init } from "https://unpkg.com/@walfie/ecs-fish-tank@0.1.4/dist/ecs-fish-tank.es.js";
  init({ debug: false });
</script>
```

Replace `0.1.4` with the latest version.

## Development

```sh
yarn dev
```

This starts a local dev server on <http://localhost:3000>.

## Build

```sh
yarn build
```

This creates assets in the `dist/` directory.

## Deploy to GitHub pages

```sh
yarn deploy
```

This will deploy to the `gh-pages` branch of your remote `origin`.

## Release

```sh
npm version patch
git push --follow-tags
```

There is a GitHub workflow triggered on tag pushes, which will build and
publish the package to NPM.

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