Library for calculating logistic cost
All libs take cart as argument
[{quantity: 500,sku: {pretaxPrice: 2.71,weighted: true,weight: 0.0630,kdw_mm: 338,kdh_mm: 7.0,kdl_mm: 208}}]letcart=[{quantity: 500,sku: {sku: 'some item',price: 2.9,pretaxPrice: 2.71,weighted: true,weight: 0.0630,kdw_mm: 338,kdh_mm: 7.0,kdl_mm: 208}}]letKL=newKerryLogistic();letTPN=newTPLogistic();letTPN_EMS=newTPLogistic(true);letcfun1=KL.getCostFunction();letcfun2=TPN.getCostFunction();letcfun3=TPN_EMS.getCostFunction();kerr_solution=cfun1(cart);tpn_solution=cfun2(cart);tpne_solution=cfun3(cart);