open-index/open-npm huggingface dataset:
npm package: @fitbit/bison-i18n
Description: Tools for Fitbit OS i18n strings format
Author: Fitbit
Latest version: 1.1.0

Tools for Fitbit OS i18n strings format
=======================================

Usage
-----
```js
import fs from 'fs';
import { TranslationLoader } from 'bison-i18n';

const translations = new TranslationLoader()
  .loadLanguage('en-US', fs.readFileSync('en-US.po'))
  .loadLanguage('fr-FR', fs.readFileSync('fr-FR.po'))
  .build();

fs.writeFileSync('en-US', translations.getLanguage('en-US'));
```
npm package: @fitbit/image-codec-txi
Description: TXI image format encoder library
Author: Fitbit, Inc.
Latest version: 1.1.6

@fitbit/image-codec-txi
===============

[![Greenkeeper badge](https://badges.greenkeeper.io/Fitbit/image-codec-txi.svg)](https://greenkeeper.io/)

[![Coverage Status](https://coveralls.io/repos/github/Fitbit/image-codec-txi/badge.svg?branch=master)](https://coveralls.io/github/Fitbit/image-codec-txi?branch=master)

TXI is an image format used on some Fitbit devices. This package is used to convert a raw bitmap raster to a TXI formatted image that is supported on the device.

## API

### `encode(image: ImageData, options: TXIEncoderOptions)`:

#### Interface: ImageData
```
{
  width: number;
  height: number;
  data: Uint8ClampedArray;
}
```

#### Interface: TXIEncoderOptions
```
{
  rle?: boolean | 'auto';
  outputFormat?: TXIOutputFormat;
}
```

#### Enum: TXIOutputFormat
```
{
  RGB565 = 'RGB565',
  RGBA4444 = 'RGBA4444',
  RGBA6666 = 'RGBA6666',
  RGBA8888 = 'RGBA8888',
  A8 = 'A8',
}
```
npm package: @fitbit/jsonrpc-ts
Description: A very flexible library for building JSON-RPC 2.0 endpoints.
Author: Fitbit, Inc.
Latest version: 3.2.1

@fitbit/jsonrpc-ts
===============

[![Greenkeeper badge](https://badges.greenkeeper.io/Fitbit/jsonrpc-ts.svg)](https://greenkeeper.io/)

[![Coverage Status](https://coveralls.io/repos/github/Fitbit/jsonrpc-ts/badge.svg?branch=master)](https://coveralls.io/github/Fitbit/jsonrpc-ts?branch=master)

This package is a set of components which makes it easy to implement a
JSON-RPC 2.0 client or server (or both) over any reliable transport. It
is designed to be extremely customizable to fit nearly any use-case.
If the implementation of a component from this library doesn't suit your
needs, you can simply use your own implementation instead. Even the
way that request ids are generated can be customized!
npm package: @fitbit/portable-pixmap
Description: Decoder for Portable PixMap images
Author: Fitbit, Inc.
Latest version: 1.0.5

@fitbit/portable-pixmap
===============

[![Greenkeeper badge](https://badges.greenkeeper.io/Fitbit/portable-pixmap.svg)](https://greenkeeper.io/)

[![Coverage Status](https://coveralls.io/repos/github/Fitbit/portable-pixmap/badge.svg?branch=master)](https://coveralls.io/github/Fitbit/portable-pixmap?branch=master)

This package is a Portable Pixmap [PPM](http://netpbm.sourceforge.net/doc/ppm.html) decoder. Used to convert a PPM image into an RGBA8888 raster which is a suitable input to an HTML5 Canvas API ImageData object.