# numeric-buffer

> Create Node.js Buffers with integers

Latest version **0.1.0** (published 2011-11-10) · 0 weekly downloads

## Install

```sh
npm install numeric-buffer
pnpm add numeric-buffer
yarn add numeric-buffer
bun add numeric-buffer
```

## 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.0 |
| Published | 2011-11-10 |
| First published | 2011-11-10 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.2.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jamison Dance |
| Maintainers | jergason |
| Keywords | buffer, integer |

## Links

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

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2011-11-10

## README

#NumericBuffer

`numeric-buffer` is a tiny module for filling a Node.js Buffer with the
binary representation of an integer. You can do this in 0.6.0 with
[`buffer.writeUInt8`](http://nodejs.org/docs/v0.6.0/api/buffers.html#buffer.writeUInt8),
but not in 0.4.x.

##Installation

`npm install numeric-buffer`

##Usage

    (function () {
      "use strict";
      var numericBuffer = require('numeric-buffer');
      var buf = numericBuffer(255);
      // buf is now a Buffer of length 1
      console.log(buf[0]);
      //255
    }());

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