Gathering detailed insights and metrics for uw-rafiki
Gathering detailed insights and metrics for uw-rafiki
Gathering detailed insights and metrics for uw-rafiki
Gathering detailed insights and metrics for uw-rafiki
npm install uw-rafiki
Typescript
Module System
Node Version
NPM Version
74.8
Supply Chain
97.5
Quality
79.2
Maintenance
100
Vulnerability
100
License
Total Downloads
8,191
Last Day
2
Last Week
16
Last Month
73
Last Year
3,554
Minified
Minified + Gzipped
Latest Version
0.0.53
Package Id
uw-rafiki@0.0.53
Unpacked Size
180.10 kB
Size
20.12 kB
File Count
21
NPM Version
10.8.0
Node Version
20.13.1
Published on
Jul 24, 2024
Cumulative downloads
Total Downloads
Last Day
-33.3%
2
Compared to previous day
Last Week
-15.8%
16
Compared to previous week
Last Month
-76.6%
73
Compared to previous month
Last Year
-23.4%
3,554
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.