vinupay.js
TypeScript icon, indicating that this package has built-in type declarations

0.6.11 • Public • Published

VinuPay.js 🐶

VinuPay.js is a JavaScript library for VinuPay.

Installation 💾

Use the package manager npm to install VinuPay.js.

npm install vinupay.js

Usage 💻

ES6 🐝

import VinuPay from 'vinupay.js/offchain.js'
// Or the main version
// import VinuPay from 'vinupay.js'

// Create the instance
const Client = new VinuPay("https://node-vite.imal.dev");

// Check how many merchants were created.
Client.getRegisteredNamesCount().then((res) => {
    console.log(`A total of ${res} merchants were created.`);
});

CommonJS 🐱

const VinuPay = require("vinupay.js/offchain.js").default;
// Or the main version
// const VinuPay = require("vinupay.js").default;

// Create the instance
const Client = new VinuPay("https://node-vite.imal.dev");

// Check how many merchants were created.
Client.getRegisteredNamesCount().then((res) => {
    console.log(`A total of ${res} merchants were created.`);
});

Updates 📡:

  • [x] Soon

Contributing 🎉

Pull requests are welcome on our GitHub. For major changes, please open an issue first to discuss what you would like to change.

Documentation 📚 (Work in Progress 🚧)

Documentation for both VinuPay and VinuPay.js can be found here.

Credits 🎩

VinuPay.js is created by iMalFect

License 📜

VinuPay.js is licensed under GNU GPLv3

Package Sidebar

Install

npm i vinupay.js

Weekly Downloads

0

Version

0.6.11

License

GPL-3.0

Unpacked Size

83.7 kB

Total Files

10

Last publish

Collaborators

  • imaldev