Calculadora de Transporte AMBA
Biblioteca que permite calcular cuanto vas a gastar por transporte en Argentina en la region AMBA
Install
npm install calc-transporte
Usage
var CalcTransporte = ;var calcTransporte = ; var options = roundtrip: true benefit: false weekTimes: 4 trips: transport: "bus" price: 900 id: 0 transport: "bus" price: 950 id: 2 calcTransporte; //Should be returnvar result = goingDailyTotal: 1375 goingDailySaving: 475 returningDailyTotal: 14 returningDailySaving: 45 savingMonthly: 148 costMonthly: 444 goingTrip: transport:"bus"price:9priceWithDiscount:9transport:"bus"price:95priceWithDiscount:475 returningTrip:transport:"bus"price:95priceWithDiscount:95transport:"bus"price:9priceWithDiscount:45;
Tests
npm test