Gathering detailed insights and metrics for airpay-uw-rafiki
Gathering detailed insights and metrics for airpay-uw-rafiki
npm install airpay-uw-rafiki
Typescript
Module System
Node Version
NPM Version
74.8
Supply Chain
97.5
Quality
76.1
Maintenance
100
Vulnerability
100
License
Total Downloads
493
Last Day
4
Last Week
39
Last Month
224
Last Year
493
Minified
Minified + Gzipped
Latest Version
0.0.53
Package Id
airpay-uw-rafiki@0.0.53
Unpacked Size
180.11 kB
Size
20.13 kB
File Count
21
NPM Version
10.2.4
Node Version
20.11.1
Publised On
04 Nov 2024
Cumulative downloads
Total Downloads
Last day
-42.9%
4
Compared to previous day
Last week
-35%
39
Compared to previous week
Last month
64.7%
224
Compared to previous month
Last year
0%
493
Compared to previous year
22
description
This is a Node.js module available through the
npm registry. It can be installed using the
npm
or
yarn
command line tools.
1npm install uw-rafiki --save
1# for Pay day loan 2const { default: UW } = require('uw-rafiki'); 3const { PDL } = UW; 4 5const uw = new PDL({ 6 # employmentType can be 'SALARIED', FARMER, CASUAL_WORKER, SELF_EMPLOYED 7 employmentType: 'SALARIED', 8 awb: 10002 , 9 dailyAverageBalance: 10002, 10 # accomodationType can be 'SELF_OWNED', PG_ACCOMODATION, RENTAL_LIVING_ALONE, RENTAL_LIVING_WITH_FAMILY, PARENTAL, OTHERS 11 accomodationType: 'SELF_OWNED', 12 # maritalStatus can be 'MARRIED_WITH_NO_DEPENDENT', MARRIED_WITH_DEPENDENT, UNMARRIED_WITH_DEPENDENT, UNMARRIED_WITH_NO_DEPENDENT, OTHERS 13 maritalStatus: 'MARRIED_WITH_NO_DEPENDENT', 14 age: 31, 15 # scoreCategory can be 'NO-SCORE', RISK, SEVERE, PRIME, ULTIMATE, ELITE 16 scoreCategory: 'NO-SCORE', 17 averageWalletCreditToAwb: 1.01, 18 mobileWalletVintage: 16, 19 minimumNoOfDebitPerMonth: 22, 20 minimumNoOfCreditPerMonth: 10, 21 # walletMnoReportStatus can be 'NEGATIVE', POSITIVE 22 walletMnoReportStatus: 'POSITIVE', 23 # rafikiScoreCategory can be 'LOSS', DOBBTFUL, SUBSTANDARD, CURRENT, NEW_CUSTOMER, ESPECIALLY_MENTIONED 24 rafikiScoreCategory: 'CURRENT' 25 }); 26 27console.log(uw.interestRate); 28console.log(uw.scorecard); 29console.log(uw.isEligibile()); 30console.log(uw.isEligibile(88000)); 31console.log(uw.loans); 32
1# for instant monthly loan 2const { default: UW } = require('uw-rafiki'); 3const { IPL } = UW; 4 5const uw = new IPL({ 6 # employmentType can be 'SALARIED', FARMER, CASUAL_WORKER, SELF_EMPLOYED 7 employmentType: 'SALARIED', 8 awb: 10002 , 9 dailyAverageBalance: 10002, 10 # accomodationType can be 'SELF_OWNED', PG_ACCOMODATION, RENTAL_LIVING_ALONE, RENTAL_LIVING_WITH_FAMILY, PARENTAL, OTHERS 11 accomodationType: 'SELF_OWNED', 12 # maritalStatus can be 'MARRIED_WITH_NO_DEPENDENT', MARRIED_WITH_DEPENDENT, UNMARRIED_WITH_DEPENDENT, UNMARRIED_WITH_NO_DEPENDENT, OTHERS 13 maritalStatus: 'MARRIED_WITH_NO_DEPENDENT', 14 age: 31, 15 # scoreCategory can be 'NO-SCORE', RISK, SEVERE, PRIME, ULTIMATE, ELITE 16 scoreCategory: 'NO-SCORE', 17 averageWalletCreditToAwb: 1.01, 18 mobileWalletVintage: 16, 19 minimumNoOfDebitPerMonth: 22, 20 minimumNoOfCreditPerMonth: 10, 21 # walletMnoReportStatus can be 'NEGATIVE', POSITIVE 22 walletMnoReportStatus: 'POSITIVE', 23 # rafikiScoreCategory can be 'LOSS', DOBBTFUL, SUBSTANDARD, CURRENT, NEW_CUSTOMER, ESPECIALLY_MENTIONED 24 rafikiScoreCategory: 'CURRENT' 25 }); 26 27console.log(uw.interestRate); 28console.log(uw.scorecard); 29console.log(uw.isEligibile()); 30console.log(uw.isEligibile(88000)); 31console.log(uw.loans);
1npm install 2npm test
To get better vision about the response structure for 4.x.x series and 5.x.x series check the following link. HTTP response structure
None
MIT
No vulnerabilities found.
No security vulnerabilities found.