# atebit

> Generates 8bit animated text

Latest version **1.0.1** (published 2022-07-08) · MIT license · 0 weekly downloads

## Install

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

## 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 | 1.0.1 |
| Published | 2022-07-08 |
| First published | 2022-06-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | dragi-ns |
| Maintainers | dragi-ns |
| Keywords | atebit, 8bit, npm, package, dragi-ns |

## Links

- npm: https://www.npmjs.com/package/atebit
- Repository: https://github.com/dragi-ns/atebit
- Homepage: https://github.com/dragi-ns/atebit#readme
- Issues: https://github.com/dragi-ns/atebit/issues
- npm.io page: https://npm.io/package/atebit

## Recent versions

- 1.0.1 (latest) — 2022-07-08
- 1.0.0 — 2022-06-05

## README

# @dragi-ns/atebit

Generates 8bit animated text

## Install

```
$ npm install atebit
```

## Usage

```html
<div class="chars dragi-ns">
  <div class="char" data-char="d"></div>
  <div class="char" data-char="r"></div>
  <div class="char" data-char="a"></div>
  <div class="char" data-char="g"></div>
  <div class="char" data-char="i"></div>
  <div class="char" data-char="-"></div>
  <div class="char" data-char="n"></div>
  <div class="char" data-char="s"></div>
</div>
```

```js
import { animate } from 'atebit';

animate(document.querySelectorAll('.dragi-ns .char'), [
  [
    { opacity: 0, transform: 'scale(0)' },
    { opacity: 1, transform: 'scale(1.5)' },
    { opacity: 1, transform: 'scale(1)' },
  ],
  {
    duration: 150,
    fill: 'forwards',
  },
]);
```

or

```html
<script src="./dist/atebit.js"></script>
<script>
  AteBit.animate(document.querySelectorAll('.dragi-ns .char'), [
    [
      { opacity: 0, transform: 'scale(0)' },
      { opacity: 1, transform: 'scale(1.5)' },
      { opacity: 1, transform: 'scale(1)' },
    ],
    {
      duration: 150,
      fill: 'forwards',
    },
  ]);
</script>
```

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