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
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
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.