# celt

> NodeJS native binding to CELT

Latest version **0.1.14** (published 2019-10-29) · MIT license · 0 weekly downloads

## Install

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

## 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.1.14 |
| Published | 2019-10-29 |
| First published | 2013-05-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 2 |
| Unpacked size | 829.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 7 |
| Author | Mikko Rantanen |
| Maintainers | rantanen |

## Links

- npm: https://www.npmjs.com/package/celt
- Repository: https://github.com/Rantanen/node-celt
- Issues: https://github.com/Rantanen/node-celt/issues
- npm.io page: https://npm.io/package/celt

## Dependencies (2)

- [nan](https://npm.io/package/nan.md) ~2.14.0
- [bindings](https://npm.io/package/bindings.md) ~1.2.1

## Recent versions

- 0.1.14 (latest) — 2019-10-29
- 0.1.13 — 2019-10-29
- 0.1.12 — 2018-05-06
- 0.1.11 — 2016-10-31
- 0.1.10 — 2016-06-05
- 0.1.9 — 2015-09-30
- 0.1.8 — 2015-09-29
- 0.1.7 — 2015-05-19
- 0.1.6 — 2015-05-19
- 0.1.5 — 2015-05-15
- 0.1.4 — 2015-04-27
- 0.1.3 — 2015-04-12
- 0.1.2 — 2013-06-14
- 0.1.1 — 2013-06-13
- 0.1.0 — 2013-05-11

## README

node-celt
=========
### NodeJS native bindings to libcelt

This module implements bindings for Celt v0.7.0 for Node.js.

    celt = require('node-celt');

    // Create the encoder.
    // Specify 48kHz sampling rate and 10ms frame size.
    // NOTE: The decoder must use the same values when decoding the packets.
    var rate = 48000;
    var frame_size = rate/100;
    var encoder = new celt.CeltEncoder( rate );

    // Encode and decode.
    var encoded = encoder.encode( buffer );
    var decoded = encoder.decode( encoded );

Platform support
----------------

Supported platforms:
- Linux x64
- Linux arm
- Darwin x64 (mac osx)
- FreeBSD x64
- Windows x64

Add new supported platforms by running ./configure in deps/celt-0.7.1 and
copying the resulting config.h to deps/config/celt-0.7.1/<os>/<arch>.

Use the following flags: --enable-static --disable-shared --with-pic

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