# varint-fraction

> WIP - nothing to see here

Latest version **1.0.0** (published 2021-03-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install varint-fraction
pnpm add varint-fraction
yarn add varint-fraction
bun add varint-fraction
```

## 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.0 |
| Published | 2021-03-03 |
| First published | 2021-03-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mathias Buus |
| Maintainers | mafintosh |

## Links

- npm: https://www.npmjs.com/package/varint-fraction
- Repository: https://github.com/mafintosh/varint-fraction
- Issues: https://github.com/mafintosh/varint-fraction/issues
- npm.io page: https://npm.io/package/varint-fraction

## Dependencies (1)

- [varint](https://npm.io/package/varint.md) ^6.0.0

## Recent versions

- 1.0.0 (latest) — 2021-03-03

## README

# varint-fraction

Small thing that encodes a fractional number into a two varints.

```
npm install varint-fraction
```

## Usage

``` js
const varintf = require('varint-fraction')

const buf = varintf.encode(0.42)

console.log(varintf.decode(buf)) // 0.42
```

## License

MIT

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