@questnetwork/quest-utilities-js

0.9.4 • Public • Published

Quest Utilities JS

Shared Toolbox For The Quest Network

Lead Maintainer

StationedInTheField

Description

The Utilities class for the Quest Network Operating System offers shared functionality.

Installation & Usage

npm install @questnetwork/quest-utilities-js@0.9.4

API

inArray(array,value)

Returns boolean true or false

if(<os>.utilities.inArray(array,value)){
 console.log('Hello Universe!')
}

removeFram(array,searchObject)

Removes the object in the array that matches searchObject in at least one field.

<os>.utilities.removeFram(array,searchObject)

engine

detect()

Returns a String containing the detected engine. Result can be browser, electron or node.

let engine = <os>.utilities.engine.detect();

qr

generate()

Returns a DataUrl containing generated QR Code.

let qrDataUrl = <os>.utilities.qr.generate(text);

Support Us

Please consider supporting us, so that we can build a non-profit for this project (ツ)

Ethereum Bitcoin
0xBC2A050E7B87610Bc29657e7e7901DdBA6f2D34E bc1qujrqa3s34r5h0exgmmcuf8ejhyydm8wwja4fmq

License

GNU AGPLv3

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.9.41latest

Version History

VersionDownloads (Last 7 Days)Published
0.9.41

Package Sidebar

Install

npm i @questnetwork/quest-utilities-js

Weekly Downloads

1

Version

0.9.4

License

AGPL-3.0

Unpacked Size

38.8 kB

Total Files

7

Last publish

Collaborators

  • stationedinthefield