# nll

> codec for list of lists of numbers

Latest version **1.0.2** (published 2017-05-10) · MIT license · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2017-05-10 |
| First published | 2017-05-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jelle 'wires' Herold |
| Maintainers | wires |
| Keywords | varint, list |

## Links

- npm: https://www.npmjs.com/package/nll
- npm.io page: https://npm.io/package/nll

## Dependencies (3)

- [varint](https://npm.io/package/varint.md) ^5.0.0
- [ava-jsverify](https://npm.io/package/ava-jsverify.md) ^1.0.3
- [signed-varint](https://npm.io/package/signed-varint.md) ^2.0.1

## Recent versions

- 1.0.2 (latest) — 2017-05-10
- 1.0.1 — 2017-05-10
- 1.0.0 — 2017-05-09

## README

[![Build
Status](https://travis-ci.org/statebox/varint-list.svg?branch=master)](https://travis-ci.org/statebox/varint-list) [![PRs
Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

# NLL-JS

Encodes list of lists of integers into a `Buffer` according to
https://github.com/statebox/nll-spec

## Usage

Import library

```js
const nll = require('nll')
//=> { encode: [[number]] -> Buffer,
//     decode: Buffer -> [[number]] }
```

Encode

```js
> b = nll.encode([[-1],[0],[],[1]])
//=> <Buffer 0f 00 01 00 02 00 00 04>
```

Decode

```js
> n.decode(b)
[ [ -1 ], [ 0 ], [], [ 1 ] ]
```

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