@xmr-core/xmr-str-utils
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

@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


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

Installation


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

License


The project is licensed under the MIT license.

Package Sidebar

Install

npm i @xmr-core/xmr-str-utils

Weekly Downloads

10

Version

0.0.8

License

See LICENSE.TXT. Copyright (c) 2014-2018, MyMonero.com. All rights reserved.

Unpacked Size

24.4 kB

Total Files

25

Last publish

Collaborators

  • henrynguyen5