JSPM

@xmr-core/xmr-str-utils

0.0.8
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q37626F
  • License See LICENSE.TXT. Copyright (c) 2014-2018, MyMonero.com. All rights reserved.

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

Package Exports

  • @xmr-core/xmr-str-utils

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@xmr-core/xmr-str-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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


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.