@utilix-tech/sdk 0.71.0 → 0.73.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 +8 -0
- package/README.md +20 -4
- package/dist/{chunk-ACGCCOCK.js → chunk-CXUOV672.js} +32 -1
- package/dist/{chunk-653HDWXW.js → chunk-XOUKIGJ4.js} +120 -1
- package/dist/index.cjs +150 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{network-BmqYmfqY.d.cts → network-Da3meCWM.d.cts} +31 -2
- package/dist/{network-BmqYmfqY.d.ts → network-Da3meCWM.d.ts} +31 -2
- package/dist/tools/network.cjs +31 -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 +119 -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-BT8P27G0.d.ts → units-BgaUAUG5.d.cts} +71 -2
- package/dist/{units-BT8P27G0.d.cts → units-BgaUAUG5.d.ts} +71 -2
- package/package.json +1 -1
|
@@ -41,6 +41,9 @@
|
|
|
41
41
|
* - freelancer-rate-calculator : calculateFreelancerRate
|
|
42
42
|
* - debt-payoff-planner : planDebtPayoff
|
|
43
43
|
* - tax-equivalent-yield-calculator : calculateTaxEquivalentYield
|
|
44
|
+
* - vin-validator : validateVin
|
|
45
|
+
* - isin-validator : validateIsin
|
|
46
|
+
* - mortgage-points-calculator : calculateMortgagePoints
|
|
44
47
|
*/
|
|
45
48
|
interface PxConvertResult {
|
|
46
49
|
px: number;
|
|
@@ -1195,6 +1198,66 @@ interface TaxEquivalentYieldResult {
|
|
|
1195
1198
|
declare function calculateTaxEquivalentYield(inputYieldPercent: number, federalTaxRatePercent: number, stateTaxRatePercent: number | undefined, direction: TaxEquivalentYieldDirection): TaxEquivalentYieldResult | {
|
|
1196
1199
|
error: string;
|
|
1197
1200
|
};
|
|
1201
|
+
interface VinValidationResult {
|
|
1202
|
+
valid: boolean;
|
|
1203
|
+
vin: string;
|
|
1204
|
+
checkDigit: string;
|
|
1205
|
+
expectedCheckDigit: string;
|
|
1206
|
+
wmi: string;
|
|
1207
|
+
vds: string;
|
|
1208
|
+
vis: string;
|
|
1209
|
+
}
|
|
1210
|
+
/**
|
|
1211
|
+
* Validate a 17-character VIN via the ISO 3779 / NHTSA weighted mod-11
|
|
1212
|
+
* check digit at position 9, and split it into its World Manufacturer
|
|
1213
|
+
* Identifier (WMI), Vehicle Descriptor Section (VDS), and Vehicle
|
|
1214
|
+
* Identifier Section (VIS). Does not decode make, model, or model year,
|
|
1215
|
+
* since that requires manufacturer-specific and non-deterministic lookup
|
|
1216
|
+
* tables beyond a pure checksum.
|
|
1217
|
+
*/
|
|
1218
|
+
declare function validateVin(input: string): VinValidationResult | {
|
|
1219
|
+
error: string;
|
|
1220
|
+
};
|
|
1221
|
+
interface IsinValidationResult {
|
|
1222
|
+
valid: boolean;
|
|
1223
|
+
isin: string;
|
|
1224
|
+
countryCode: string;
|
|
1225
|
+
securityIdentifier: string;
|
|
1226
|
+
checkDigit: number;
|
|
1227
|
+
expectedCheckDigit: number;
|
|
1228
|
+
formatted: string;
|
|
1229
|
+
}
|
|
1230
|
+
/**
|
|
1231
|
+
* Validate a 12-character ISIN (International Securities Identification
|
|
1232
|
+
* Number, ISO 6166) via its Luhn-style mod-10 check digit. The 2-letter
|
|
1233
|
+
* country code and 9-character alphanumeric security identifier are
|
|
1234
|
+
* transliterated (A=10 ... Z=35) into a numeric string before the Luhn
|
|
1235
|
+
* algorithm is applied, the same way credit card numbers are checksummed.
|
|
1236
|
+
*/
|
|
1237
|
+
declare function validateIsin(input: string): IsinValidationResult | {
|
|
1238
|
+
error: string;
|
|
1239
|
+
};
|
|
1240
|
+
interface MortgagePointsResult {
|
|
1241
|
+
pointsCost: number;
|
|
1242
|
+
monthlyPaymentWithoutPoints: number;
|
|
1243
|
+
monthlyPaymentWithPoints: number;
|
|
1244
|
+
monthlySavings: number;
|
|
1245
|
+
breakEvenMonths: number | null;
|
|
1246
|
+
totalInterestWithoutPoints: number;
|
|
1247
|
+
totalInterestWithPoints: number;
|
|
1248
|
+
totalInterestSavings: number;
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* Decide whether buying mortgage discount points is worth it: given a loan
|
|
1252
|
+
* amount, term, and base interest rate, compare that loan against the same
|
|
1253
|
+
* loan at a reduced rate bought with points costing a percentage of the
|
|
1254
|
+
* loan amount, and find the break-even month where cumulative monthly
|
|
1255
|
+
* savings recoup the points cost. Reuses calculateLoan for both the
|
|
1256
|
+
* no-points and with-points amortization.
|
|
1257
|
+
*/
|
|
1258
|
+
declare function calculateMortgagePoints(loanAmount: number, baseRatePercent: number, termMonths: number, pointsCostPercent: number, rateReductionPercent: number): MortgagePointsResult | {
|
|
1259
|
+
error: string;
|
|
1260
|
+
};
|
|
1198
1261
|
|
|
1199
1262
|
type units_AmortizationRow = AmortizationRow;
|
|
1200
1263
|
type units_AprApyDirection = AprApyDirection;
|
|
@@ -1265,6 +1328,7 @@ type units_IbanValidationResult = IbanValidationResult;
|
|
|
1265
1328
|
type units_IpConversion = IpConversion;
|
|
1266
1329
|
type units_IsbnFormat = IsbnFormat;
|
|
1267
1330
|
type units_IsbnResult = IsbnResult;
|
|
1331
|
+
type units_IsinValidationResult = IsinValidationResult;
|
|
1268
1332
|
type units_LoanBalanceInput = LoanBalanceInput;
|
|
1269
1333
|
type units_LoanBalanceResult = LoanBalanceResult;
|
|
1270
1334
|
type units_LoanRefinanceResult = LoanRefinanceResult;
|
|
@@ -1272,6 +1336,7 @@ type units_LoanResult = LoanResult;
|
|
|
1272
1336
|
type units_MarginMarkupField = MarginMarkupField;
|
|
1273
1337
|
type units_MarginMarkupInput = MarginMarkupInput;
|
|
1274
1338
|
type units_MarginMarkupResult = MarginMarkupResult;
|
|
1339
|
+
type units_MortgagePointsResult = MortgagePointsResult;
|
|
1275
1340
|
type units_MovingAveragePoint = MovingAveragePoint;
|
|
1276
1341
|
type units_MovingAverageResult = MovingAverageResult;
|
|
1277
1342
|
type units_NotationStyle = NotationStyle;
|
|
@@ -1309,6 +1374,7 @@ type units_VideoBitrateInput = VideoBitrateInput;
|
|
|
1309
1374
|
type units_VideoBitrateMode = VideoBitrateMode;
|
|
1310
1375
|
type units_VideoBitrateResult = VideoBitrateResult;
|
|
1311
1376
|
type units_ViewportConvertResult = ViewportConvertResult;
|
|
1377
|
+
type units_VinValidationResult = VinValidationResult;
|
|
1312
1378
|
declare const units_applySuccessiveDiscounts: typeof applySuccessiveDiscounts;
|
|
1313
1379
|
declare const units_autoFormat: typeof autoFormat;
|
|
1314
1380
|
declare const units_bumpVersion: typeof bumpVersion;
|
|
@@ -1332,6 +1398,7 @@ declare const units_calculateGpa: typeof calculateGpa;
|
|
|
1332
1398
|
declare const units_calculateLoan: typeof calculateLoan;
|
|
1333
1399
|
declare const units_calculateLoanRefinance: typeof calculateLoanRefinance;
|
|
1334
1400
|
declare const units_calculateMarginMarkup: typeof calculateMarginMarkup;
|
|
1401
|
+
declare const units_calculateMortgagePoints: typeof calculateMortgagePoints;
|
|
1335
1402
|
declare const units_calculateMovingAverages: typeof calculateMovingAverages;
|
|
1336
1403
|
declare const units_calculatePaybackPeriod: typeof calculatePaybackPeriod;
|
|
1337
1404
|
declare const units_calculatePercentageChange: typeof calculatePercentageChange;
|
|
@@ -1397,9 +1464,11 @@ declare const units_validateBarcode: typeof validateBarcode;
|
|
|
1397
1464
|
declare const units_validateCardNumber: typeof validateCardNumber;
|
|
1398
1465
|
declare const units_validateIban: typeof validateIban;
|
|
1399
1466
|
declare const units_validateIsbn: typeof validateIsbn;
|
|
1467
|
+
declare const units_validateIsin: typeof validateIsin;
|
|
1468
|
+
declare const units_validateVin: typeof validateVin;
|
|
1400
1469
|
declare const units_viewportToPx: typeof viewportToPx;
|
|
1401
1470
|
declare namespace units {
|
|
1402
|
-
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_DebtPayoffComparison as DebtPayoffComparison, type units_DebtPayoffInput as DebtPayoffInput, type units_DebtPayoffPlanResult as DebtPayoffPlanResult, type units_DebtPayoffScheduleEntry as DebtPayoffScheduleEntry, type units_DebtPayoffStrategy as DebtPayoffStrategy, type units_DebtPayoffStrategyResult as DebtPayoffStrategyResult, 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_LoanRefinanceResult as LoanRefinanceResult, 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_TaxEquivalentYieldDirection as TaxEquivalentYieldDirection, type units_TaxEquivalentYieldResult as TaxEquivalentYieldResult, 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_calculateLoanRefinance as calculateLoanRefinance, 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_calculateTaxEquivalentYield as calculateTaxEquivalentYield, 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_planDebtPayoff as planDebtPayoff, 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 };
|
|
1471
|
+
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_DebtPayoffComparison as DebtPayoffComparison, type units_DebtPayoffInput as DebtPayoffInput, type units_DebtPayoffPlanResult as DebtPayoffPlanResult, type units_DebtPayoffScheduleEntry as DebtPayoffScheduleEntry, type units_DebtPayoffStrategy as DebtPayoffStrategy, type units_DebtPayoffStrategyResult as DebtPayoffStrategyResult, 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_IsinValidationResult as IsinValidationResult, type units_LoanBalanceInput as LoanBalanceInput, type units_LoanBalanceResult as LoanBalanceResult, type units_LoanRefinanceResult as LoanRefinanceResult, type units_LoanResult as LoanResult, type units_MarginMarkupField as MarginMarkupField, type units_MarginMarkupInput as MarginMarkupInput, type units_MarginMarkupResult as MarginMarkupResult, type units_MortgagePointsResult as MortgagePointsResult, 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_TaxEquivalentYieldDirection as TaxEquivalentYieldDirection, type units_TaxEquivalentYieldResult as TaxEquivalentYieldResult, 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, type units_VinValidationResult as VinValidationResult, 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_calculateLoanRefinance as calculateLoanRefinance, units_calculateMarginMarkup as calculateMarginMarkup, units_calculateMortgagePoints as calculateMortgagePoints, 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_calculateTaxEquivalentYield as calculateTaxEquivalentYield, 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_planDebtPayoff as planDebtPayoff, 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_validateIsin as validateIsin, units_validateVin as validateVin, units_viewportToPx as viewportToPx };
|
|
1403
1472
|
}
|
|
1404
1473
|
|
|
1405
|
-
export { type DtiTier 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 DebtPayoffComparison as N, type DebtPayoffInput as O, type DebtPayoffPlanResult as P, type DebtPayoffScheduleEntry as Q, type DebtPayoffStrategy as R, type DebtPayoffStrategyResult as S, type DebtToIncomeRatioResult as T, type DepreciationMethod as U, type DepreciationResult as V, type DepreciationYear as W, type Dimensions as X, type DiscountField as Y, type DiscountInput as Z, type DiscountResult as _, type AprApyDirection as a,
|
|
1474
|
+
export { type DtiTier 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 DebtPayoffComparison as N, type DebtPayoffInput as O, type DebtPayoffPlanResult as P, type DebtPayoffScheduleEntry as Q, type DebtPayoffStrategy as R, type DebtPayoffStrategyResult as S, type DebtToIncomeRatioResult as T, type DepreciationMethod as U, type DepreciationResult as V, type DepreciationYear as W, type Dimensions as X, type DiscountField as Y, type DiscountInput as Z, type DiscountResult as _, type AprApyDirection as a, applySuccessiveDiscounts as a$, type EmiResult as a0, type EmiTenureUnit as a1, type EmiYearlyBreakdownRow as a2, type ExtraPaymentPayoffResult as a3, type FilePermissions as a4, type FormatOptions as a5, type FreelancerRateInput as a6, type FreelancerRateResult as a7, GPA_GRADE_POINTS as a8, type GpaCourse as a9, type RoiResult as aA, type RuleOf72Direction as aB, type RuleOf72Result as aC, type SavingsGoalInput as aD, type SavingsGoalMode as aE, type SavingsGoalResult as aF, type SemverVersion as aG, type SimpleInterestResult as aH, type SubnetInfo as aI, type SuccessiveDiscountResult as aJ, type SuccessiveDiscountStep as aK, type TaxDirection as aL, type TaxEquivalentYieldDirection as aM, type TaxEquivalentYieldResult as aN, type TaxResult as aO, type TimeValueDirection as aP, type TimeValueResult as aQ, type TipSplitResult as aR, USD_DENOMINATIONS as aS, type UnitPriceItem as aT, type UnitPriceResult as aU, type UtilizationTier as aV, type VideoBitrateInput as aW, type VideoBitrateMode as aX, type VideoBitrateResult as aY, type ViewportConvertResult as aZ, type VinValidationResult as a_, type GpaCourseResult as aa, type GpaResult as ab, type IbanValidationResult as ac, type IpConversion as ad, type IsbnFormat as ae, type IsbnResult as af, type IsinValidationResult as ag, type LoanBalanceInput as ah, type LoanBalanceResult as ai, type LoanRefinanceResult as aj, type LoanResult as ak, type MarginMarkupField as al, type MarginMarkupInput as am, type MarginMarkupResult as an, type MortgagePointsResult as ao, type MovingAveragePoint as ap, type MovingAverageResult as aq, type NotationStyle as ar, type NumberBase as as, type PaybackPeriodInput as at, type PaybackPeriodResult as au, type PercentChangeDirection as av, type PercentageChangeResult as aw, type Permission as ax, type PxConvertResult as ay, type RoiInput as az, type AprApyResult as b, marginToMarkup as b$, autoFormat as b0, bumpVersion as b1, calcAspectRatio as b2, calcSubnet as b3, calculateBlendedLoanRate as b4, calculateBreakEven as b5, calculateCashBreakdown as b6, calculateCashRounding as b7, calculateCdMaturity as b8, calculateChange as b9, compareUnitPrices as bA, convert as bB, convertAprApy as bC, convertBytes as bD, convertIp as bE, coverBox as bF, decimalToIp as bG, decimalToIpCidr as bH, describePermissions as bI, fitIntoBox as bJ, formatNumber as bK, formatValue as bL, formatVwValue as bM, formatWithSeparator as bN, gcd as bO, ipFromBinary as bP, ipFromDecimal as bQ, ipFromHex as bR, ipToBinary as bS, ipToDecimal as bT, ipToDecimalCidr as bU, ipToHex as bV, ipToOctal as bW, isValid as bX, isValidCidr as bY, isValidIp as bZ, isValidIpv4 as b_, calculateCompoundInterest as ba, calculateCreditUtilization as bb, calculateDebtToIncomeRatio as bc, calculateDepreciationSchedule as bd, calculateDiscount as be, calculateEmi as bf, calculateExtraPaymentPayoff as bg, calculateFreelancerRate as bh, calculateGpa as bi, calculateLoan as bj, calculateLoanRefinance as bk, calculateMarginMarkup as bl, calculateMortgagePoints as bm, calculateMovingAverages as bn, calculatePaybackPeriod as bo, calculatePercentageChange as bp, calculateRoi as bq, calculateRuleOf72 as br, calculateSavingsGoal as bs, calculateSimpleInterest as bt, calculateTax as bu, calculateTaxEquivalentYield as bv, calculateTimeValue as bw, calculateTipSplit as bx, calculateVideoBitrate as by, compareSemver as bz, type AspectRatioResult as c, markupToMargin as c0, octalToPermissions as c1, parseFileSize as c2, parseInput as c3, parseNumberString as c4, parseSemver as c5, permissionsToChmod as c6, permissionsToOctal as c7, permissionsToSymbolic as c8, planDebtPayoff as c9, ptToPx as ca, pxToAll as cb, pxToViewport as cc, remToPx as cd, satisfiesRange as ce, scaleByHeight as cf, scaleByWidth as cg, sortVersions as ch, splitSubnet as ci, symbolicToPermissions as cj, validateBarcode as ck, validateCardNumber as cl, validateIban as cm, validateIsbn as cn, validateIsin as co, validateVin as cp, viewportToPx as cq, 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 };
|
|
@@ -41,6 +41,9 @@
|
|
|
41
41
|
* - freelancer-rate-calculator : calculateFreelancerRate
|
|
42
42
|
* - debt-payoff-planner : planDebtPayoff
|
|
43
43
|
* - tax-equivalent-yield-calculator : calculateTaxEquivalentYield
|
|
44
|
+
* - vin-validator : validateVin
|
|
45
|
+
* - isin-validator : validateIsin
|
|
46
|
+
* - mortgage-points-calculator : calculateMortgagePoints
|
|
44
47
|
*/
|
|
45
48
|
interface PxConvertResult {
|
|
46
49
|
px: number;
|
|
@@ -1195,6 +1198,66 @@ interface TaxEquivalentYieldResult {
|
|
|
1195
1198
|
declare function calculateTaxEquivalentYield(inputYieldPercent: number, federalTaxRatePercent: number, stateTaxRatePercent: number | undefined, direction: TaxEquivalentYieldDirection): TaxEquivalentYieldResult | {
|
|
1196
1199
|
error: string;
|
|
1197
1200
|
};
|
|
1201
|
+
interface VinValidationResult {
|
|
1202
|
+
valid: boolean;
|
|
1203
|
+
vin: string;
|
|
1204
|
+
checkDigit: string;
|
|
1205
|
+
expectedCheckDigit: string;
|
|
1206
|
+
wmi: string;
|
|
1207
|
+
vds: string;
|
|
1208
|
+
vis: string;
|
|
1209
|
+
}
|
|
1210
|
+
/**
|
|
1211
|
+
* Validate a 17-character VIN via the ISO 3779 / NHTSA weighted mod-11
|
|
1212
|
+
* check digit at position 9, and split it into its World Manufacturer
|
|
1213
|
+
* Identifier (WMI), Vehicle Descriptor Section (VDS), and Vehicle
|
|
1214
|
+
* Identifier Section (VIS). Does not decode make, model, or model year,
|
|
1215
|
+
* since that requires manufacturer-specific and non-deterministic lookup
|
|
1216
|
+
* tables beyond a pure checksum.
|
|
1217
|
+
*/
|
|
1218
|
+
declare function validateVin(input: string): VinValidationResult | {
|
|
1219
|
+
error: string;
|
|
1220
|
+
};
|
|
1221
|
+
interface IsinValidationResult {
|
|
1222
|
+
valid: boolean;
|
|
1223
|
+
isin: string;
|
|
1224
|
+
countryCode: string;
|
|
1225
|
+
securityIdentifier: string;
|
|
1226
|
+
checkDigit: number;
|
|
1227
|
+
expectedCheckDigit: number;
|
|
1228
|
+
formatted: string;
|
|
1229
|
+
}
|
|
1230
|
+
/**
|
|
1231
|
+
* Validate a 12-character ISIN (International Securities Identification
|
|
1232
|
+
* Number, ISO 6166) via its Luhn-style mod-10 check digit. The 2-letter
|
|
1233
|
+
* country code and 9-character alphanumeric security identifier are
|
|
1234
|
+
* transliterated (A=10 ... Z=35) into a numeric string before the Luhn
|
|
1235
|
+
* algorithm is applied, the same way credit card numbers are checksummed.
|
|
1236
|
+
*/
|
|
1237
|
+
declare function validateIsin(input: string): IsinValidationResult | {
|
|
1238
|
+
error: string;
|
|
1239
|
+
};
|
|
1240
|
+
interface MortgagePointsResult {
|
|
1241
|
+
pointsCost: number;
|
|
1242
|
+
monthlyPaymentWithoutPoints: number;
|
|
1243
|
+
monthlyPaymentWithPoints: number;
|
|
1244
|
+
monthlySavings: number;
|
|
1245
|
+
breakEvenMonths: number | null;
|
|
1246
|
+
totalInterestWithoutPoints: number;
|
|
1247
|
+
totalInterestWithPoints: number;
|
|
1248
|
+
totalInterestSavings: number;
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* Decide whether buying mortgage discount points is worth it: given a loan
|
|
1252
|
+
* amount, term, and base interest rate, compare that loan against the same
|
|
1253
|
+
* loan at a reduced rate bought with points costing a percentage of the
|
|
1254
|
+
* loan amount, and find the break-even month where cumulative monthly
|
|
1255
|
+
* savings recoup the points cost. Reuses calculateLoan for both the
|
|
1256
|
+
* no-points and with-points amortization.
|
|
1257
|
+
*/
|
|
1258
|
+
declare function calculateMortgagePoints(loanAmount: number, baseRatePercent: number, termMonths: number, pointsCostPercent: number, rateReductionPercent: number): MortgagePointsResult | {
|
|
1259
|
+
error: string;
|
|
1260
|
+
};
|
|
1198
1261
|
|
|
1199
1262
|
type units_AmortizationRow = AmortizationRow;
|
|
1200
1263
|
type units_AprApyDirection = AprApyDirection;
|
|
@@ -1265,6 +1328,7 @@ type units_IbanValidationResult = IbanValidationResult;
|
|
|
1265
1328
|
type units_IpConversion = IpConversion;
|
|
1266
1329
|
type units_IsbnFormat = IsbnFormat;
|
|
1267
1330
|
type units_IsbnResult = IsbnResult;
|
|
1331
|
+
type units_IsinValidationResult = IsinValidationResult;
|
|
1268
1332
|
type units_LoanBalanceInput = LoanBalanceInput;
|
|
1269
1333
|
type units_LoanBalanceResult = LoanBalanceResult;
|
|
1270
1334
|
type units_LoanRefinanceResult = LoanRefinanceResult;
|
|
@@ -1272,6 +1336,7 @@ type units_LoanResult = LoanResult;
|
|
|
1272
1336
|
type units_MarginMarkupField = MarginMarkupField;
|
|
1273
1337
|
type units_MarginMarkupInput = MarginMarkupInput;
|
|
1274
1338
|
type units_MarginMarkupResult = MarginMarkupResult;
|
|
1339
|
+
type units_MortgagePointsResult = MortgagePointsResult;
|
|
1275
1340
|
type units_MovingAveragePoint = MovingAveragePoint;
|
|
1276
1341
|
type units_MovingAverageResult = MovingAverageResult;
|
|
1277
1342
|
type units_NotationStyle = NotationStyle;
|
|
@@ -1309,6 +1374,7 @@ type units_VideoBitrateInput = VideoBitrateInput;
|
|
|
1309
1374
|
type units_VideoBitrateMode = VideoBitrateMode;
|
|
1310
1375
|
type units_VideoBitrateResult = VideoBitrateResult;
|
|
1311
1376
|
type units_ViewportConvertResult = ViewportConvertResult;
|
|
1377
|
+
type units_VinValidationResult = VinValidationResult;
|
|
1312
1378
|
declare const units_applySuccessiveDiscounts: typeof applySuccessiveDiscounts;
|
|
1313
1379
|
declare const units_autoFormat: typeof autoFormat;
|
|
1314
1380
|
declare const units_bumpVersion: typeof bumpVersion;
|
|
@@ -1332,6 +1398,7 @@ declare const units_calculateGpa: typeof calculateGpa;
|
|
|
1332
1398
|
declare const units_calculateLoan: typeof calculateLoan;
|
|
1333
1399
|
declare const units_calculateLoanRefinance: typeof calculateLoanRefinance;
|
|
1334
1400
|
declare const units_calculateMarginMarkup: typeof calculateMarginMarkup;
|
|
1401
|
+
declare const units_calculateMortgagePoints: typeof calculateMortgagePoints;
|
|
1335
1402
|
declare const units_calculateMovingAverages: typeof calculateMovingAverages;
|
|
1336
1403
|
declare const units_calculatePaybackPeriod: typeof calculatePaybackPeriod;
|
|
1337
1404
|
declare const units_calculatePercentageChange: typeof calculatePercentageChange;
|
|
@@ -1397,9 +1464,11 @@ declare const units_validateBarcode: typeof validateBarcode;
|
|
|
1397
1464
|
declare const units_validateCardNumber: typeof validateCardNumber;
|
|
1398
1465
|
declare const units_validateIban: typeof validateIban;
|
|
1399
1466
|
declare const units_validateIsbn: typeof validateIsbn;
|
|
1467
|
+
declare const units_validateIsin: typeof validateIsin;
|
|
1468
|
+
declare const units_validateVin: typeof validateVin;
|
|
1400
1469
|
declare const units_viewportToPx: typeof viewportToPx;
|
|
1401
1470
|
declare namespace units {
|
|
1402
|
-
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_DebtPayoffComparison as DebtPayoffComparison, type units_DebtPayoffInput as DebtPayoffInput, type units_DebtPayoffPlanResult as DebtPayoffPlanResult, type units_DebtPayoffScheduleEntry as DebtPayoffScheduleEntry, type units_DebtPayoffStrategy as DebtPayoffStrategy, type units_DebtPayoffStrategyResult as DebtPayoffStrategyResult, 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_LoanRefinanceResult as LoanRefinanceResult, 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_TaxEquivalentYieldDirection as TaxEquivalentYieldDirection, type units_TaxEquivalentYieldResult as TaxEquivalentYieldResult, 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_calculateLoanRefinance as calculateLoanRefinance, 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_calculateTaxEquivalentYield as calculateTaxEquivalentYield, 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_planDebtPayoff as planDebtPayoff, 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 };
|
|
1471
|
+
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_DebtPayoffComparison as DebtPayoffComparison, type units_DebtPayoffInput as DebtPayoffInput, type units_DebtPayoffPlanResult as DebtPayoffPlanResult, type units_DebtPayoffScheduleEntry as DebtPayoffScheduleEntry, type units_DebtPayoffStrategy as DebtPayoffStrategy, type units_DebtPayoffStrategyResult as DebtPayoffStrategyResult, 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_IsinValidationResult as IsinValidationResult, type units_LoanBalanceInput as LoanBalanceInput, type units_LoanBalanceResult as LoanBalanceResult, type units_LoanRefinanceResult as LoanRefinanceResult, type units_LoanResult as LoanResult, type units_MarginMarkupField as MarginMarkupField, type units_MarginMarkupInput as MarginMarkupInput, type units_MarginMarkupResult as MarginMarkupResult, type units_MortgagePointsResult as MortgagePointsResult, 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_TaxEquivalentYieldDirection as TaxEquivalentYieldDirection, type units_TaxEquivalentYieldResult as TaxEquivalentYieldResult, 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, type units_VinValidationResult as VinValidationResult, 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_calculateLoanRefinance as calculateLoanRefinance, units_calculateMarginMarkup as calculateMarginMarkup, units_calculateMortgagePoints as calculateMortgagePoints, 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_calculateTaxEquivalentYield as calculateTaxEquivalentYield, 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_planDebtPayoff as planDebtPayoff, 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_validateIsin as validateIsin, units_validateVin as validateVin, units_viewportToPx as viewportToPx };
|
|
1403
1472
|
}
|
|
1404
1473
|
|
|
1405
|
-
export { type DtiTier 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 DebtPayoffComparison as N, type DebtPayoffInput as O, type DebtPayoffPlanResult as P, type DebtPayoffScheduleEntry as Q, type DebtPayoffStrategy as R, type DebtPayoffStrategyResult as S, type DebtToIncomeRatioResult as T, type DepreciationMethod as U, type DepreciationResult as V, type DepreciationYear as W, type Dimensions as X, type DiscountField as Y, type DiscountInput as Z, type DiscountResult as _, type AprApyDirection as a,
|
|
1474
|
+
export { type DtiTier 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 DebtPayoffComparison as N, type DebtPayoffInput as O, type DebtPayoffPlanResult as P, type DebtPayoffScheduleEntry as Q, type DebtPayoffStrategy as R, type DebtPayoffStrategyResult as S, type DebtToIncomeRatioResult as T, type DepreciationMethod as U, type DepreciationResult as V, type DepreciationYear as W, type Dimensions as X, type DiscountField as Y, type DiscountInput as Z, type DiscountResult as _, type AprApyDirection as a, applySuccessiveDiscounts as a$, type EmiResult as a0, type EmiTenureUnit as a1, type EmiYearlyBreakdownRow as a2, type ExtraPaymentPayoffResult as a3, type FilePermissions as a4, type FormatOptions as a5, type FreelancerRateInput as a6, type FreelancerRateResult as a7, GPA_GRADE_POINTS as a8, type GpaCourse as a9, type RoiResult as aA, type RuleOf72Direction as aB, type RuleOf72Result as aC, type SavingsGoalInput as aD, type SavingsGoalMode as aE, type SavingsGoalResult as aF, type SemverVersion as aG, type SimpleInterestResult as aH, type SubnetInfo as aI, type SuccessiveDiscountResult as aJ, type SuccessiveDiscountStep as aK, type TaxDirection as aL, type TaxEquivalentYieldDirection as aM, type TaxEquivalentYieldResult as aN, type TaxResult as aO, type TimeValueDirection as aP, type TimeValueResult as aQ, type TipSplitResult as aR, USD_DENOMINATIONS as aS, type UnitPriceItem as aT, type UnitPriceResult as aU, type UtilizationTier as aV, type VideoBitrateInput as aW, type VideoBitrateMode as aX, type VideoBitrateResult as aY, type ViewportConvertResult as aZ, type VinValidationResult as a_, type GpaCourseResult as aa, type GpaResult as ab, type IbanValidationResult as ac, type IpConversion as ad, type IsbnFormat as ae, type IsbnResult as af, type IsinValidationResult as ag, type LoanBalanceInput as ah, type LoanBalanceResult as ai, type LoanRefinanceResult as aj, type LoanResult as ak, type MarginMarkupField as al, type MarginMarkupInput as am, type MarginMarkupResult as an, type MortgagePointsResult as ao, type MovingAveragePoint as ap, type MovingAverageResult as aq, type NotationStyle as ar, type NumberBase as as, type PaybackPeriodInput as at, type PaybackPeriodResult as au, type PercentChangeDirection as av, type PercentageChangeResult as aw, type Permission as ax, type PxConvertResult as ay, type RoiInput as az, type AprApyResult as b, marginToMarkup as b$, autoFormat as b0, bumpVersion as b1, calcAspectRatio as b2, calcSubnet as b3, calculateBlendedLoanRate as b4, calculateBreakEven as b5, calculateCashBreakdown as b6, calculateCashRounding as b7, calculateCdMaturity as b8, calculateChange as b9, compareUnitPrices as bA, convert as bB, convertAprApy as bC, convertBytes as bD, convertIp as bE, coverBox as bF, decimalToIp as bG, decimalToIpCidr as bH, describePermissions as bI, fitIntoBox as bJ, formatNumber as bK, formatValue as bL, formatVwValue as bM, formatWithSeparator as bN, gcd as bO, ipFromBinary as bP, ipFromDecimal as bQ, ipFromHex as bR, ipToBinary as bS, ipToDecimal as bT, ipToDecimalCidr as bU, ipToHex as bV, ipToOctal as bW, isValid as bX, isValidCidr as bY, isValidIp as bZ, isValidIpv4 as b_, calculateCompoundInterest as ba, calculateCreditUtilization as bb, calculateDebtToIncomeRatio as bc, calculateDepreciationSchedule as bd, calculateDiscount as be, calculateEmi as bf, calculateExtraPaymentPayoff as bg, calculateFreelancerRate as bh, calculateGpa as bi, calculateLoan as bj, calculateLoanRefinance as bk, calculateMarginMarkup as bl, calculateMortgagePoints as bm, calculateMovingAverages as bn, calculatePaybackPeriod as bo, calculatePercentageChange as bp, calculateRoi as bq, calculateRuleOf72 as br, calculateSavingsGoal as bs, calculateSimpleInterest as bt, calculateTax as bu, calculateTaxEquivalentYield as bv, calculateTimeValue as bw, calculateTipSplit as bx, calculateVideoBitrate as by, compareSemver as bz, type AspectRatioResult as c, markupToMargin as c0, octalToPermissions as c1, parseFileSize as c2, parseInput as c3, parseNumberString as c4, parseSemver as c5, permissionsToChmod as c6, permissionsToOctal as c7, permissionsToSymbolic as c8, planDebtPayoff as c9, ptToPx as ca, pxToAll as cb, pxToViewport as cc, remToPx as cd, satisfiesRange as ce, scaleByHeight as cf, scaleByWidth as cg, sortVersions as ch, splitSubnet as ci, symbolicToPermissions as cj, validateBarcode as ck, validateCardNumber as cl, validateIban as cm, validateIsbn as cn, validateIsin as co, validateVin as cp, viewportToPx as cq, 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.73.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",
|