@turajs/util
TypeScript icon, indicating that this package has built-in type declarations

1.0.12 • Public • Published

@turajs/util

Useful utilities and tools for building Signum blockchain applications

Installation

@turajs/util can be used with NodeJS or Web. Two formats are available

Using with NodeJS and/or modern web frameworks

Install using npm:

npm install @turajs/util

or using yarn:

yarn add @turajs/util

Example

import {Amount} from '@turajs/util'

const value = Amount.fromSigna(1000)
console.log(value.toString())

Using in classic <script>

Each package is available as bundled standalone library using UMD. This way signumJS can be used also within <script>-Tags. This might be useful for Wordpress and/or other PHP applications.

Just import the package using the HTML <script> tag.

<script src='https://cdn.jsdelivr.net/npm/@turajs/util/dist/signumjs.util.min.js'></script>

Example

const {Amount} = sig$util
const value = Amount.fromSigna(1000)
console.log(value.toString())

See more here:

@turajs/util Online Documentation

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.12
    2
    • latest

Version History

Package Sidebar

Install

npm i @turajs/util

Weekly Downloads

2

Version

1.0.12

License

Apache-2.0

Unpacked Size

550 kB

Total Files

180

Last publish

Collaborators

  • pride4215