JSPM

@xmr-core/xmr-varint

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

Create varints from numbers and strings for usage in Monero's data structures

Package Exports

  • @xmr-core/xmr-varint

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-varint) 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-varint

Create varints from numbers and strings for usage in Monero's data structures

Usage


import { encode_varint } from "@xmr-core/xmr-varint";
const varint = encode_varint(10);

Installation


yarn add @xmr-core/xmr-varint

License


The project is licensed under the MIT license.