# hexstringescaper

> Escapes hex strings from "FF" format to "\xFF" hex equivalent

Latest version **1.0.1** (published 2016-04-20) · MIT license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2016-04-20 |
| First published | 2016-04-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jared Beach |
| Maintainers | jmbeach |
| Keywords | hex, string, escape |

## Links

- npm: https://www.npmjs.com/package/hexstringescaper
- Repository: https://github.com/jmbeach/HexStringEscaper
- Homepage: https://github.com/jmbeach/HexStringEscaper#readme
- Issues: https://github.com/jmbeach/HexStringEscaper/issues
- npm.io page: https://npm.io/package/hexstringescaper

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-04-20
- 1.0.0 — 2016-04-20

## README

# Hex String Escaper

Escapes hex strings from \"FF\" format to \"\\xFF\" hex equivalent. Useful for dynamically creating hex values (such as for a rgb value).

## Install

`npm install hexstringescaper`

## Usage

```js
var util = require("util"),
	HexStringEscaper = require("hexstringescaper"),
	hEsc = HexStringEscaper.escaper;

console.log(hEsc["1F"]); // logs a non-readable symbol 

console.log(util.format("This is escaped hex: %s", hEsc["FF"]));
This is escaped hex: ÿ

```

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