@utilix-tech/sdk 0.60.0 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +23 -3
- package/dist/{chunk-2WT347WO.js → chunk-43L7H3L2.js} +96 -1
- package/dist/{chunk-B7366PQJ.js → chunk-43WFN3CW.js} +35 -1
- package/dist/index.cjs +129 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{network-CXt69chQ.d.cts → network-DewFJy4E.d.cts} +62 -2
- package/dist/{network-CXt69chQ.d.ts → network-DewFJy4E.d.ts} +62 -2
- package/dist/tools/network.cjs +95 -0
- package/dist/tools/network.d.cts +1 -1
- package/dist/tools/network.d.ts +1 -1
- package/dist/tools/network.js +1 -1
- package/dist/tools/units.cjs +34 -0
- package/dist/tools/units.d.cts +1 -1
- package/dist/tools/units.d.ts +1 -1
- package/dist/tools/units.js +1 -1
- package/dist/{units-ClKR6Jxz.d.cts → units-izyUpUAb.d.cts} +23 -2
- package/dist/{units-ClKR6Jxz.d.ts → units-izyUpUAb.d.ts} +23 -2
- package/package.json +1 -1
package/dist/tools/units.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as AmortizationRow, a as AprApyDirection, b as AprApyResult, c as AspectRatioResult, B as BASE_LABELS, d as BASE_PREFIXES, e as BYTE_UNITS, f as BarcodeFormat, g as BarcodeValidationResult, h as BaseConvertResult, i as BlendedLoanRateResult, j as BreakEvenInput, k as BreakEvenResult, l as ByteConvertResult, m as ByteUnit, C as COMMON_CURRENCIES, n as COMMON_LOCALES, o as COMMON_PERMISSIONS, p as COMMON_RATIOS, q as COMMON_SIZES, r as COMMON_TAX_RATES, s as COMMON_TIP_PERCENTAGES, t as COMMON_VIEWPORTS, v as CardValidationResult, w as CashBreakdownResult, x as CashChangeResult, y as CashDenominationItem, z as CashRoundingMode, D as CashRoundingResult, E as CdMaturityResult, F as CompareUnitPricesResult, G as CompoundInterestResult, H as CompoundYearRow, I as CreditAccountInput, J as CreditAccountResult, K as CreditUtilizationResult, L as DebtItemInput, M as DebtItemResult, N as DebtToIncomeRatioResult, O as DepreciationMethod, P as DepreciationResult, Q as DepreciationYear, R as Dimensions, S as DiscountField, T as DiscountInput, U as DiscountResult, V as DtiTier, W as EmiResult, X as EmiTenureUnit, Y as EmiYearlyBreakdownRow, Z as
|
|
1
|
+
export { A as AmortizationRow, a as AprApyDirection, b as AprApyResult, c as AspectRatioResult, B as BASE_LABELS, d as BASE_PREFIXES, e as BYTE_UNITS, f as BarcodeFormat, g as BarcodeValidationResult, h as BaseConvertResult, i as BlendedLoanRateResult, j as BreakEvenInput, k as BreakEvenResult, l as ByteConvertResult, m as ByteUnit, C as COMMON_CURRENCIES, n as COMMON_LOCALES, o as COMMON_PERMISSIONS, p as COMMON_RATIOS, q as COMMON_SIZES, r as COMMON_TAX_RATES, s as COMMON_TIP_PERCENTAGES, t as COMMON_VIEWPORTS, v as CardValidationResult, w as CashBreakdownResult, x as CashChangeResult, y as CashDenominationItem, z as CashRoundingMode, D as CashRoundingResult, E as CdMaturityResult, F as CompareUnitPricesResult, G as CompoundInterestResult, H as CompoundYearRow, I as CreditAccountInput, J as CreditAccountResult, K as CreditUtilizationResult, L as DebtItemInput, M as DebtItemResult, N as DebtToIncomeRatioResult, O as DepreciationMethod, P as DepreciationResult, Q as DepreciationYear, R as Dimensions, S as DiscountField, T as DiscountInput, U as DiscountResult, V as DtiTier, W as EmiResult, X as EmiTenureUnit, Y as EmiYearlyBreakdownRow, Z as ExtraPaymentPayoffResult, _ as FilePermissions, $ as FormatOptions, a0 as FreelancerRateInput, a1 as FreelancerRateResult, a2 as GPA_GRADE_POINTS, a3 as GpaCourse, a4 as GpaCourseResult, a5 as GpaResult, a6 as IbanValidationResult, a7 as IpConversion, a8 as IsbnFormat, a9 as IsbnResult, aa as LoanBalanceInput, ab as LoanBalanceResult, ac as LoanResult, ad as MarginMarkupField, ae as MarginMarkupInput, af as MarginMarkupResult, ag as MovingAveragePoint, ah as MovingAverageResult, ai as NotationStyle, aj as NumberBase, ak as PaybackPeriodInput, al as PaybackPeriodResult, am as PercentChangeDirection, an as PercentageChangeResult, ao as Permission, ap as PxConvertResult, aq as RoiInput, ar as RoiResult, as as RuleOf72Direction, at as RuleOf72Result, au as SavingsGoalInput, av as SavingsGoalMode, aw as SavingsGoalResult, ax as SemverVersion, ay as SimpleInterestResult, az as SubnetInfo, aA as SuccessiveDiscountResult, aB as SuccessiveDiscountStep, aC as TaxDirection, aD as TaxResult, aE as TimeValueDirection, aF as TimeValueResult, aG as TipSplitResult, aH as USD_DENOMINATIONS, aI as UnitPriceItem, aJ as UnitPriceResult, aK as UtilizationTier, aL as VideoBitrateInput, aM as VideoBitrateMode, aN as VideoBitrateResult, aO as ViewportConvertResult, aP as applySuccessiveDiscounts, aQ as autoFormat, aR as bumpVersion, aS as calcAspectRatio, aT as calcSubnet, aU as calculateBlendedLoanRate, aV as calculateBreakEven, aW as calculateCashBreakdown, aX as calculateCashRounding, aY as calculateCdMaturity, aZ as calculateChange, a_ as calculateCompoundInterest, a$ as calculateCreditUtilization, b0 as calculateDebtToIncomeRatio, b1 as calculateDepreciationSchedule, b2 as calculateDiscount, b3 as calculateEmi, b4 as calculateExtraPaymentPayoff, b5 as calculateFreelancerRate, b6 as calculateGpa, b7 as calculateLoan, b8 as calculateMarginMarkup, b9 as calculateMovingAverages, ba as calculatePaybackPeriod, bb as calculatePercentageChange, bc as calculateRoi, bd as calculateRuleOf72, be as calculateSavingsGoal, bf as calculateSimpleInterest, bg as calculateTax, bh as calculateTimeValue, bi as calculateTipSplit, bj as calculateVideoBitrate, bk as compareSemver, bl as compareUnitPrices, bm as convert, bn as convertAprApy, bo as convertBytes, bp as convertIp, bq as coverBox, br as decimalToIp, bs as decimalToIpCidr, bt as describePermissions, bu as fitIntoBox, bv as formatNumber, bw as formatValue, bx as formatVwValue, by as formatWithSeparator, bz as gcd, bA as ipFromBinary, bB as ipFromDecimal, bC as ipFromHex, bD as ipToBinary, bE as ipToDecimal, bF as ipToDecimalCidr, bG as ipToHex, bH as ipToOctal, bI as isValid, bJ as isValidCidr, bK as isValidIp, bL as isValidIpv4, bM as marginToMarkup, bN as markupToMargin, bO as octalToPermissions, bP as parseFileSize, bQ as parseInput, bR as parseNumberString, bS as parseSemver, bT as permissionsToChmod, bU as permissionsToOctal, bV as permissionsToSymbolic, bW as ptToPx, bX as pxToAll, bY as pxToViewport, bZ as remToPx, b_ as satisfiesRange, b$ as scaleByHeight, c0 as scaleByWidth, c1 as sortVersions, c2 as splitSubnet, c3 as symbolicToPermissions, c4 as validateBarcode, c5 as validateCardNumber, c6 as validateIban, c7 as validateIsbn, c8 as viewportToPx } from '../units-izyUpUAb.js';
|
package/dist/tools/units.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { BASE_LABELS, BASE_PREFIXES, BYTE_UNITS, COMMON_CURRENCIES, COMMON_LOCALES, COMMON_PERMISSIONS, COMMON_RATIOS, COMMON_SIZES, COMMON_TAX_RATES, COMMON_TIP_PERCENTAGES, COMMON_VIEWPORTS, GPA_GRADE_POINTS, USD_DENOMINATIONS, applySuccessiveDiscounts, autoFormat, bumpVersion, calcAspectRatio, calcSubnet, calculateBlendedLoanRate, calculateBreakEven, calculateCashBreakdown, calculateCashRounding, calculateCdMaturity, calculateChange, calculateCompoundInterest, calculateCreditUtilization, calculateDebtToIncomeRatio, calculateDepreciationSchedule, calculateDiscount, calculateEmi, calculateFreelancerRate, calculateGpa, calculateLoan, calculateMarginMarkup, calculateMovingAverages, calculatePaybackPeriod, calculatePercentageChange, calculateRoi, calculateRuleOf72, calculateSavingsGoal, calculateSimpleInterest, calculateTax, calculateTimeValue, calculateTipSplit, calculateVideoBitrate, compareSemver, compareUnitPrices, convert, convertAprApy, convertBytes, convertIp, coverBox, decimalToIp, decimalToIpCidr, describePermissions, fitIntoBox, formatNumber, formatValue, formatVwValue, formatWithSeparator, gcd, ipFromBinary, ipFromDecimal, ipFromHex, ipToBinary, ipToDecimal, ipToDecimalCidr, ipToHex, ipToOctal, isValid, isValidCidr, isValidIp, isValidIpv4, marginToMarkup, markupToMargin, octalToPermissions, parseFileSize, parseInput, parseNumberString, parseSemver, permissionsToChmod, permissionsToOctal, permissionsToSymbolic, ptToPx, pxToAll, pxToViewport, remToPx, satisfiesRange, scaleByHeight, scaleByWidth, sortVersions, splitSubnet, symbolicToPermissions, validateBarcode, validateCardNumber, validateIban, validateIsbn, viewportToPx } from '../chunk-
|
|
1
|
+
export { BASE_LABELS, BASE_PREFIXES, BYTE_UNITS, COMMON_CURRENCIES, COMMON_LOCALES, COMMON_PERMISSIONS, COMMON_RATIOS, COMMON_SIZES, COMMON_TAX_RATES, COMMON_TIP_PERCENTAGES, COMMON_VIEWPORTS, GPA_GRADE_POINTS, USD_DENOMINATIONS, applySuccessiveDiscounts, autoFormat, bumpVersion, calcAspectRatio, calcSubnet, calculateBlendedLoanRate, calculateBreakEven, calculateCashBreakdown, calculateCashRounding, calculateCdMaturity, calculateChange, calculateCompoundInterest, calculateCreditUtilization, calculateDebtToIncomeRatio, calculateDepreciationSchedule, calculateDiscount, calculateEmi, calculateExtraPaymentPayoff, calculateFreelancerRate, calculateGpa, calculateLoan, calculateMarginMarkup, calculateMovingAverages, calculatePaybackPeriod, calculatePercentageChange, calculateRoi, calculateRuleOf72, calculateSavingsGoal, calculateSimpleInterest, calculateTax, calculateTimeValue, calculateTipSplit, calculateVideoBitrate, compareSemver, compareUnitPrices, convert, convertAprApy, convertBytes, convertIp, coverBox, decimalToIp, decimalToIpCidr, describePermissions, fitIntoBox, formatNumber, formatValue, formatVwValue, formatWithSeparator, gcd, ipFromBinary, ipFromDecimal, ipFromHex, ipToBinary, ipToDecimal, ipToDecimalCidr, ipToHex, ipToOctal, isValid, isValidCidr, isValidIp, isValidIpv4, marginToMarkup, markupToMargin, octalToPermissions, parseFileSize, parseInput, parseNumberString, parseSemver, permissionsToChmod, permissionsToOctal, permissionsToSymbolic, ptToPx, pxToAll, pxToViewport, remToPx, satisfiesRange, scaleByHeight, scaleByWidth, sortVersions, splitSubnet, symbolicToPermissions, validateBarcode, validateCardNumber, validateIban, validateIsbn, viewportToPx } from '../chunk-43WFN3CW.js';
|
|
2
2
|
import '../chunk-MLKGABMK.js';
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
* - cd-maturity-calculator : calculateCdMaturity
|
|
38
38
|
* - depreciation-schedule-calculator : calculateDepreciationSchedule
|
|
39
39
|
* - blended-loan-rate-calculator : calculateBlendedLoanRate
|
|
40
|
+
* - extra-payment-mortgage-calculator : calculateExtraPaymentPayoff
|
|
40
41
|
* - freelancer-rate-calculator : calculateFreelancerRate
|
|
41
42
|
*/
|
|
42
43
|
interface PxConvertResult {
|
|
@@ -302,6 +303,24 @@ interface LoanResult {
|
|
|
302
303
|
declare function calculateLoan(principal: number, annualRatePercent: number, termMonths: number): LoanResult | {
|
|
303
304
|
error: string;
|
|
304
305
|
};
|
|
306
|
+
interface ExtraPaymentPayoffResult {
|
|
307
|
+
monthlyPayment: number;
|
|
308
|
+
extraMonthlyPayment: number;
|
|
309
|
+
baselinePayoffMonths: number;
|
|
310
|
+
baselineTotalInterest: number;
|
|
311
|
+
newPayoffMonths: number;
|
|
312
|
+
newTotalInterest: number;
|
|
313
|
+
monthsSaved: number;
|
|
314
|
+
interestSaved: number;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Compute how much faster a fixed-rate loan pays off, and how much interest
|
|
318
|
+
* is saved, when a fixed extra amount is added to every monthly payment on
|
|
319
|
+
* top of the standard amortized payment.
|
|
320
|
+
*/
|
|
321
|
+
declare function calculateExtraPaymentPayoff(principal: number, annualRatePercent: number, termMonths: number, extraMonthlyPayment: number): ExtraPaymentPayoffResult | {
|
|
322
|
+
error: string;
|
|
323
|
+
};
|
|
305
324
|
type BarcodeFormat = "EAN-13" | "EAN-8" | "UPC-A";
|
|
306
325
|
interface BarcodeValidationResult {
|
|
307
326
|
valid: boolean;
|
|
@@ -1136,6 +1155,7 @@ type units_DtiTier = DtiTier;
|
|
|
1136
1155
|
type units_EmiResult = EmiResult;
|
|
1137
1156
|
type units_EmiTenureUnit = EmiTenureUnit;
|
|
1138
1157
|
type units_EmiYearlyBreakdownRow = EmiYearlyBreakdownRow;
|
|
1158
|
+
type units_ExtraPaymentPayoffResult = ExtraPaymentPayoffResult;
|
|
1139
1159
|
type units_FilePermissions = FilePermissions;
|
|
1140
1160
|
type units_FormatOptions = FormatOptions;
|
|
1141
1161
|
type units_FreelancerRateInput = FreelancerRateInput;
|
|
@@ -1206,6 +1226,7 @@ declare const units_calculateDebtToIncomeRatio: typeof calculateDebtToIncomeRati
|
|
|
1206
1226
|
declare const units_calculateDepreciationSchedule: typeof calculateDepreciationSchedule;
|
|
1207
1227
|
declare const units_calculateDiscount: typeof calculateDiscount;
|
|
1208
1228
|
declare const units_calculateEmi: typeof calculateEmi;
|
|
1229
|
+
declare const units_calculateExtraPaymentPayoff: typeof calculateExtraPaymentPayoff;
|
|
1209
1230
|
declare const units_calculateFreelancerRate: typeof calculateFreelancerRate;
|
|
1210
1231
|
declare const units_calculateGpa: typeof calculateGpa;
|
|
1211
1232
|
declare const units_calculateLoan: typeof calculateLoan;
|
|
@@ -1275,7 +1296,7 @@ declare const units_validateIban: typeof validateIban;
|
|
|
1275
1296
|
declare const units_validateIsbn: typeof validateIsbn;
|
|
1276
1297
|
declare const units_viewportToPx: typeof viewportToPx;
|
|
1277
1298
|
declare namespace units {
|
|
1278
|
-
export { type units_AmortizationRow as AmortizationRow, type units_AprApyDirection as AprApyDirection, type units_AprApyResult as AprApyResult, type units_AspectRatioResult as AspectRatioResult, units_BASE_LABELS as BASE_LABELS, units_BASE_PREFIXES as BASE_PREFIXES, units_BYTE_UNITS as BYTE_UNITS, type units_BarcodeFormat as BarcodeFormat, type units_BarcodeValidationResult as BarcodeValidationResult, type units_BaseConvertResult as BaseConvertResult, type units_BlendedLoanRateResult as BlendedLoanRateResult, type units_BreakEvenInput as BreakEvenInput, type units_BreakEvenResult as BreakEvenResult, type units_ByteConvertResult as ByteConvertResult, type units_ByteUnit as ByteUnit, units_COMMON_CURRENCIES as COMMON_CURRENCIES, units_COMMON_LOCALES as COMMON_LOCALES, units_COMMON_PERMISSIONS as COMMON_PERMISSIONS, units_COMMON_RATIOS as COMMON_RATIOS, units_COMMON_SIZES as COMMON_SIZES, units_COMMON_TAX_RATES as COMMON_TAX_RATES, units_COMMON_TIP_PERCENTAGES as COMMON_TIP_PERCENTAGES, units_COMMON_VIEWPORTS as COMMON_VIEWPORTS, type units_CardValidationResult as CardValidationResult, type units_CashBreakdownResult as CashBreakdownResult, type units_CashChangeResult as CashChangeResult, type units_CashDenominationItem as CashDenominationItem, type units_CashRoundingMode as CashRoundingMode, type units_CashRoundingResult as CashRoundingResult, type units_CdMaturityResult as CdMaturityResult, type units_CompareUnitPricesResult as CompareUnitPricesResult, type units_CompoundInterestResult as CompoundInterestResult, type units_CompoundYearRow as CompoundYearRow, type units_CreditAccountInput as CreditAccountInput, type units_CreditAccountResult as CreditAccountResult, type units_CreditUtilizationResult as CreditUtilizationResult, type units_DebtItemInput as DebtItemInput, type units_DebtItemResult as DebtItemResult, type units_DebtToIncomeRatioResult as DebtToIncomeRatioResult, type units_DepreciationMethod as DepreciationMethod, type units_DepreciationResult as DepreciationResult, type units_DepreciationYear as DepreciationYear, type units_Dimensions as Dimensions, type units_DiscountField as DiscountField, type units_DiscountInput as DiscountInput, type units_DiscountResult as DiscountResult, type units_DtiTier as DtiTier, type units_EmiResult as EmiResult, type units_EmiTenureUnit as EmiTenureUnit, type units_EmiYearlyBreakdownRow as EmiYearlyBreakdownRow, type units_FilePermissions as FilePermissions, type units_FormatOptions as FormatOptions, type units_FreelancerRateInput as FreelancerRateInput, type units_FreelancerRateResult as FreelancerRateResult, units_GPA_GRADE_POINTS as GPA_GRADE_POINTS, type units_GpaCourse as GpaCourse, type units_GpaCourseResult as GpaCourseResult, type units_GpaResult as GpaResult, type units_IbanValidationResult as IbanValidationResult, type units_IpConversion as IpConversion, type units_IsbnFormat as IsbnFormat, type units_IsbnResult as IsbnResult, type units_LoanBalanceInput as LoanBalanceInput, type units_LoanBalanceResult as LoanBalanceResult, type units_LoanResult as LoanResult, type units_MarginMarkupField as MarginMarkupField, type units_MarginMarkupInput as MarginMarkupInput, type units_MarginMarkupResult as MarginMarkupResult, type units_MovingAveragePoint as MovingAveragePoint, type units_MovingAverageResult as MovingAverageResult, type units_NotationStyle as NotationStyle, type units_NumberBase as NumberBase, type units_PaybackPeriodInput as PaybackPeriodInput, type units_PaybackPeriodResult as PaybackPeriodResult, type units_PercentChangeDirection as PercentChangeDirection, type units_PercentageChangeResult as PercentageChangeResult, type units_Permission as Permission, type units_PxConvertResult as PxConvertResult, type units_RoiInput as RoiInput, type units_RoiResult as RoiResult, type units_RuleOf72Direction as RuleOf72Direction, type units_RuleOf72Result as RuleOf72Result, type units_SavingsGoalInput as SavingsGoalInput, type units_SavingsGoalMode as SavingsGoalMode, type units_SavingsGoalResult as SavingsGoalResult, type units_SemverVersion as SemverVersion, type units_SimpleInterestResult as SimpleInterestResult, type units_SubnetInfo as SubnetInfo, type units_SuccessiveDiscountResult as SuccessiveDiscountResult, type units_SuccessiveDiscountStep as SuccessiveDiscountStep, type units_TaxDirection as TaxDirection, type units_TaxResult as TaxResult, type units_TimeValueDirection as TimeValueDirection, type units_TimeValueResult as TimeValueResult, type units_TipSplitResult as TipSplitResult, units_USD_DENOMINATIONS as USD_DENOMINATIONS, type units_UnitPriceItem as UnitPriceItem, type units_UnitPriceResult as UnitPriceResult, type units_UtilizationTier as UtilizationTier, type units_VideoBitrateInput as VideoBitrateInput, type units_VideoBitrateMode as VideoBitrateMode, type units_VideoBitrateResult as VideoBitrateResult, type units_ViewportConvertResult as ViewportConvertResult, units_applySuccessiveDiscounts as applySuccessiveDiscounts, units_autoFormat as autoFormat, units_bumpVersion as bumpVersion, units_calcAspectRatio as calcAspectRatio, units_calcSubnet as calcSubnet, units_calculateBlendedLoanRate as calculateBlendedLoanRate, units_calculateBreakEven as calculateBreakEven, units_calculateCashBreakdown as calculateCashBreakdown, units_calculateCashRounding as calculateCashRounding, units_calculateCdMaturity as calculateCdMaturity, units_calculateChange as calculateChange, units_calculateCompoundInterest as calculateCompoundInterest, units_calculateCreditUtilization as calculateCreditUtilization, units_calculateDebtToIncomeRatio as calculateDebtToIncomeRatio, units_calculateDepreciationSchedule as calculateDepreciationSchedule, units_calculateDiscount as calculateDiscount, units_calculateEmi as calculateEmi, units_calculateFreelancerRate as calculateFreelancerRate, units_calculateGpa as calculateGpa, units_calculateLoan as calculateLoan, units_calculateMarginMarkup as calculateMarginMarkup, units_calculateMovingAverages as calculateMovingAverages, units_calculatePaybackPeriod as calculatePaybackPeriod, units_calculatePercentageChange as calculatePercentageChange, units_calculateRoi as calculateRoi, units_calculateRuleOf72 as calculateRuleOf72, units_calculateSavingsGoal as calculateSavingsGoal, units_calculateSimpleInterest as calculateSimpleInterest, units_calculateTax as calculateTax, units_calculateTimeValue as calculateTimeValue, units_calculateTipSplit as calculateTipSplit, units_calculateVideoBitrate as calculateVideoBitrate, units_compareSemver as compareSemver, units_compareUnitPrices as compareUnitPrices, units_convert as convert, units_convertAprApy as convertAprApy, units_convertBytes as convertBytes, units_convertIp as convertIp, units_coverBox as coverBox, units_decimalToIp as decimalToIp, units_decimalToIpCidr as decimalToIpCidr, units_describePermissions as describePermissions, units_fitIntoBox as fitIntoBox, units_formatNumber as formatNumber, units_formatValue as formatValue, units_formatVwValue as formatVwValue, units_formatWithSeparator as formatWithSeparator, units_gcd as gcd, units_ipFromBinary as ipFromBinary, units_ipFromDecimal as ipFromDecimal, units_ipFromHex as ipFromHex, units_ipToBinary as ipToBinary, units_ipToDecimal as ipToDecimal, units_ipToDecimalCidr as ipToDecimalCidr, units_ipToHex as ipToHex, units_ipToOctal as ipToOctal, units_isValid as isValid, units_isValidCidr as isValidCidr, units_isValidIp as isValidIp, units_isValidIpv4 as isValidIpv4, units_marginToMarkup as marginToMarkup, units_markupToMargin as markupToMargin, units_octalToPermissions as octalToPermissions, units_parseFileSize as parseFileSize, units_parseInput as parseInput, units_parseNumberString as parseNumberString, units_parseSemver as parseSemver, units_permissionsToChmod as permissionsToChmod, units_permissionsToOctal as permissionsToOctal, units_permissionsToSymbolic as permissionsToSymbolic, units_ptToPx as ptToPx, units_pxToAll as pxToAll, units_pxToViewport as pxToViewport, units_remToPx as remToPx, units_satisfiesRange as satisfiesRange, units_scaleByHeight as scaleByHeight, units_scaleByWidth as scaleByWidth, units_sortVersions as sortVersions, units_splitSubnet as splitSubnet, units_symbolicToPermissions as symbolicToPermissions, units_validateBarcode as validateBarcode, units_validateCardNumber as validateCardNumber, units_validateIban as validateIban, units_validateIsbn as validateIsbn, units_viewportToPx as viewportToPx };
|
|
1299
|
+
export { type units_AmortizationRow as AmortizationRow, type units_AprApyDirection as AprApyDirection, type units_AprApyResult as AprApyResult, type units_AspectRatioResult as AspectRatioResult, units_BASE_LABELS as BASE_LABELS, units_BASE_PREFIXES as BASE_PREFIXES, units_BYTE_UNITS as BYTE_UNITS, type units_BarcodeFormat as BarcodeFormat, type units_BarcodeValidationResult as BarcodeValidationResult, type units_BaseConvertResult as BaseConvertResult, type units_BlendedLoanRateResult as BlendedLoanRateResult, type units_BreakEvenInput as BreakEvenInput, type units_BreakEvenResult as BreakEvenResult, type units_ByteConvertResult as ByteConvertResult, type units_ByteUnit as ByteUnit, units_COMMON_CURRENCIES as COMMON_CURRENCIES, units_COMMON_LOCALES as COMMON_LOCALES, units_COMMON_PERMISSIONS as COMMON_PERMISSIONS, units_COMMON_RATIOS as COMMON_RATIOS, units_COMMON_SIZES as COMMON_SIZES, units_COMMON_TAX_RATES as COMMON_TAX_RATES, units_COMMON_TIP_PERCENTAGES as COMMON_TIP_PERCENTAGES, units_COMMON_VIEWPORTS as COMMON_VIEWPORTS, type units_CardValidationResult as CardValidationResult, type units_CashBreakdownResult as CashBreakdownResult, type units_CashChangeResult as CashChangeResult, type units_CashDenominationItem as CashDenominationItem, type units_CashRoundingMode as CashRoundingMode, type units_CashRoundingResult as CashRoundingResult, type units_CdMaturityResult as CdMaturityResult, type units_CompareUnitPricesResult as CompareUnitPricesResult, type units_CompoundInterestResult as CompoundInterestResult, type units_CompoundYearRow as CompoundYearRow, type units_CreditAccountInput as CreditAccountInput, type units_CreditAccountResult as CreditAccountResult, type units_CreditUtilizationResult as CreditUtilizationResult, type units_DebtItemInput as DebtItemInput, type units_DebtItemResult as DebtItemResult, type units_DebtToIncomeRatioResult as DebtToIncomeRatioResult, type units_DepreciationMethod as DepreciationMethod, type units_DepreciationResult as DepreciationResult, type units_DepreciationYear as DepreciationYear, type units_Dimensions as Dimensions, type units_DiscountField as DiscountField, type units_DiscountInput as DiscountInput, type units_DiscountResult as DiscountResult, type units_DtiTier as DtiTier, type units_EmiResult as EmiResult, type units_EmiTenureUnit as EmiTenureUnit, type units_EmiYearlyBreakdownRow as EmiYearlyBreakdownRow, type units_ExtraPaymentPayoffResult as ExtraPaymentPayoffResult, type units_FilePermissions as FilePermissions, type units_FormatOptions as FormatOptions, type units_FreelancerRateInput as FreelancerRateInput, type units_FreelancerRateResult as FreelancerRateResult, units_GPA_GRADE_POINTS as GPA_GRADE_POINTS, type units_GpaCourse as GpaCourse, type units_GpaCourseResult as GpaCourseResult, type units_GpaResult as GpaResult, type units_IbanValidationResult as IbanValidationResult, type units_IpConversion as IpConversion, type units_IsbnFormat as IsbnFormat, type units_IsbnResult as IsbnResult, type units_LoanBalanceInput as LoanBalanceInput, type units_LoanBalanceResult as LoanBalanceResult, type units_LoanResult as LoanResult, type units_MarginMarkupField as MarginMarkupField, type units_MarginMarkupInput as MarginMarkupInput, type units_MarginMarkupResult as MarginMarkupResult, type units_MovingAveragePoint as MovingAveragePoint, type units_MovingAverageResult as MovingAverageResult, type units_NotationStyle as NotationStyle, type units_NumberBase as NumberBase, type units_PaybackPeriodInput as PaybackPeriodInput, type units_PaybackPeriodResult as PaybackPeriodResult, type units_PercentChangeDirection as PercentChangeDirection, type units_PercentageChangeResult as PercentageChangeResult, type units_Permission as Permission, type units_PxConvertResult as PxConvertResult, type units_RoiInput as RoiInput, type units_RoiResult as RoiResult, type units_RuleOf72Direction as RuleOf72Direction, type units_RuleOf72Result as RuleOf72Result, type units_SavingsGoalInput as SavingsGoalInput, type units_SavingsGoalMode as SavingsGoalMode, type units_SavingsGoalResult as SavingsGoalResult, type units_SemverVersion as SemverVersion, type units_SimpleInterestResult as SimpleInterestResult, type units_SubnetInfo as SubnetInfo, type units_SuccessiveDiscountResult as SuccessiveDiscountResult, type units_SuccessiveDiscountStep as SuccessiveDiscountStep, type units_TaxDirection as TaxDirection, type units_TaxResult as TaxResult, type units_TimeValueDirection as TimeValueDirection, type units_TimeValueResult as TimeValueResult, type units_TipSplitResult as TipSplitResult, units_USD_DENOMINATIONS as USD_DENOMINATIONS, type units_UnitPriceItem as UnitPriceItem, type units_UnitPriceResult as UnitPriceResult, type units_UtilizationTier as UtilizationTier, type units_VideoBitrateInput as VideoBitrateInput, type units_VideoBitrateMode as VideoBitrateMode, type units_VideoBitrateResult as VideoBitrateResult, type units_ViewportConvertResult as ViewportConvertResult, units_applySuccessiveDiscounts as applySuccessiveDiscounts, units_autoFormat as autoFormat, units_bumpVersion as bumpVersion, units_calcAspectRatio as calcAspectRatio, units_calcSubnet as calcSubnet, units_calculateBlendedLoanRate as calculateBlendedLoanRate, units_calculateBreakEven as calculateBreakEven, units_calculateCashBreakdown as calculateCashBreakdown, units_calculateCashRounding as calculateCashRounding, units_calculateCdMaturity as calculateCdMaturity, units_calculateChange as calculateChange, units_calculateCompoundInterest as calculateCompoundInterest, units_calculateCreditUtilization as calculateCreditUtilization, units_calculateDebtToIncomeRatio as calculateDebtToIncomeRatio, units_calculateDepreciationSchedule as calculateDepreciationSchedule, units_calculateDiscount as calculateDiscount, units_calculateEmi as calculateEmi, units_calculateExtraPaymentPayoff as calculateExtraPaymentPayoff, units_calculateFreelancerRate as calculateFreelancerRate, units_calculateGpa as calculateGpa, units_calculateLoan as calculateLoan, units_calculateMarginMarkup as calculateMarginMarkup, units_calculateMovingAverages as calculateMovingAverages, units_calculatePaybackPeriod as calculatePaybackPeriod, units_calculatePercentageChange as calculatePercentageChange, units_calculateRoi as calculateRoi, units_calculateRuleOf72 as calculateRuleOf72, units_calculateSavingsGoal as calculateSavingsGoal, units_calculateSimpleInterest as calculateSimpleInterest, units_calculateTax as calculateTax, units_calculateTimeValue as calculateTimeValue, units_calculateTipSplit as calculateTipSplit, units_calculateVideoBitrate as calculateVideoBitrate, units_compareSemver as compareSemver, units_compareUnitPrices as compareUnitPrices, units_convert as convert, units_convertAprApy as convertAprApy, units_convertBytes as convertBytes, units_convertIp as convertIp, units_coverBox as coverBox, units_decimalToIp as decimalToIp, units_decimalToIpCidr as decimalToIpCidr, units_describePermissions as describePermissions, units_fitIntoBox as fitIntoBox, units_formatNumber as formatNumber, units_formatValue as formatValue, units_formatVwValue as formatVwValue, units_formatWithSeparator as formatWithSeparator, units_gcd as gcd, units_ipFromBinary as ipFromBinary, units_ipFromDecimal as ipFromDecimal, units_ipFromHex as ipFromHex, units_ipToBinary as ipToBinary, units_ipToDecimal as ipToDecimal, units_ipToDecimalCidr as ipToDecimalCidr, units_ipToHex as ipToHex, units_ipToOctal as ipToOctal, units_isValid as isValid, units_isValidCidr as isValidCidr, units_isValidIp as isValidIp, units_isValidIpv4 as isValidIpv4, units_marginToMarkup as marginToMarkup, units_markupToMargin as markupToMargin, units_octalToPermissions as octalToPermissions, units_parseFileSize as parseFileSize, units_parseInput as parseInput, units_parseNumberString as parseNumberString, units_parseSemver as parseSemver, units_permissionsToChmod as permissionsToChmod, units_permissionsToOctal as permissionsToOctal, units_permissionsToSymbolic as permissionsToSymbolic, units_ptToPx as ptToPx, units_pxToAll as pxToAll, units_pxToViewport as pxToViewport, units_remToPx as remToPx, units_satisfiesRange as satisfiesRange, units_scaleByHeight as scaleByHeight, units_scaleByWidth as scaleByWidth, units_sortVersions as sortVersions, units_splitSubnet as splitSubnet, units_symbolicToPermissions as symbolicToPermissions, units_validateBarcode as validateBarcode, units_validateCardNumber as validateCardNumber, units_validateIban as validateIban, units_validateIsbn as validateIsbn, units_viewportToPx as viewportToPx };
|
|
1279
1300
|
}
|
|
1280
1301
|
|
|
1281
|
-
export { type
|
|
1302
|
+
export { type FormatOptions as $, type AmortizationRow as A, BASE_LABELS as B, COMMON_CURRENCIES as C, type CashRoundingResult as D, type CdMaturityResult as E, type CompareUnitPricesResult as F, type CompoundInterestResult as G, type CompoundYearRow as H, type CreditAccountInput as I, type CreditAccountResult as J, type CreditUtilizationResult as K, type DebtItemInput as L, type DebtItemResult as M, type DebtToIncomeRatioResult as N, type DepreciationMethod as O, type DepreciationResult as P, type DepreciationYear as Q, type Dimensions as R, type DiscountField as S, type DiscountInput as T, type DiscountResult as U, type DtiTier as V, type EmiResult as W, type EmiTenureUnit as X, type EmiYearlyBreakdownRow as Y, type ExtraPaymentPayoffResult as Z, type FilePermissions as _, type AprApyDirection as a, calculateCreditUtilization as a$, type FreelancerRateInput as a0, type FreelancerRateResult as a1, GPA_GRADE_POINTS as a2, type GpaCourse as a3, type GpaCourseResult as a4, type GpaResult as a5, type IbanValidationResult as a6, type IpConversion as a7, type IsbnFormat as a8, type IsbnResult as a9, type SuccessiveDiscountResult as aA, type SuccessiveDiscountStep as aB, type TaxDirection as aC, type TaxResult as aD, type TimeValueDirection as aE, type TimeValueResult as aF, type TipSplitResult as aG, USD_DENOMINATIONS as aH, type UnitPriceItem as aI, type UnitPriceResult as aJ, type UtilizationTier as aK, type VideoBitrateInput as aL, type VideoBitrateMode as aM, type VideoBitrateResult as aN, type ViewportConvertResult as aO, applySuccessiveDiscounts as aP, autoFormat as aQ, bumpVersion as aR, calcAspectRatio as aS, calcSubnet as aT, calculateBlendedLoanRate as aU, calculateBreakEven as aV, calculateCashBreakdown as aW, calculateCashRounding as aX, calculateCdMaturity as aY, calculateChange as aZ, calculateCompoundInterest as a_, type LoanBalanceInput as aa, type LoanBalanceResult as ab, type LoanResult as ac, type MarginMarkupField as ad, type MarginMarkupInput as ae, type MarginMarkupResult as af, type MovingAveragePoint as ag, type MovingAverageResult as ah, type NotationStyle as ai, type NumberBase as aj, type PaybackPeriodInput as ak, type PaybackPeriodResult as al, type PercentChangeDirection as am, type PercentageChangeResult as an, type Permission as ao, type PxConvertResult as ap, type RoiInput as aq, type RoiResult as ar, type RuleOf72Direction as as, type RuleOf72Result as at, type SavingsGoalInput as au, type SavingsGoalMode as av, type SavingsGoalResult as aw, type SemverVersion as ax, type SimpleInterestResult as ay, type SubnetInfo as az, type AprApyResult as b, scaleByHeight as b$, calculateDebtToIncomeRatio as b0, calculateDepreciationSchedule as b1, calculateDiscount as b2, calculateEmi as b3, calculateExtraPaymentPayoff as b4, calculateFreelancerRate as b5, calculateGpa as b6, calculateLoan as b7, calculateMarginMarkup as b8, calculateMovingAverages as b9, ipFromBinary as bA, ipFromDecimal as bB, ipFromHex as bC, ipToBinary as bD, ipToDecimal as bE, ipToDecimalCidr as bF, ipToHex as bG, ipToOctal as bH, isValid as bI, isValidCidr as bJ, isValidIp as bK, isValidIpv4 as bL, marginToMarkup as bM, markupToMargin as bN, octalToPermissions as bO, parseFileSize as bP, parseInput as bQ, parseNumberString as bR, parseSemver as bS, permissionsToChmod as bT, permissionsToOctal as bU, permissionsToSymbolic as bV, ptToPx as bW, pxToAll as bX, pxToViewport as bY, remToPx as bZ, satisfiesRange as b_, calculatePaybackPeriod as ba, calculatePercentageChange as bb, calculateRoi as bc, calculateRuleOf72 as bd, calculateSavingsGoal as be, calculateSimpleInterest as bf, calculateTax as bg, calculateTimeValue as bh, calculateTipSplit as bi, calculateVideoBitrate as bj, compareSemver as bk, compareUnitPrices as bl, convert as bm, convertAprApy as bn, convertBytes as bo, convertIp as bp, coverBox as bq, decimalToIp as br, decimalToIpCidr as bs, describePermissions as bt, fitIntoBox as bu, formatNumber as bv, formatValue as bw, formatVwValue as bx, formatWithSeparator as by, gcd as bz, type AspectRatioResult as c, scaleByWidth as c0, sortVersions as c1, splitSubnet as c2, symbolicToPermissions as c3, validateBarcode as c4, validateCardNumber as c5, validateIban as c6, validateIsbn as c7, viewportToPx as c8, BASE_PREFIXES as d, BYTE_UNITS as e, type BarcodeFormat as f, type BarcodeValidationResult as g, type BaseConvertResult as h, type BlendedLoanRateResult as i, type BreakEvenInput as j, type BreakEvenResult as k, type ByteConvertResult as l, type ByteUnit as m, COMMON_LOCALES as n, COMMON_PERMISSIONS as o, COMMON_RATIOS as p, COMMON_SIZES as q, COMMON_TAX_RATES as r, COMMON_TIP_PERCENTAGES as s, COMMON_VIEWPORTS as t, units as u, type CardValidationResult as v, type CashBreakdownResult as w, type CashChangeResult as x, type CashDenominationItem as y, type CashRoundingMode as z };
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
* - cd-maturity-calculator : calculateCdMaturity
|
|
38
38
|
* - depreciation-schedule-calculator : calculateDepreciationSchedule
|
|
39
39
|
* - blended-loan-rate-calculator : calculateBlendedLoanRate
|
|
40
|
+
* - extra-payment-mortgage-calculator : calculateExtraPaymentPayoff
|
|
40
41
|
* - freelancer-rate-calculator : calculateFreelancerRate
|
|
41
42
|
*/
|
|
42
43
|
interface PxConvertResult {
|
|
@@ -302,6 +303,24 @@ interface LoanResult {
|
|
|
302
303
|
declare function calculateLoan(principal: number, annualRatePercent: number, termMonths: number): LoanResult | {
|
|
303
304
|
error: string;
|
|
304
305
|
};
|
|
306
|
+
interface ExtraPaymentPayoffResult {
|
|
307
|
+
monthlyPayment: number;
|
|
308
|
+
extraMonthlyPayment: number;
|
|
309
|
+
baselinePayoffMonths: number;
|
|
310
|
+
baselineTotalInterest: number;
|
|
311
|
+
newPayoffMonths: number;
|
|
312
|
+
newTotalInterest: number;
|
|
313
|
+
monthsSaved: number;
|
|
314
|
+
interestSaved: number;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Compute how much faster a fixed-rate loan pays off, and how much interest
|
|
318
|
+
* is saved, when a fixed extra amount is added to every monthly payment on
|
|
319
|
+
* top of the standard amortized payment.
|
|
320
|
+
*/
|
|
321
|
+
declare function calculateExtraPaymentPayoff(principal: number, annualRatePercent: number, termMonths: number, extraMonthlyPayment: number): ExtraPaymentPayoffResult | {
|
|
322
|
+
error: string;
|
|
323
|
+
};
|
|
305
324
|
type BarcodeFormat = "EAN-13" | "EAN-8" | "UPC-A";
|
|
306
325
|
interface BarcodeValidationResult {
|
|
307
326
|
valid: boolean;
|
|
@@ -1136,6 +1155,7 @@ type units_DtiTier = DtiTier;
|
|
|
1136
1155
|
type units_EmiResult = EmiResult;
|
|
1137
1156
|
type units_EmiTenureUnit = EmiTenureUnit;
|
|
1138
1157
|
type units_EmiYearlyBreakdownRow = EmiYearlyBreakdownRow;
|
|
1158
|
+
type units_ExtraPaymentPayoffResult = ExtraPaymentPayoffResult;
|
|
1139
1159
|
type units_FilePermissions = FilePermissions;
|
|
1140
1160
|
type units_FormatOptions = FormatOptions;
|
|
1141
1161
|
type units_FreelancerRateInput = FreelancerRateInput;
|
|
@@ -1206,6 +1226,7 @@ declare const units_calculateDebtToIncomeRatio: typeof calculateDebtToIncomeRati
|
|
|
1206
1226
|
declare const units_calculateDepreciationSchedule: typeof calculateDepreciationSchedule;
|
|
1207
1227
|
declare const units_calculateDiscount: typeof calculateDiscount;
|
|
1208
1228
|
declare const units_calculateEmi: typeof calculateEmi;
|
|
1229
|
+
declare const units_calculateExtraPaymentPayoff: typeof calculateExtraPaymentPayoff;
|
|
1209
1230
|
declare const units_calculateFreelancerRate: typeof calculateFreelancerRate;
|
|
1210
1231
|
declare const units_calculateGpa: typeof calculateGpa;
|
|
1211
1232
|
declare const units_calculateLoan: typeof calculateLoan;
|
|
@@ -1275,7 +1296,7 @@ declare const units_validateIban: typeof validateIban;
|
|
|
1275
1296
|
declare const units_validateIsbn: typeof validateIsbn;
|
|
1276
1297
|
declare const units_viewportToPx: typeof viewportToPx;
|
|
1277
1298
|
declare namespace units {
|
|
1278
|
-
export { type units_AmortizationRow as AmortizationRow, type units_AprApyDirection as AprApyDirection, type units_AprApyResult as AprApyResult, type units_AspectRatioResult as AspectRatioResult, units_BASE_LABELS as BASE_LABELS, units_BASE_PREFIXES as BASE_PREFIXES, units_BYTE_UNITS as BYTE_UNITS, type units_BarcodeFormat as BarcodeFormat, type units_BarcodeValidationResult as BarcodeValidationResult, type units_BaseConvertResult as BaseConvertResult, type units_BlendedLoanRateResult as BlendedLoanRateResult, type units_BreakEvenInput as BreakEvenInput, type units_BreakEvenResult as BreakEvenResult, type units_ByteConvertResult as ByteConvertResult, type units_ByteUnit as ByteUnit, units_COMMON_CURRENCIES as COMMON_CURRENCIES, units_COMMON_LOCALES as COMMON_LOCALES, units_COMMON_PERMISSIONS as COMMON_PERMISSIONS, units_COMMON_RATIOS as COMMON_RATIOS, units_COMMON_SIZES as COMMON_SIZES, units_COMMON_TAX_RATES as COMMON_TAX_RATES, units_COMMON_TIP_PERCENTAGES as COMMON_TIP_PERCENTAGES, units_COMMON_VIEWPORTS as COMMON_VIEWPORTS, type units_CardValidationResult as CardValidationResult, type units_CashBreakdownResult as CashBreakdownResult, type units_CashChangeResult as CashChangeResult, type units_CashDenominationItem as CashDenominationItem, type units_CashRoundingMode as CashRoundingMode, type units_CashRoundingResult as CashRoundingResult, type units_CdMaturityResult as CdMaturityResult, type units_CompareUnitPricesResult as CompareUnitPricesResult, type units_CompoundInterestResult as CompoundInterestResult, type units_CompoundYearRow as CompoundYearRow, type units_CreditAccountInput as CreditAccountInput, type units_CreditAccountResult as CreditAccountResult, type units_CreditUtilizationResult as CreditUtilizationResult, type units_DebtItemInput as DebtItemInput, type units_DebtItemResult as DebtItemResult, type units_DebtToIncomeRatioResult as DebtToIncomeRatioResult, type units_DepreciationMethod as DepreciationMethod, type units_DepreciationResult as DepreciationResult, type units_DepreciationYear as DepreciationYear, type units_Dimensions as Dimensions, type units_DiscountField as DiscountField, type units_DiscountInput as DiscountInput, type units_DiscountResult as DiscountResult, type units_DtiTier as DtiTier, type units_EmiResult as EmiResult, type units_EmiTenureUnit as EmiTenureUnit, type units_EmiYearlyBreakdownRow as EmiYearlyBreakdownRow, type units_FilePermissions as FilePermissions, type units_FormatOptions as FormatOptions, type units_FreelancerRateInput as FreelancerRateInput, type units_FreelancerRateResult as FreelancerRateResult, units_GPA_GRADE_POINTS as GPA_GRADE_POINTS, type units_GpaCourse as GpaCourse, type units_GpaCourseResult as GpaCourseResult, type units_GpaResult as GpaResult, type units_IbanValidationResult as IbanValidationResult, type units_IpConversion as IpConversion, type units_IsbnFormat as IsbnFormat, type units_IsbnResult as IsbnResult, type units_LoanBalanceInput as LoanBalanceInput, type units_LoanBalanceResult as LoanBalanceResult, type units_LoanResult as LoanResult, type units_MarginMarkupField as MarginMarkupField, type units_MarginMarkupInput as MarginMarkupInput, type units_MarginMarkupResult as MarginMarkupResult, type units_MovingAveragePoint as MovingAveragePoint, type units_MovingAverageResult as MovingAverageResult, type units_NotationStyle as NotationStyle, type units_NumberBase as NumberBase, type units_PaybackPeriodInput as PaybackPeriodInput, type units_PaybackPeriodResult as PaybackPeriodResult, type units_PercentChangeDirection as PercentChangeDirection, type units_PercentageChangeResult as PercentageChangeResult, type units_Permission as Permission, type units_PxConvertResult as PxConvertResult, type units_RoiInput as RoiInput, type units_RoiResult as RoiResult, type units_RuleOf72Direction as RuleOf72Direction, type units_RuleOf72Result as RuleOf72Result, type units_SavingsGoalInput as SavingsGoalInput, type units_SavingsGoalMode as SavingsGoalMode, type units_SavingsGoalResult as SavingsGoalResult, type units_SemverVersion as SemverVersion, type units_SimpleInterestResult as SimpleInterestResult, type units_SubnetInfo as SubnetInfo, type units_SuccessiveDiscountResult as SuccessiveDiscountResult, type units_SuccessiveDiscountStep as SuccessiveDiscountStep, type units_TaxDirection as TaxDirection, type units_TaxResult as TaxResult, type units_TimeValueDirection as TimeValueDirection, type units_TimeValueResult as TimeValueResult, type units_TipSplitResult as TipSplitResult, units_USD_DENOMINATIONS as USD_DENOMINATIONS, type units_UnitPriceItem as UnitPriceItem, type units_UnitPriceResult as UnitPriceResult, type units_UtilizationTier as UtilizationTier, type units_VideoBitrateInput as VideoBitrateInput, type units_VideoBitrateMode as VideoBitrateMode, type units_VideoBitrateResult as VideoBitrateResult, type units_ViewportConvertResult as ViewportConvertResult, units_applySuccessiveDiscounts as applySuccessiveDiscounts, units_autoFormat as autoFormat, units_bumpVersion as bumpVersion, units_calcAspectRatio as calcAspectRatio, units_calcSubnet as calcSubnet, units_calculateBlendedLoanRate as calculateBlendedLoanRate, units_calculateBreakEven as calculateBreakEven, units_calculateCashBreakdown as calculateCashBreakdown, units_calculateCashRounding as calculateCashRounding, units_calculateCdMaturity as calculateCdMaturity, units_calculateChange as calculateChange, units_calculateCompoundInterest as calculateCompoundInterest, units_calculateCreditUtilization as calculateCreditUtilization, units_calculateDebtToIncomeRatio as calculateDebtToIncomeRatio, units_calculateDepreciationSchedule as calculateDepreciationSchedule, units_calculateDiscount as calculateDiscount, units_calculateEmi as calculateEmi, units_calculateFreelancerRate as calculateFreelancerRate, units_calculateGpa as calculateGpa, units_calculateLoan as calculateLoan, units_calculateMarginMarkup as calculateMarginMarkup, units_calculateMovingAverages as calculateMovingAverages, units_calculatePaybackPeriod as calculatePaybackPeriod, units_calculatePercentageChange as calculatePercentageChange, units_calculateRoi as calculateRoi, units_calculateRuleOf72 as calculateRuleOf72, units_calculateSavingsGoal as calculateSavingsGoal, units_calculateSimpleInterest as calculateSimpleInterest, units_calculateTax as calculateTax, units_calculateTimeValue as calculateTimeValue, units_calculateTipSplit as calculateTipSplit, units_calculateVideoBitrate as calculateVideoBitrate, units_compareSemver as compareSemver, units_compareUnitPrices as compareUnitPrices, units_convert as convert, units_convertAprApy as convertAprApy, units_convertBytes as convertBytes, units_convertIp as convertIp, units_coverBox as coverBox, units_decimalToIp as decimalToIp, units_decimalToIpCidr as decimalToIpCidr, units_describePermissions as describePermissions, units_fitIntoBox as fitIntoBox, units_formatNumber as formatNumber, units_formatValue as formatValue, units_formatVwValue as formatVwValue, units_formatWithSeparator as formatWithSeparator, units_gcd as gcd, units_ipFromBinary as ipFromBinary, units_ipFromDecimal as ipFromDecimal, units_ipFromHex as ipFromHex, units_ipToBinary as ipToBinary, units_ipToDecimal as ipToDecimal, units_ipToDecimalCidr as ipToDecimalCidr, units_ipToHex as ipToHex, units_ipToOctal as ipToOctal, units_isValid as isValid, units_isValidCidr as isValidCidr, units_isValidIp as isValidIp, units_isValidIpv4 as isValidIpv4, units_marginToMarkup as marginToMarkup, units_markupToMargin as markupToMargin, units_octalToPermissions as octalToPermissions, units_parseFileSize as parseFileSize, units_parseInput as parseInput, units_parseNumberString as parseNumberString, units_parseSemver as parseSemver, units_permissionsToChmod as permissionsToChmod, units_permissionsToOctal as permissionsToOctal, units_permissionsToSymbolic as permissionsToSymbolic, units_ptToPx as ptToPx, units_pxToAll as pxToAll, units_pxToViewport as pxToViewport, units_remToPx as remToPx, units_satisfiesRange as satisfiesRange, units_scaleByHeight as scaleByHeight, units_scaleByWidth as scaleByWidth, units_sortVersions as sortVersions, units_splitSubnet as splitSubnet, units_symbolicToPermissions as symbolicToPermissions, units_validateBarcode as validateBarcode, units_validateCardNumber as validateCardNumber, units_validateIban as validateIban, units_validateIsbn as validateIsbn, units_viewportToPx as viewportToPx };
|
|
1299
|
+
export { type units_AmortizationRow as AmortizationRow, type units_AprApyDirection as AprApyDirection, type units_AprApyResult as AprApyResult, type units_AspectRatioResult as AspectRatioResult, units_BASE_LABELS as BASE_LABELS, units_BASE_PREFIXES as BASE_PREFIXES, units_BYTE_UNITS as BYTE_UNITS, type units_BarcodeFormat as BarcodeFormat, type units_BarcodeValidationResult as BarcodeValidationResult, type units_BaseConvertResult as BaseConvertResult, type units_BlendedLoanRateResult as BlendedLoanRateResult, type units_BreakEvenInput as BreakEvenInput, type units_BreakEvenResult as BreakEvenResult, type units_ByteConvertResult as ByteConvertResult, type units_ByteUnit as ByteUnit, units_COMMON_CURRENCIES as COMMON_CURRENCIES, units_COMMON_LOCALES as COMMON_LOCALES, units_COMMON_PERMISSIONS as COMMON_PERMISSIONS, units_COMMON_RATIOS as COMMON_RATIOS, units_COMMON_SIZES as COMMON_SIZES, units_COMMON_TAX_RATES as COMMON_TAX_RATES, units_COMMON_TIP_PERCENTAGES as COMMON_TIP_PERCENTAGES, units_COMMON_VIEWPORTS as COMMON_VIEWPORTS, type units_CardValidationResult as CardValidationResult, type units_CashBreakdownResult as CashBreakdownResult, type units_CashChangeResult as CashChangeResult, type units_CashDenominationItem as CashDenominationItem, type units_CashRoundingMode as CashRoundingMode, type units_CashRoundingResult as CashRoundingResult, type units_CdMaturityResult as CdMaturityResult, type units_CompareUnitPricesResult as CompareUnitPricesResult, type units_CompoundInterestResult as CompoundInterestResult, type units_CompoundYearRow as CompoundYearRow, type units_CreditAccountInput as CreditAccountInput, type units_CreditAccountResult as CreditAccountResult, type units_CreditUtilizationResult as CreditUtilizationResult, type units_DebtItemInput as DebtItemInput, type units_DebtItemResult as DebtItemResult, type units_DebtToIncomeRatioResult as DebtToIncomeRatioResult, type units_DepreciationMethod as DepreciationMethod, type units_DepreciationResult as DepreciationResult, type units_DepreciationYear as DepreciationYear, type units_Dimensions as Dimensions, type units_DiscountField as DiscountField, type units_DiscountInput as DiscountInput, type units_DiscountResult as DiscountResult, type units_DtiTier as DtiTier, type units_EmiResult as EmiResult, type units_EmiTenureUnit as EmiTenureUnit, type units_EmiYearlyBreakdownRow as EmiYearlyBreakdownRow, type units_ExtraPaymentPayoffResult as ExtraPaymentPayoffResult, type units_FilePermissions as FilePermissions, type units_FormatOptions as FormatOptions, type units_FreelancerRateInput as FreelancerRateInput, type units_FreelancerRateResult as FreelancerRateResult, units_GPA_GRADE_POINTS as GPA_GRADE_POINTS, type units_GpaCourse as GpaCourse, type units_GpaCourseResult as GpaCourseResult, type units_GpaResult as GpaResult, type units_IbanValidationResult as IbanValidationResult, type units_IpConversion as IpConversion, type units_IsbnFormat as IsbnFormat, type units_IsbnResult as IsbnResult, type units_LoanBalanceInput as LoanBalanceInput, type units_LoanBalanceResult as LoanBalanceResult, type units_LoanResult as LoanResult, type units_MarginMarkupField as MarginMarkupField, type units_MarginMarkupInput as MarginMarkupInput, type units_MarginMarkupResult as MarginMarkupResult, type units_MovingAveragePoint as MovingAveragePoint, type units_MovingAverageResult as MovingAverageResult, type units_NotationStyle as NotationStyle, type units_NumberBase as NumberBase, type units_PaybackPeriodInput as PaybackPeriodInput, type units_PaybackPeriodResult as PaybackPeriodResult, type units_PercentChangeDirection as PercentChangeDirection, type units_PercentageChangeResult as PercentageChangeResult, type units_Permission as Permission, type units_PxConvertResult as PxConvertResult, type units_RoiInput as RoiInput, type units_RoiResult as RoiResult, type units_RuleOf72Direction as RuleOf72Direction, type units_RuleOf72Result as RuleOf72Result, type units_SavingsGoalInput as SavingsGoalInput, type units_SavingsGoalMode as SavingsGoalMode, type units_SavingsGoalResult as SavingsGoalResult, type units_SemverVersion as SemverVersion, type units_SimpleInterestResult as SimpleInterestResult, type units_SubnetInfo as SubnetInfo, type units_SuccessiveDiscountResult as SuccessiveDiscountResult, type units_SuccessiveDiscountStep as SuccessiveDiscountStep, type units_TaxDirection as TaxDirection, type units_TaxResult as TaxResult, type units_TimeValueDirection as TimeValueDirection, type units_TimeValueResult as TimeValueResult, type units_TipSplitResult as TipSplitResult, units_USD_DENOMINATIONS as USD_DENOMINATIONS, type units_UnitPriceItem as UnitPriceItem, type units_UnitPriceResult as UnitPriceResult, type units_UtilizationTier as UtilizationTier, type units_VideoBitrateInput as VideoBitrateInput, type units_VideoBitrateMode as VideoBitrateMode, type units_VideoBitrateResult as VideoBitrateResult, type units_ViewportConvertResult as ViewportConvertResult, units_applySuccessiveDiscounts as applySuccessiveDiscounts, units_autoFormat as autoFormat, units_bumpVersion as bumpVersion, units_calcAspectRatio as calcAspectRatio, units_calcSubnet as calcSubnet, units_calculateBlendedLoanRate as calculateBlendedLoanRate, units_calculateBreakEven as calculateBreakEven, units_calculateCashBreakdown as calculateCashBreakdown, units_calculateCashRounding as calculateCashRounding, units_calculateCdMaturity as calculateCdMaturity, units_calculateChange as calculateChange, units_calculateCompoundInterest as calculateCompoundInterest, units_calculateCreditUtilization as calculateCreditUtilization, units_calculateDebtToIncomeRatio as calculateDebtToIncomeRatio, units_calculateDepreciationSchedule as calculateDepreciationSchedule, units_calculateDiscount as calculateDiscount, units_calculateEmi as calculateEmi, units_calculateExtraPaymentPayoff as calculateExtraPaymentPayoff, units_calculateFreelancerRate as calculateFreelancerRate, units_calculateGpa as calculateGpa, units_calculateLoan as calculateLoan, units_calculateMarginMarkup as calculateMarginMarkup, units_calculateMovingAverages as calculateMovingAverages, units_calculatePaybackPeriod as calculatePaybackPeriod, units_calculatePercentageChange as calculatePercentageChange, units_calculateRoi as calculateRoi, units_calculateRuleOf72 as calculateRuleOf72, units_calculateSavingsGoal as calculateSavingsGoal, units_calculateSimpleInterest as calculateSimpleInterest, units_calculateTax as calculateTax, units_calculateTimeValue as calculateTimeValue, units_calculateTipSplit as calculateTipSplit, units_calculateVideoBitrate as calculateVideoBitrate, units_compareSemver as compareSemver, units_compareUnitPrices as compareUnitPrices, units_convert as convert, units_convertAprApy as convertAprApy, units_convertBytes as convertBytes, units_convertIp as convertIp, units_coverBox as coverBox, units_decimalToIp as decimalToIp, units_decimalToIpCidr as decimalToIpCidr, units_describePermissions as describePermissions, units_fitIntoBox as fitIntoBox, units_formatNumber as formatNumber, units_formatValue as formatValue, units_formatVwValue as formatVwValue, units_formatWithSeparator as formatWithSeparator, units_gcd as gcd, units_ipFromBinary as ipFromBinary, units_ipFromDecimal as ipFromDecimal, units_ipFromHex as ipFromHex, units_ipToBinary as ipToBinary, units_ipToDecimal as ipToDecimal, units_ipToDecimalCidr as ipToDecimalCidr, units_ipToHex as ipToHex, units_ipToOctal as ipToOctal, units_isValid as isValid, units_isValidCidr as isValidCidr, units_isValidIp as isValidIp, units_isValidIpv4 as isValidIpv4, units_marginToMarkup as marginToMarkup, units_markupToMargin as markupToMargin, units_octalToPermissions as octalToPermissions, units_parseFileSize as parseFileSize, units_parseInput as parseInput, units_parseNumberString as parseNumberString, units_parseSemver as parseSemver, units_permissionsToChmod as permissionsToChmod, units_permissionsToOctal as permissionsToOctal, units_permissionsToSymbolic as permissionsToSymbolic, units_ptToPx as ptToPx, units_pxToAll as pxToAll, units_pxToViewport as pxToViewport, units_remToPx as remToPx, units_satisfiesRange as satisfiesRange, units_scaleByHeight as scaleByHeight, units_scaleByWidth as scaleByWidth, units_sortVersions as sortVersions, units_splitSubnet as splitSubnet, units_symbolicToPermissions as symbolicToPermissions, units_validateBarcode as validateBarcode, units_validateCardNumber as validateCardNumber, units_validateIban as validateIban, units_validateIsbn as validateIsbn, units_viewportToPx as viewportToPx };
|
|
1279
1300
|
}
|
|
1280
1301
|
|
|
1281
|
-
export { type
|
|
1302
|
+
export { type FormatOptions as $, type AmortizationRow as A, BASE_LABELS as B, COMMON_CURRENCIES as C, type CashRoundingResult as D, type CdMaturityResult as E, type CompareUnitPricesResult as F, type CompoundInterestResult as G, type CompoundYearRow as H, type CreditAccountInput as I, type CreditAccountResult as J, type CreditUtilizationResult as K, type DebtItemInput as L, type DebtItemResult as M, type DebtToIncomeRatioResult as N, type DepreciationMethod as O, type DepreciationResult as P, type DepreciationYear as Q, type Dimensions as R, type DiscountField as S, type DiscountInput as T, type DiscountResult as U, type DtiTier as V, type EmiResult as W, type EmiTenureUnit as X, type EmiYearlyBreakdownRow as Y, type ExtraPaymentPayoffResult as Z, type FilePermissions as _, type AprApyDirection as a, calculateCreditUtilization as a$, type FreelancerRateInput as a0, type FreelancerRateResult as a1, GPA_GRADE_POINTS as a2, type GpaCourse as a3, type GpaCourseResult as a4, type GpaResult as a5, type IbanValidationResult as a6, type IpConversion as a7, type IsbnFormat as a8, type IsbnResult as a9, type SuccessiveDiscountResult as aA, type SuccessiveDiscountStep as aB, type TaxDirection as aC, type TaxResult as aD, type TimeValueDirection as aE, type TimeValueResult as aF, type TipSplitResult as aG, USD_DENOMINATIONS as aH, type UnitPriceItem as aI, type UnitPriceResult as aJ, type UtilizationTier as aK, type VideoBitrateInput as aL, type VideoBitrateMode as aM, type VideoBitrateResult as aN, type ViewportConvertResult as aO, applySuccessiveDiscounts as aP, autoFormat as aQ, bumpVersion as aR, calcAspectRatio as aS, calcSubnet as aT, calculateBlendedLoanRate as aU, calculateBreakEven as aV, calculateCashBreakdown as aW, calculateCashRounding as aX, calculateCdMaturity as aY, calculateChange as aZ, calculateCompoundInterest as a_, type LoanBalanceInput as aa, type LoanBalanceResult as ab, type LoanResult as ac, type MarginMarkupField as ad, type MarginMarkupInput as ae, type MarginMarkupResult as af, type MovingAveragePoint as ag, type MovingAverageResult as ah, type NotationStyle as ai, type NumberBase as aj, type PaybackPeriodInput as ak, type PaybackPeriodResult as al, type PercentChangeDirection as am, type PercentageChangeResult as an, type Permission as ao, type PxConvertResult as ap, type RoiInput as aq, type RoiResult as ar, type RuleOf72Direction as as, type RuleOf72Result as at, type SavingsGoalInput as au, type SavingsGoalMode as av, type SavingsGoalResult as aw, type SemverVersion as ax, type SimpleInterestResult as ay, type SubnetInfo as az, type AprApyResult as b, scaleByHeight as b$, calculateDebtToIncomeRatio as b0, calculateDepreciationSchedule as b1, calculateDiscount as b2, calculateEmi as b3, calculateExtraPaymentPayoff as b4, calculateFreelancerRate as b5, calculateGpa as b6, calculateLoan as b7, calculateMarginMarkup as b8, calculateMovingAverages as b9, ipFromBinary as bA, ipFromDecimal as bB, ipFromHex as bC, ipToBinary as bD, ipToDecimal as bE, ipToDecimalCidr as bF, ipToHex as bG, ipToOctal as bH, isValid as bI, isValidCidr as bJ, isValidIp as bK, isValidIpv4 as bL, marginToMarkup as bM, markupToMargin as bN, octalToPermissions as bO, parseFileSize as bP, parseInput as bQ, parseNumberString as bR, parseSemver as bS, permissionsToChmod as bT, permissionsToOctal as bU, permissionsToSymbolic as bV, ptToPx as bW, pxToAll as bX, pxToViewport as bY, remToPx as bZ, satisfiesRange as b_, calculatePaybackPeriod as ba, calculatePercentageChange as bb, calculateRoi as bc, calculateRuleOf72 as bd, calculateSavingsGoal as be, calculateSimpleInterest as bf, calculateTax as bg, calculateTimeValue as bh, calculateTipSplit as bi, calculateVideoBitrate as bj, compareSemver as bk, compareUnitPrices as bl, convert as bm, convertAprApy as bn, convertBytes as bo, convertIp as bp, coverBox as bq, decimalToIp as br, decimalToIpCidr as bs, describePermissions as bt, fitIntoBox as bu, formatNumber as bv, formatValue as bw, formatVwValue as bx, formatWithSeparator as by, gcd as bz, type AspectRatioResult as c, scaleByWidth as c0, sortVersions as c1, splitSubnet as c2, symbolicToPermissions as c3, validateBarcode as c4, validateCardNumber as c5, validateIban as c6, validateIsbn as c7, viewportToPx as c8, BASE_PREFIXES as d, BYTE_UNITS as e, type BarcodeFormat as f, type BarcodeValidationResult as g, type BaseConvertResult as h, type BlendedLoanRateResult as i, type BreakEvenInput as j, type BreakEvenResult as k, type ByteConvertResult as l, type ByteUnit as m, COMMON_LOCALES as n, COMMON_PERMISSIONS as o, COMMON_RATIOS as p, COMMON_SIZES as q, COMMON_TAX_RATES as r, COMMON_TIP_PERCENTAGES as s, COMMON_VIEWPORTS as t, units as u, type CardValidationResult as v, type CashBreakdownResult as w, type CashChangeResult as x, type CashDenominationItem as y, type CashRoundingMode as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@utilix-tech/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.62.0",
|
|
4
4
|
"description": "154+ developer utility tools for Node.js: JSON, encoding, hashing, color, CSS, network and more. Runs locally, no API key required.",
|
|
5
5
|
"author": "Utilix <hello@utilix.tech>",
|
|
6
6
|
"license": "MIT",
|