# @xmr-core/xmr-str-utils

> A library for working with strings commonly used in other Monero libraries

Latest version **0.0.8** (published 2018-09-21) · See LICENSE.TXT. Copyright (c) 2014-2018, MyMonero.com. All rights reserved. license · 0 weekly downloads

## Install

```sh
npm install @xmr-core/xmr-str-utils
pnpm add @xmr-core/xmr-str-utils
yarn add @xmr-core/xmr-str-utils
bun add @xmr-core/xmr-str-utils
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2018-09-21 |
| First published | 2018-09-21 |
| Weekly downloads | 0 |
| License | See LICENSE.TXT. Copyright (c) 2014-2018, MyMonero.com. All rights reserved. |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 23.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | HenryNguyen5 |
| Maintainers | henrynguyen5 |
| Keywords | xmr-core, monero, mymonero, typescript, ts, lightweight, lightwallet, wallet, crypto, script, utility, tool, xmr |

## Links

- npm: https://www.npmjs.com/package/@xmr-core/xmr-str-utils
- Repository: https://github.com/MyCryptoHQ/xmr-core
- Homepage: https://github.com/MyCryptoHQ/xmr-core#readme
- Issues: https://github.com/MyCryptoHQ/xmr-core/issues
- npm.io page: https://npm.io/package/@xmr-core/xmr-str-utils

## Dependencies (1)

- [@xmr-core/biginteger](https://npm.io/package/@xmr-core/biginteger.md) ^0.0.8

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 0.0.8 (latest) — 2018-09-21
- 0.0.7 — 2018-09-21
- 0.0.6 — 2018-09-21
- 0.0.5 — 2018-09-21
- 0.0.4 — 2018-09-21
- 0.0.3 — 2018-09-21
- 0.0.2 — 2018-09-21

## README

# @xmr-core/xmr-str-utils

A library for working with strings commonly used in other Monero libraries

## Features

---

-   Hex string validation / manipulation
-   Working with integers in string format
-   General string operations (trim/pad)

## Usage

---

```ts
import { hexUtils } from "@xmr-core/xmr-str-utils";
const valid = hexUtils.valid_hex("0x01");
```

## Installation

---

```sh
yarn add @xmr-core/xmr-str-utils
```

## License

---

The project is licensed under the MIT license.

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