# @dwlib/hex

> Hex

Latest version **1.0.4** (published 2022-04-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @dwlib/hex
pnpm add @dwlib/hex
yarn add @dwlib/hex
bun add @dwlib/hex
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2022-04-17 |
| First published | 2022-04-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 69.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Pavel Wolf |
| Maintainers | pavelwolfdark |
| Keywords | hex, base16, encoding, decoding |

## Links

- npm: https://www.npmjs.com/package/@dwlib/hex
- Repository: https://github.com/dwlib-js/hex
- Homepage: https://github.com/dwlib-js/hex#readme
- Issues: https://github.com/dwlib-js/hex/issues
- npm.io page: https://npm.io/package/@dwlib/hex

## Dependencies (5)

- [@dwlib/utf8](https://npm.io/package/@dwlib/utf8.md) ^1.0.5
- [@dwlib/types](https://npm.io/package/@dwlib/types.md) ^1.0.1
- [@dwlib/abstract](https://npm.io/package/@dwlib/abstract.md) ^1.0.8
- [@dwlib/intrinsics](https://npm.io/package/@dwlib/intrinsics.md) ^1.0.4
- [@dwlib/primordials](https://npm.io/package/@dwlib/primordials.md) ^1.0.4

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M 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
- [datasets-fi-postalcodes](https://npm.io/package/datasets-fi-postalcodes.md) — 1.1K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2022-04-17
- 1.0.3 — 2022-04-10
- 1.0.2 — 2022-04-07
- 1.0.1 — 2022-04-06
- 1.0.0 — 2022-04-02

## README

# Hex

## Install
`npm i --save @dwlib/hex`

## Usage
```javascript
// CJS
const Hex = require('@dwlib/hex');
const HexDecode = require('@dwlib/hex/decode');
const HexDecodeBigInt = require('@dwlib/hex/decodeBigInt');
const HexDecodeInt = require('@dwlib/hex/decodeInt');
const HexDecodeInto = require('@dwlib/hex/decodeInto');
const HexEncode = require('@dwlib/hex/encode');
const HexEncodeBigInt = require('@dwlib/hex/encodeBigInt');
const HexEncodeInt = require('@dwlib/hex/encodeInt');
const HexIsValid = require('@dwlib/hex/isValid');
const HexNormalize = require('@dwlib/hex/normalize');
const HexValidate = require('@dwlib/hex/validate');
// ESM
import Hex from '@dwlib/hex';
import HexDecode from '@dwlib/hex/decode';
import HexDecodeBigInt from '@dwlib/hex/decodeBigInt';
import HexDecodeInt from '@dwlib/hex/decodeInt';
import HexDecodeInto from '@dwlib/hex/decodeInto';
import HexEncode from '@dwlib/hex/encode';
import HexEncodeBigInt from '@dwlib/hex/encodeBigInt';
import HexEncodeInt from '@dwlib/hex/encodeInt';
import HexIsValid from '@dwlib/hex/isValid';
import HexNormalize from '@dwlib/hex/normalize';
import HexValidate from '@dwlib/hex/validate';
```

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