New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

paystack-fee-calculator

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paystack-fee-calculator

Paystack fee calculator

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
1
-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

paystack-fee-calculator

Paystack fee calculator

Usage

To calculate NGN fee

import calculateFee from 'paystack-fee-calculator';

console.log(calculateFee(50))
// 0.75

To calculate USD fee

import { calculateUSDFee } from 'paystack-fee-calculator';

console.log(calculateUSDFee(50))
// 101.95

Note: The argument and the return values of both functions are in NGN units.

Keywords

paystack

FAQs

Package last updated on 22 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts