# @native-to-anchor/buffer-layout

> Buffer layout utilities for Solana programs.

Latest version **0.1.0** (published 2022-08-17) · MIT license · 12.2K weekly downloads

## Install

```sh
npm install @native-to-anchor/buffer-layout
pnpm add @native-to-anchor/buffer-layout
yarn add @native-to-anchor/buffer-layout
bun add @native-to-anchor/buffer-layout
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; growing popularity.

Warnings: pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2022-08-17 |
| First published | 2022-08-17 |
| Weekly downloads | 12.2K |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 366.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 147 |
| Author | acheron acheroncrypto@gmail.com |
| Maintainers | acheroncrypto |
| Keywords | buffer layout, solana, anchor, borsh |

## Links

- npm: https://www.npmjs.com/package/@native-to-anchor/buffer-layout
- Repository: https://github.com/acheroncrypto/native-to-anchor
- Homepage: https://github.com/acheroncrypto/native-to-anchor#readme
- Issues: https://github.com/acheroncrypto/native-to-anchor/issues
- npm.io page: https://npm.io/package/@native-to-anchor/buffer-layout

## Dependencies (2)

- [@solana/buffer-layout](https://npm.io/package/@solana/buffer-layout.md) =4.0.0
- [@solana/buffer-layout-utils](https://npm.io/package/@solana/buffer-layout-utils.md) =0.2.0

## 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
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads
- [datasets-fi-postalcodes](https://npm.io/package/datasets-fi-postalcodes.md) — 1.1K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2022-08-17

## README

Buffer layout utilities for Solana program deserialization and serialization.

This package currently only supports [Borsh](https://borsh.io/).

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