@utilix-tech/sdk 0.57.0 → 0.60.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.
@@ -37,6 +37,7 @@
37
37
  * - cd-maturity-calculator : calculateCdMaturity
38
38
  * - depreciation-schedule-calculator : calculateDepreciationSchedule
39
39
  * - blended-loan-rate-calculator : calculateBlendedLoanRate
40
+ * - freelancer-rate-calculator : calculateFreelancerRate
40
41
  */
41
42
  interface PxConvertResult {
42
43
  px: number;
@@ -1056,6 +1057,34 @@ interface BlendedLoanRateResult {
1056
1057
  declare function calculateBlendedLoanRate(loans: LoanBalanceInput[]): BlendedLoanRateResult | {
1057
1058
  error: string;
1058
1059
  };
1060
+ interface FreelancerRateInput {
1061
+ targetAnnualIncome: number;
1062
+ billableHoursPerWeek: number;
1063
+ weeksPerYear: number;
1064
+ annualOverheadCosts?: number;
1065
+ profitMarginPercent?: number;
1066
+ }
1067
+ interface FreelancerRateResult {
1068
+ targetAnnualIncome: number;
1069
+ annualOverheadCosts: number;
1070
+ profitMarginPercent: number;
1071
+ annualBillableHours: number;
1072
+ requiredAnnualRevenue: number;
1073
+ hourlyRate: number;
1074
+ dailyRate: number;
1075
+ monthlyRevenueTarget: number;
1076
+ }
1077
+ /**
1078
+ * Solve for the minimum hourly rate a freelancer must charge to hit a target
1079
+ * annual take-home income, given billable hours per week, weeks actually
1080
+ * worked per year (after vacation, holidays, and unbillable time), annual
1081
+ * business overhead, and an optional profit margin/buffer applied on top.
1082
+ * Pure arithmetic: the revenue needed (income plus overhead, marked up by
1083
+ * the margin) divided by total billable hours across the year.
1084
+ */
1085
+ declare function calculateFreelancerRate(input: FreelancerRateInput): FreelancerRateResult | {
1086
+ error: string;
1087
+ };
1059
1088
 
1060
1089
  type units_AmortizationRow = AmortizationRow;
1061
1090
  type units_AprApyDirection = AprApyDirection;
@@ -1109,6 +1138,8 @@ type units_EmiTenureUnit = EmiTenureUnit;
1109
1138
  type units_EmiYearlyBreakdownRow = EmiYearlyBreakdownRow;
1110
1139
  type units_FilePermissions = FilePermissions;
1111
1140
  type units_FormatOptions = FormatOptions;
1141
+ type units_FreelancerRateInput = FreelancerRateInput;
1142
+ type units_FreelancerRateResult = FreelancerRateResult;
1112
1143
  declare const units_GPA_GRADE_POINTS: typeof GPA_GRADE_POINTS;
1113
1144
  type units_GpaCourse = GpaCourse;
1114
1145
  type units_GpaCourseResult = GpaCourseResult;
@@ -1175,6 +1206,7 @@ declare const units_calculateDebtToIncomeRatio: typeof calculateDebtToIncomeRati
1175
1206
  declare const units_calculateDepreciationSchedule: typeof calculateDepreciationSchedule;
1176
1207
  declare const units_calculateDiscount: typeof calculateDiscount;
1177
1208
  declare const units_calculateEmi: typeof calculateEmi;
1209
+ declare const units_calculateFreelancerRate: typeof calculateFreelancerRate;
1178
1210
  declare const units_calculateGpa: typeof calculateGpa;
1179
1211
  declare const units_calculateLoan: typeof calculateLoan;
1180
1212
  declare const units_calculateMarginMarkup: typeof calculateMarginMarkup;
@@ -1243,7 +1275,7 @@ declare const units_validateIban: typeof validateIban;
1243
1275
  declare const units_validateIsbn: typeof validateIsbn;
1244
1276
  declare const units_viewportToPx: typeof viewportToPx;
1245
1277
  declare namespace units {
1246
- 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, 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_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 };
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 };
1247
1279
  }
1248
1280
 
1249
- export { GPA_GRADE_POINTS 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 FilePermissions as Z, type FormatOptions as _, type AprApyDirection as a, calculateDiscount as a$, type GpaCourse as a0, type GpaCourseResult as a1, type GpaResult as a2, type IbanValidationResult as a3, type IpConversion as a4, type IsbnFormat as a5, type IsbnResult as a6, type LoanBalanceInput as a7, type LoanBalanceResult as a8, type LoanResult as a9, type TaxResult as aA, type TimeValueDirection as aB, type TimeValueResult as aC, type TipSplitResult as aD, USD_DENOMINATIONS as aE, type UnitPriceItem as aF, type UnitPriceResult as aG, type UtilizationTier as aH, type VideoBitrateInput as aI, type VideoBitrateMode as aJ, type VideoBitrateResult as aK, type ViewportConvertResult as aL, applySuccessiveDiscounts as aM, autoFormat as aN, bumpVersion as aO, calcAspectRatio as aP, calcSubnet as aQ, calculateBlendedLoanRate as aR, calculateBreakEven as aS, calculateCashBreakdown as aT, calculateCashRounding as aU, calculateCdMaturity as aV, calculateChange as aW, calculateCompoundInterest as aX, calculateCreditUtilization as aY, calculateDebtToIncomeRatio as aZ, calculateDepreciationSchedule as a_, type MarginMarkupField as aa, type MarginMarkupInput as ab, type MarginMarkupResult as ac, type MovingAveragePoint as ad, type MovingAverageResult as ae, type NotationStyle as af, type NumberBase as ag, type PaybackPeriodInput as ah, type PaybackPeriodResult as ai, type PercentChangeDirection as aj, type PercentageChangeResult as ak, type Permission as al, type PxConvertResult as am, type RoiInput as an, type RoiResult as ao, type RuleOf72Direction as ap, type RuleOf72Result as aq, type SavingsGoalInput as ar, type SavingsGoalMode as as, type SavingsGoalResult as at, type SemverVersion as au, type SimpleInterestResult as av, type SubnetInfo as aw, type SuccessiveDiscountResult as ax, type SuccessiveDiscountStep as ay, type TaxDirection as az, type AprApyResult as b, validateBarcode as b$, calculateEmi as b0, calculateGpa as b1, calculateLoan as b2, calculateMarginMarkup as b3, calculateMovingAverages as b4, calculatePaybackPeriod as b5, calculatePercentageChange as b6, calculateRoi as b7, calculateRuleOf72 as b8, calculateSavingsGoal as b9, ipToDecimalCidr as bA, ipToHex as bB, ipToOctal as bC, isValid as bD, isValidCidr as bE, isValidIp as bF, isValidIpv4 as bG, marginToMarkup as bH, markupToMargin as bI, octalToPermissions as bJ, parseFileSize as bK, parseInput as bL, parseNumberString as bM, parseSemver as bN, permissionsToChmod as bO, permissionsToOctal as bP, permissionsToSymbolic as bQ, ptToPx as bR, pxToAll as bS, pxToViewport as bT, remToPx as bU, satisfiesRange as bV, scaleByHeight as bW, scaleByWidth as bX, sortVersions as bY, splitSubnet as bZ, symbolicToPermissions as b_, calculateSimpleInterest as ba, calculateTax as bb, calculateTimeValue as bc, calculateTipSplit as bd, calculateVideoBitrate as be, compareSemver as bf, compareUnitPrices as bg, convert as bh, convertAprApy as bi, convertBytes as bj, convertIp as bk, coverBox as bl, decimalToIp as bm, decimalToIpCidr as bn, describePermissions as bo, fitIntoBox as bp, formatNumber as bq, formatValue as br, formatVwValue as bs, formatWithSeparator as bt, gcd as bu, ipFromBinary as bv, ipFromDecimal as bw, ipFromHex as bx, ipToBinary as by, ipToDecimal as bz, type AspectRatioResult as c, validateCardNumber as c0, validateIban as c1, validateIsbn as c2, viewportToPx as c3, 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 };
1281
+ export { type FreelancerRateInput 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 FilePermissions as Z, type FormatOptions as _, type AprApyDirection as a, calculateDebtToIncomeRatio as a$, type FreelancerRateResult as a0, GPA_GRADE_POINTS as a1, type GpaCourse as a2, type GpaCourseResult as a3, type GpaResult as a4, type IbanValidationResult as a5, type IpConversion as a6, type IsbnFormat as a7, type IsbnResult as a8, type LoanBalanceInput as a9, type SuccessiveDiscountStep as aA, type TaxDirection as aB, type TaxResult as aC, type TimeValueDirection as aD, type TimeValueResult as aE, type TipSplitResult as aF, USD_DENOMINATIONS as aG, type UnitPriceItem as aH, type UnitPriceResult as aI, type UtilizationTier as aJ, type VideoBitrateInput as aK, type VideoBitrateMode as aL, type VideoBitrateResult as aM, type ViewportConvertResult as aN, applySuccessiveDiscounts as aO, autoFormat as aP, bumpVersion as aQ, calcAspectRatio as aR, calcSubnet as aS, calculateBlendedLoanRate as aT, calculateBreakEven as aU, calculateCashBreakdown as aV, calculateCashRounding as aW, calculateCdMaturity as aX, calculateChange as aY, calculateCompoundInterest as aZ, calculateCreditUtilization as a_, type LoanBalanceResult as aa, type LoanResult as ab, type MarginMarkupField as ac, type MarginMarkupInput as ad, type MarginMarkupResult as ae, type MovingAveragePoint as af, type MovingAverageResult as ag, type NotationStyle as ah, type NumberBase as ai, type PaybackPeriodInput as aj, type PaybackPeriodResult as ak, type PercentChangeDirection as al, type PercentageChangeResult as am, type Permission as an, type PxConvertResult as ao, type RoiInput as ap, type RoiResult as aq, type RuleOf72Direction as ar, type RuleOf72Result as as, type SavingsGoalInput as at, type SavingsGoalMode as au, type SavingsGoalResult as av, type SemverVersion as aw, type SimpleInterestResult as ax, type SubnetInfo as ay, type SuccessiveDiscountResult as az, type AprApyResult as b, sortVersions as b$, calculateDepreciationSchedule as b0, calculateDiscount as b1, calculateEmi as b2, calculateFreelancerRate as b3, calculateGpa as b4, calculateLoan as b5, calculateMarginMarkup as b6, calculateMovingAverages as b7, calculatePaybackPeriod as b8, calculatePercentageChange as b9, ipFromHex as bA, ipToBinary as bB, ipToDecimal as bC, ipToDecimalCidr as bD, ipToHex as bE, ipToOctal as bF, isValid as bG, isValidCidr as bH, isValidIp as bI, isValidIpv4 as bJ, marginToMarkup as bK, markupToMargin as bL, octalToPermissions as bM, parseFileSize as bN, parseInput as bO, parseNumberString as bP, parseSemver as bQ, permissionsToChmod as bR, permissionsToOctal as bS, permissionsToSymbolic as bT, ptToPx as bU, pxToAll as bV, pxToViewport as bW, remToPx as bX, satisfiesRange as bY, scaleByHeight as bZ, scaleByWidth as b_, calculateRoi as ba, calculateRuleOf72 as bb, calculateSavingsGoal as bc, calculateSimpleInterest as bd, calculateTax as be, calculateTimeValue as bf, calculateTipSplit as bg, calculateVideoBitrate as bh, compareSemver as bi, compareUnitPrices as bj, convert as bk, convertAprApy as bl, convertBytes as bm, convertIp as bn, coverBox as bo, decimalToIp as bp, decimalToIpCidr as bq, describePermissions as br, fitIntoBox as bs, formatNumber as bt, formatValue as bu, formatVwValue as bv, formatWithSeparator as bw, gcd as bx, ipFromBinary as by, ipFromDecimal as bz, type AspectRatioResult as c, splitSubnet as c0, symbolicToPermissions as c1, validateBarcode as c2, validateCardNumber as c3, validateIban as c4, validateIsbn as c5, viewportToPx as c6, 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
+ * - freelancer-rate-calculator : calculateFreelancerRate
40
41
  */
41
42
  interface PxConvertResult {
42
43
  px: number;
@@ -1056,6 +1057,34 @@ interface BlendedLoanRateResult {
1056
1057
  declare function calculateBlendedLoanRate(loans: LoanBalanceInput[]): BlendedLoanRateResult | {
1057
1058
  error: string;
1058
1059
  };
1060
+ interface FreelancerRateInput {
1061
+ targetAnnualIncome: number;
1062
+ billableHoursPerWeek: number;
1063
+ weeksPerYear: number;
1064
+ annualOverheadCosts?: number;
1065
+ profitMarginPercent?: number;
1066
+ }
1067
+ interface FreelancerRateResult {
1068
+ targetAnnualIncome: number;
1069
+ annualOverheadCosts: number;
1070
+ profitMarginPercent: number;
1071
+ annualBillableHours: number;
1072
+ requiredAnnualRevenue: number;
1073
+ hourlyRate: number;
1074
+ dailyRate: number;
1075
+ monthlyRevenueTarget: number;
1076
+ }
1077
+ /**
1078
+ * Solve for the minimum hourly rate a freelancer must charge to hit a target
1079
+ * annual take-home income, given billable hours per week, weeks actually
1080
+ * worked per year (after vacation, holidays, and unbillable time), annual
1081
+ * business overhead, and an optional profit margin/buffer applied on top.
1082
+ * Pure arithmetic: the revenue needed (income plus overhead, marked up by
1083
+ * the margin) divided by total billable hours across the year.
1084
+ */
1085
+ declare function calculateFreelancerRate(input: FreelancerRateInput): FreelancerRateResult | {
1086
+ error: string;
1087
+ };
1059
1088
 
1060
1089
  type units_AmortizationRow = AmortizationRow;
1061
1090
  type units_AprApyDirection = AprApyDirection;
@@ -1109,6 +1138,8 @@ type units_EmiTenureUnit = EmiTenureUnit;
1109
1138
  type units_EmiYearlyBreakdownRow = EmiYearlyBreakdownRow;
1110
1139
  type units_FilePermissions = FilePermissions;
1111
1140
  type units_FormatOptions = FormatOptions;
1141
+ type units_FreelancerRateInput = FreelancerRateInput;
1142
+ type units_FreelancerRateResult = FreelancerRateResult;
1112
1143
  declare const units_GPA_GRADE_POINTS: typeof GPA_GRADE_POINTS;
1113
1144
  type units_GpaCourse = GpaCourse;
1114
1145
  type units_GpaCourseResult = GpaCourseResult;
@@ -1175,6 +1206,7 @@ declare const units_calculateDebtToIncomeRatio: typeof calculateDebtToIncomeRati
1175
1206
  declare const units_calculateDepreciationSchedule: typeof calculateDepreciationSchedule;
1176
1207
  declare const units_calculateDiscount: typeof calculateDiscount;
1177
1208
  declare const units_calculateEmi: typeof calculateEmi;
1209
+ declare const units_calculateFreelancerRate: typeof calculateFreelancerRate;
1178
1210
  declare const units_calculateGpa: typeof calculateGpa;
1179
1211
  declare const units_calculateLoan: typeof calculateLoan;
1180
1212
  declare const units_calculateMarginMarkup: typeof calculateMarginMarkup;
@@ -1243,7 +1275,7 @@ declare const units_validateIban: typeof validateIban;
1243
1275
  declare const units_validateIsbn: typeof validateIsbn;
1244
1276
  declare const units_viewportToPx: typeof viewportToPx;
1245
1277
  declare namespace units {
1246
- 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, 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_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 };
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 };
1247
1279
  }
1248
1280
 
1249
- export { GPA_GRADE_POINTS 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 FilePermissions as Z, type FormatOptions as _, type AprApyDirection as a, calculateDiscount as a$, type GpaCourse as a0, type GpaCourseResult as a1, type GpaResult as a2, type IbanValidationResult as a3, type IpConversion as a4, type IsbnFormat as a5, type IsbnResult as a6, type LoanBalanceInput as a7, type LoanBalanceResult as a8, type LoanResult as a9, type TaxResult as aA, type TimeValueDirection as aB, type TimeValueResult as aC, type TipSplitResult as aD, USD_DENOMINATIONS as aE, type UnitPriceItem as aF, type UnitPriceResult as aG, type UtilizationTier as aH, type VideoBitrateInput as aI, type VideoBitrateMode as aJ, type VideoBitrateResult as aK, type ViewportConvertResult as aL, applySuccessiveDiscounts as aM, autoFormat as aN, bumpVersion as aO, calcAspectRatio as aP, calcSubnet as aQ, calculateBlendedLoanRate as aR, calculateBreakEven as aS, calculateCashBreakdown as aT, calculateCashRounding as aU, calculateCdMaturity as aV, calculateChange as aW, calculateCompoundInterest as aX, calculateCreditUtilization as aY, calculateDebtToIncomeRatio as aZ, calculateDepreciationSchedule as a_, type MarginMarkupField as aa, type MarginMarkupInput as ab, type MarginMarkupResult as ac, type MovingAveragePoint as ad, type MovingAverageResult as ae, type NotationStyle as af, type NumberBase as ag, type PaybackPeriodInput as ah, type PaybackPeriodResult as ai, type PercentChangeDirection as aj, type PercentageChangeResult as ak, type Permission as al, type PxConvertResult as am, type RoiInput as an, type RoiResult as ao, type RuleOf72Direction as ap, type RuleOf72Result as aq, type SavingsGoalInput as ar, type SavingsGoalMode as as, type SavingsGoalResult as at, type SemverVersion as au, type SimpleInterestResult as av, type SubnetInfo as aw, type SuccessiveDiscountResult as ax, type SuccessiveDiscountStep as ay, type TaxDirection as az, type AprApyResult as b, validateBarcode as b$, calculateEmi as b0, calculateGpa as b1, calculateLoan as b2, calculateMarginMarkup as b3, calculateMovingAverages as b4, calculatePaybackPeriod as b5, calculatePercentageChange as b6, calculateRoi as b7, calculateRuleOf72 as b8, calculateSavingsGoal as b9, ipToDecimalCidr as bA, ipToHex as bB, ipToOctal as bC, isValid as bD, isValidCidr as bE, isValidIp as bF, isValidIpv4 as bG, marginToMarkup as bH, markupToMargin as bI, octalToPermissions as bJ, parseFileSize as bK, parseInput as bL, parseNumberString as bM, parseSemver as bN, permissionsToChmod as bO, permissionsToOctal as bP, permissionsToSymbolic as bQ, ptToPx as bR, pxToAll as bS, pxToViewport as bT, remToPx as bU, satisfiesRange as bV, scaleByHeight as bW, scaleByWidth as bX, sortVersions as bY, splitSubnet as bZ, symbolicToPermissions as b_, calculateSimpleInterest as ba, calculateTax as bb, calculateTimeValue as bc, calculateTipSplit as bd, calculateVideoBitrate as be, compareSemver as bf, compareUnitPrices as bg, convert as bh, convertAprApy as bi, convertBytes as bj, convertIp as bk, coverBox as bl, decimalToIp as bm, decimalToIpCidr as bn, describePermissions as bo, fitIntoBox as bp, formatNumber as bq, formatValue as br, formatVwValue as bs, formatWithSeparator as bt, gcd as bu, ipFromBinary as bv, ipFromDecimal as bw, ipFromHex as bx, ipToBinary as by, ipToDecimal as bz, type AspectRatioResult as c, validateCardNumber as c0, validateIban as c1, validateIsbn as c2, viewportToPx as c3, 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 };
1281
+ export { type FreelancerRateInput 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 FilePermissions as Z, type FormatOptions as _, type AprApyDirection as a, calculateDebtToIncomeRatio as a$, type FreelancerRateResult as a0, GPA_GRADE_POINTS as a1, type GpaCourse as a2, type GpaCourseResult as a3, type GpaResult as a4, type IbanValidationResult as a5, type IpConversion as a6, type IsbnFormat as a7, type IsbnResult as a8, type LoanBalanceInput as a9, type SuccessiveDiscountStep as aA, type TaxDirection as aB, type TaxResult as aC, type TimeValueDirection as aD, type TimeValueResult as aE, type TipSplitResult as aF, USD_DENOMINATIONS as aG, type UnitPriceItem as aH, type UnitPriceResult as aI, type UtilizationTier as aJ, type VideoBitrateInput as aK, type VideoBitrateMode as aL, type VideoBitrateResult as aM, type ViewportConvertResult as aN, applySuccessiveDiscounts as aO, autoFormat as aP, bumpVersion as aQ, calcAspectRatio as aR, calcSubnet as aS, calculateBlendedLoanRate as aT, calculateBreakEven as aU, calculateCashBreakdown as aV, calculateCashRounding as aW, calculateCdMaturity as aX, calculateChange as aY, calculateCompoundInterest as aZ, calculateCreditUtilization as a_, type LoanBalanceResult as aa, type LoanResult as ab, type MarginMarkupField as ac, type MarginMarkupInput as ad, type MarginMarkupResult as ae, type MovingAveragePoint as af, type MovingAverageResult as ag, type NotationStyle as ah, type NumberBase as ai, type PaybackPeriodInput as aj, type PaybackPeriodResult as ak, type PercentChangeDirection as al, type PercentageChangeResult as am, type Permission as an, type PxConvertResult as ao, type RoiInput as ap, type RoiResult as aq, type RuleOf72Direction as ar, type RuleOf72Result as as, type SavingsGoalInput as at, type SavingsGoalMode as au, type SavingsGoalResult as av, type SemverVersion as aw, type SimpleInterestResult as ax, type SubnetInfo as ay, type SuccessiveDiscountResult as az, type AprApyResult as b, sortVersions as b$, calculateDepreciationSchedule as b0, calculateDiscount as b1, calculateEmi as b2, calculateFreelancerRate as b3, calculateGpa as b4, calculateLoan as b5, calculateMarginMarkup as b6, calculateMovingAverages as b7, calculatePaybackPeriod as b8, calculatePercentageChange as b9, ipFromHex as bA, ipToBinary as bB, ipToDecimal as bC, ipToDecimalCidr as bD, ipToHex as bE, ipToOctal as bF, isValid as bG, isValidCidr as bH, isValidIp as bI, isValidIpv4 as bJ, marginToMarkup as bK, markupToMargin as bL, octalToPermissions as bM, parseFileSize as bN, parseInput as bO, parseNumberString as bP, parseSemver as bQ, permissionsToChmod as bR, permissionsToOctal as bS, permissionsToSymbolic as bT, ptToPx as bU, pxToAll as bV, pxToViewport as bW, remToPx as bX, satisfiesRange as bY, scaleByHeight as bZ, scaleByWidth as b_, calculateRoi as ba, calculateRuleOf72 as bb, calculateSavingsGoal as bc, calculateSimpleInterest as bd, calculateTax as be, calculateTimeValue as bf, calculateTipSplit as bg, calculateVideoBitrate as bh, compareSemver as bi, compareUnitPrices as bj, convert as bk, convertAprApy as bl, convertBytes as bm, convertIp as bn, coverBox as bo, decimalToIp as bp, decimalToIpCidr as bq, describePermissions as br, fitIntoBox as bs, formatNumber as bt, formatValue as bu, formatVwValue as bv, formatWithSeparator as bw, gcd as bx, ipFromBinary as by, ipFromDecimal as bz, type AspectRatioResult as c, splitSubnet as c0, symbolicToPermissions as c1, validateBarcode as c2, validateCardNumber as c3, validateIban as c4, validateIsbn as c5, viewportToPx as c6, 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.57.0",
3
+ "version": "0.60.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",