orgasm

1.0.4 • Public • Published

Orgasm

npm version

⚡️Official API Documentation ⛈

Installation

npm i orgasm

Usage

'use strict';

const {
    formatting: {
        getAmountNumber
    },
    validation: {
        getIsValidAddress,
    }
} = require( 'orgasm' );



const amount = '2.232323666';

const amountNumber = getAmountNumber( amount );
// amountNumber is 2.23232367


const address = '3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy';

const isValidAddress = getIsValidAddress( address );
// isValidAddress is true

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i orgasm

      Weekly Downloads

      2

      Version

      1.0.4

      License

      ISC

      Unpacked Size

      1.81 kB

      Total Files

      7

      Last publish

      Collaborators

      • npm.m.stecky.efantis