@andrew_l/toolkit 0.3.3 → 0.3.4
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/dist/index.cjs +431 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +251 -170
- package/dist/index.d.mts +251 -170
- package/dist/index.d.ts +251 -170
- package/dist/index.mjs +429 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -781,6 +781,251 @@ declare function bigIntBytes(value: bigint): Uint8Array;
|
|
|
781
781
|
*/
|
|
782
782
|
declare function bigIntFromBytes(bytes: Uint8Array): bigint;
|
|
783
783
|
|
|
784
|
+
type Arrayable<T> = T[] | T;
|
|
785
|
+
|
|
786
|
+
type Awaitable<T> = Promise<T> | T;
|
|
787
|
+
|
|
788
|
+
type ArgumentsType<T> = T extends (...args: infer U) => any ? U : never;
|
|
789
|
+
|
|
790
|
+
type FunctionArgs<Args extends any[] = any[], Return = void> = (
|
|
791
|
+
...args: Args
|
|
792
|
+
) => Return;
|
|
793
|
+
|
|
794
|
+
type DeepPartial<T> = T extends Date
|
|
795
|
+
? T
|
|
796
|
+
: T extends object
|
|
797
|
+
? { [P in keyof T]?: DeepPartial<T[P]> }
|
|
798
|
+
: T;
|
|
799
|
+
|
|
800
|
+
type DeepReadonly<T> = T extends unknown[]
|
|
801
|
+
? Readonly<T>
|
|
802
|
+
: T extends object
|
|
803
|
+
? Readonly<{ [P in keyof T]: DeepReadonly<T[P]> }>
|
|
804
|
+
: Readonly<T>;
|
|
805
|
+
|
|
806
|
+
type AnyFunction = (...args: any[]) => any;
|
|
807
|
+
|
|
808
|
+
type Data = Record<string, unknown>;
|
|
809
|
+
|
|
810
|
+
type GenericObject = Record<string, any>;
|
|
811
|
+
|
|
812
|
+
type SelectOptions<T = any> = SelectOptionItem<T>[];
|
|
813
|
+
|
|
814
|
+
type OverwriteWith<T1, T2> =
|
|
815
|
+
IsAny<T2> extends true ? T1 : Omit<T1, keyof T2> & T2;
|
|
816
|
+
|
|
817
|
+
type IsAny<T> = boolean extends (T extends never ? true : false)
|
|
818
|
+
? true
|
|
819
|
+
: false;
|
|
820
|
+
|
|
821
|
+
type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* @example
|
|
825
|
+
* LiteralUnion<'foo' | 'bar', string>
|
|
826
|
+
*
|
|
827
|
+
* @see {@link https://github.com/microsoft/TypeScript/issues/29729}
|
|
828
|
+
*/
|
|
829
|
+
type LiteralUnion<Union, Type> = Union | (Type & Nothing);
|
|
830
|
+
|
|
831
|
+
interface Nothing {}
|
|
832
|
+
|
|
833
|
+
type ValuesOfObject<T> = T[keyof T];
|
|
834
|
+
|
|
835
|
+
type Fn = () => void;
|
|
836
|
+
|
|
837
|
+
type PromisifyFn<T extends AnyFunction> = (
|
|
838
|
+
...args: ArgumentsType<T>
|
|
839
|
+
) => Promise<ReturnType<T>>;
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* A time value, which can be a string (e.g., "HH:MM"),
|
|
843
|
+
* an object with `h` (hours) and `m` (minutes) properties, or a similar format
|
|
844
|
+
* that `createTimeObject` can parse.
|
|
845
|
+
*/
|
|
846
|
+
type TimeValue = TimeString | TimeObject;
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Represent time string in 24h format
|
|
850
|
+
*/
|
|
851
|
+
type TimeString = string;
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Represent time object in 24h format ("HH:MM")
|
|
855
|
+
*/
|
|
856
|
+
type TimeObject = {
|
|
857
|
+
/**
|
|
858
|
+
* Hour (0 - 23).
|
|
859
|
+
*/
|
|
860
|
+
h: number;
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* Minutes (0 - 59).
|
|
864
|
+
*/
|
|
865
|
+
m: number;
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* Represent date object
|
|
870
|
+
*/
|
|
871
|
+
type DateObject = {
|
|
872
|
+
/**
|
|
873
|
+
* The year of the date (e.g., 2024).
|
|
874
|
+
*/
|
|
875
|
+
year: number;
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* The month of the date (1 = January, 12 = December).
|
|
879
|
+
*/
|
|
880
|
+
month: number;
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* The day of the month (1-31).
|
|
884
|
+
*/
|
|
885
|
+
date: number;
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
interface ThemeConfig {
|
|
889
|
+
colors: {
|
|
890
|
+
[x: string]: Record<string, string>;
|
|
891
|
+
};
|
|
892
|
+
variables: {
|
|
893
|
+
[x: string]: Record<string, string | number>;
|
|
894
|
+
};
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
type Prettify<T> = {
|
|
898
|
+
[K in keyof T]: T[K];
|
|
899
|
+
} & {};
|
|
900
|
+
|
|
901
|
+
interface SelectOptionItem<T = any> {
|
|
902
|
+
text: string;
|
|
903
|
+
value: T;
|
|
904
|
+
props?: any;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
interface SelectOptionItem<T = any> {
|
|
908
|
+
text: string;
|
|
909
|
+
value: T;
|
|
910
|
+
props?: any;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
type Primitive =
|
|
914
|
+
| null
|
|
915
|
+
| undefined
|
|
916
|
+
| string
|
|
917
|
+
| number
|
|
918
|
+
| bigint
|
|
919
|
+
| boolean
|
|
920
|
+
| symbol;
|
|
921
|
+
|
|
922
|
+
type ExecResult<T extends Data = Data, K extends Data = Data> =
|
|
923
|
+
| ExecSuccess<T>
|
|
924
|
+
| ExecSkip<K>;
|
|
925
|
+
|
|
926
|
+
type ExecSuccess<T extends Data = Data> = {
|
|
927
|
+
success: true;
|
|
928
|
+
code: string;
|
|
929
|
+
reason?: string;
|
|
930
|
+
} & T;
|
|
931
|
+
|
|
932
|
+
type ExecSkip<T extends Data = Data> = {
|
|
933
|
+
skip: true;
|
|
934
|
+
code: string;
|
|
935
|
+
reason?: string;
|
|
936
|
+
} & T;
|
|
937
|
+
|
|
938
|
+
type ExecResultToSuccess<T> =
|
|
939
|
+
T extends ExecSuccess<infer X> ? ExecSuccess<X> : ExecSuccess;
|
|
940
|
+
|
|
941
|
+
type ExecResultToSkip<T> =
|
|
942
|
+
T extends ExecSkip<infer X> ? ExecSkip<X> : ExecSkip;
|
|
943
|
+
|
|
944
|
+
interface Logger {
|
|
945
|
+
info: (...args: unknown[]) => void;
|
|
946
|
+
warn: (...args: unknown[]) => void;
|
|
947
|
+
error: (...args: unknown[]) => void;
|
|
948
|
+
debug: (...args: unknown[]) => void;
|
|
949
|
+
log: (...args: unknown[]) => void;
|
|
950
|
+
extend: (...args: unknown[]) => void;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
declare namespace BitPack {
|
|
954
|
+
type Field = {
|
|
955
|
+
name: string;
|
|
956
|
+
bits: number;
|
|
957
|
+
take: Take;
|
|
958
|
+
};
|
|
959
|
+
type Options<TFields extends Field[]> = {
|
|
960
|
+
totalBits: number;
|
|
961
|
+
fields: TFields;
|
|
962
|
+
debug?: boolean;
|
|
963
|
+
optimize?: boolean;
|
|
964
|
+
};
|
|
965
|
+
type Take = 'low' | 'high';
|
|
966
|
+
type API<TFields extends string = string> = {
|
|
967
|
+
buffer: Fn.Buffer<TFields>;
|
|
968
|
+
number: Fn.Number<TFields>;
|
|
969
|
+
bigint: Fn.BigInt<TFields>;
|
|
970
|
+
bits: Fn.Bits<TFields>;
|
|
971
|
+
plan?: Plan[];
|
|
972
|
+
};
|
|
973
|
+
namespace Fn {
|
|
974
|
+
type Buffer<TFields extends string = string> = WithDebug<(data: FieldOptions<TFields>) => Uint8Array>;
|
|
975
|
+
type Number<TFields extends string = string> = WithDebug<(data: FieldOptions<TFields>) => number>;
|
|
976
|
+
type BigInt<TFields extends string = string> = WithDebug<(data: FieldOptions<TFields>) => bigint>;
|
|
977
|
+
type Bits<TFields extends string = string> = WithDebug<(data: FieldOptions<TFields>) => string>;
|
|
978
|
+
}
|
|
979
|
+
type WithDebug<T extends AnyFunction> = T & {
|
|
980
|
+
code?: string;
|
|
981
|
+
};
|
|
982
|
+
type ExtractFieldNames<T extends Field[]> = T[number]['name'];
|
|
983
|
+
type FieldOptions<T extends string> = {
|
|
984
|
+
[P in T]: number;
|
|
985
|
+
};
|
|
986
|
+
}
|
|
987
|
+
type Plan = {
|
|
988
|
+
object: 'set' | 'value';
|
|
989
|
+
container?: number;
|
|
990
|
+
bits?: number;
|
|
991
|
+
offset?: number;
|
|
992
|
+
value?: unknown;
|
|
993
|
+
child?: Plan;
|
|
994
|
+
};
|
|
995
|
+
declare function bitPack<const TFields extends BitPack.Field[], TFieldNames extends string = BitPack.ExtractFieldNames<TFields>>(options: BitPack.Options<TFields>): BitPack.API<TFieldNames>;
|
|
996
|
+
|
|
997
|
+
declare namespace BitUnpack {
|
|
998
|
+
type Field = {
|
|
999
|
+
name: string;
|
|
1000
|
+
bits: number;
|
|
1001
|
+
};
|
|
1002
|
+
type Options<TFields extends Field[]> = {
|
|
1003
|
+
totalBits: number;
|
|
1004
|
+
fields: TFields;
|
|
1005
|
+
debug?: boolean;
|
|
1006
|
+
};
|
|
1007
|
+
type API<TFields extends string = string> = {
|
|
1008
|
+
buffer: Fn.Buffer<TFields>;
|
|
1009
|
+
number: Fn.Number<TFields>;
|
|
1010
|
+
bigint: Fn.BigInt<TFields>;
|
|
1011
|
+
bits: Fn.Bits<TFields>;
|
|
1012
|
+
};
|
|
1013
|
+
namespace Fn {
|
|
1014
|
+
type Buffer<TFields extends string = string> = WithDebug<(data: Uint8Array) => FieldResult<TFields>>;
|
|
1015
|
+
type Number<TFields extends string = string> = WithDebug<(data: number) => FieldResult<TFields>>;
|
|
1016
|
+
type BigInt<TFields extends string = string> = WithDebug<(data: bigint) => FieldResult<TFields>>;
|
|
1017
|
+
type Bits<TFields extends string = string> = WithDebug<(data: string) => FieldResult<TFields>>;
|
|
1018
|
+
}
|
|
1019
|
+
type WithDebug<T extends AnyFunction> = T & {
|
|
1020
|
+
code?: string;
|
|
1021
|
+
};
|
|
1022
|
+
type ExtractFieldNames<T extends Field[]> = T[number]['name'];
|
|
1023
|
+
type FieldResult<T extends string> = {
|
|
1024
|
+
[P in T]: number;
|
|
1025
|
+
};
|
|
1026
|
+
}
|
|
1027
|
+
declare function bitUnpack<const TFields extends BitUnpack.Field[], TFieldNames extends string = BitUnpack.ExtractFieldNames<TFields>>(options: BitUnpack.Options<TFields>): BitUnpack.API<TFieldNames>;
|
|
1028
|
+
|
|
784
1029
|
type BytesToBase64Options = {
|
|
785
1030
|
/**
|
|
786
1031
|
* Specifies the encoding type.
|
|
@@ -1000,175 +1245,6 @@ declare function uint8ToUint16(value: Uint8Array): Uint16Array;
|
|
|
1000
1245
|
*/
|
|
1001
1246
|
declare function uint8ToUint32(value: Uint8Array): Uint32Array;
|
|
1002
1247
|
|
|
1003
|
-
type Arrayable<T> = T[] | T;
|
|
1004
|
-
|
|
1005
|
-
type Awaitable<T> = Promise<T> | T;
|
|
1006
|
-
|
|
1007
|
-
type ArgumentsType<T> = T extends (...args: infer U) => any ? U : never;
|
|
1008
|
-
|
|
1009
|
-
type FunctionArgs<Args extends any[] = any[], Return = void> = (
|
|
1010
|
-
...args: Args
|
|
1011
|
-
) => Return;
|
|
1012
|
-
|
|
1013
|
-
type DeepPartial<T> = T extends Date
|
|
1014
|
-
? T
|
|
1015
|
-
: T extends object
|
|
1016
|
-
? { [P in keyof T]?: DeepPartial<T[P]> }
|
|
1017
|
-
: T;
|
|
1018
|
-
|
|
1019
|
-
type DeepReadonly<T> = T extends unknown[]
|
|
1020
|
-
? Readonly<T>
|
|
1021
|
-
: T extends object
|
|
1022
|
-
? Readonly<{ [P in keyof T]: DeepReadonly<T[P]> }>
|
|
1023
|
-
: Readonly<T>;
|
|
1024
|
-
|
|
1025
|
-
type AnyFunction = (...args: any[]) => any;
|
|
1026
|
-
|
|
1027
|
-
type Data = Record<string, unknown>;
|
|
1028
|
-
|
|
1029
|
-
type GenericObject = Record<string, any>;
|
|
1030
|
-
|
|
1031
|
-
type SelectOptions<T = any> = SelectOptionItem<T>[];
|
|
1032
|
-
|
|
1033
|
-
type OverwriteWith<T1, T2> =
|
|
1034
|
-
IsAny<T2> extends true ? T1 : Omit<T1, keyof T2> & T2;
|
|
1035
|
-
|
|
1036
|
-
type IsAny<T> = boolean extends (T extends never ? true : false)
|
|
1037
|
-
? true
|
|
1038
|
-
: false;
|
|
1039
|
-
|
|
1040
|
-
type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
1041
|
-
|
|
1042
|
-
/**
|
|
1043
|
-
* @example
|
|
1044
|
-
* LiteralUnion<'foo' | 'bar', string>
|
|
1045
|
-
*
|
|
1046
|
-
* @see {@link https://github.com/microsoft/TypeScript/issues/29729}
|
|
1047
|
-
*/
|
|
1048
|
-
type LiteralUnion<Union, Type> = Union | (Type & Nothing);
|
|
1049
|
-
|
|
1050
|
-
interface Nothing {}
|
|
1051
|
-
|
|
1052
|
-
type ValuesOfObject<T> = T[keyof T];
|
|
1053
|
-
|
|
1054
|
-
type Fn = () => void;
|
|
1055
|
-
|
|
1056
|
-
type PromisifyFn<T extends AnyFunction> = (
|
|
1057
|
-
...args: ArgumentsType<T>
|
|
1058
|
-
) => Promise<ReturnType<T>>;
|
|
1059
|
-
|
|
1060
|
-
/**
|
|
1061
|
-
* A time value, which can be a string (e.g., "HH:MM"),
|
|
1062
|
-
* an object with `h` (hours) and `m` (minutes) properties, or a similar format
|
|
1063
|
-
* that `createTimeObject` can parse.
|
|
1064
|
-
*/
|
|
1065
|
-
type TimeValue = TimeString | TimeObject;
|
|
1066
|
-
|
|
1067
|
-
/**
|
|
1068
|
-
* Represent time string in 24h format
|
|
1069
|
-
*/
|
|
1070
|
-
type TimeString = string;
|
|
1071
|
-
|
|
1072
|
-
/**
|
|
1073
|
-
* Represent time object in 24h format ("HH:MM")
|
|
1074
|
-
*/
|
|
1075
|
-
type TimeObject = {
|
|
1076
|
-
/**
|
|
1077
|
-
* Hour (0 - 23).
|
|
1078
|
-
*/
|
|
1079
|
-
h: number;
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
* Minutes (0 - 59).
|
|
1083
|
-
*/
|
|
1084
|
-
m: number;
|
|
1085
|
-
};
|
|
1086
|
-
|
|
1087
|
-
/**
|
|
1088
|
-
* Represent date object
|
|
1089
|
-
*/
|
|
1090
|
-
type DateObject = {
|
|
1091
|
-
/**
|
|
1092
|
-
* The year of the date (e.g., 2024).
|
|
1093
|
-
*/
|
|
1094
|
-
year: number;
|
|
1095
|
-
|
|
1096
|
-
/**
|
|
1097
|
-
* The month of the date (1 = January, 12 = December).
|
|
1098
|
-
*/
|
|
1099
|
-
month: number;
|
|
1100
|
-
|
|
1101
|
-
/**
|
|
1102
|
-
* The day of the month (1-31).
|
|
1103
|
-
*/
|
|
1104
|
-
date: number;
|
|
1105
|
-
};
|
|
1106
|
-
|
|
1107
|
-
interface ThemeConfig {
|
|
1108
|
-
colors: {
|
|
1109
|
-
[x: string]: Record<string, string>;
|
|
1110
|
-
};
|
|
1111
|
-
variables: {
|
|
1112
|
-
[x: string]: Record<string, string | number>;
|
|
1113
|
-
};
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
type Prettify<T> = {
|
|
1117
|
-
[K in keyof T]: T[K];
|
|
1118
|
-
} & {};
|
|
1119
|
-
|
|
1120
|
-
interface SelectOptionItem<T = any> {
|
|
1121
|
-
text: string;
|
|
1122
|
-
value: T;
|
|
1123
|
-
props?: any;
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
interface SelectOptionItem<T = any> {
|
|
1127
|
-
text: string;
|
|
1128
|
-
value: T;
|
|
1129
|
-
props?: any;
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
type Primitive =
|
|
1133
|
-
| null
|
|
1134
|
-
| undefined
|
|
1135
|
-
| string
|
|
1136
|
-
| number
|
|
1137
|
-
| bigint
|
|
1138
|
-
| boolean
|
|
1139
|
-
| symbol;
|
|
1140
|
-
|
|
1141
|
-
type ExecResult<T extends Data = Data, K extends Data = Data> =
|
|
1142
|
-
| ExecSuccess<T>
|
|
1143
|
-
| ExecSkip<K>;
|
|
1144
|
-
|
|
1145
|
-
type ExecSuccess<T extends Data = Data> = {
|
|
1146
|
-
success: true;
|
|
1147
|
-
code: string;
|
|
1148
|
-
reason?: string;
|
|
1149
|
-
} & T;
|
|
1150
|
-
|
|
1151
|
-
type ExecSkip<T extends Data = Data> = {
|
|
1152
|
-
skip: true;
|
|
1153
|
-
code: string;
|
|
1154
|
-
reason?: string;
|
|
1155
|
-
} & T;
|
|
1156
|
-
|
|
1157
|
-
type ExecResultToSuccess<T> =
|
|
1158
|
-
T extends ExecSuccess<infer X> ? ExecSuccess<X> : ExecSuccess;
|
|
1159
|
-
|
|
1160
|
-
type ExecResultToSkip<T> =
|
|
1161
|
-
T extends ExecSkip<infer X> ? ExecSkip<X> : ExecSkip;
|
|
1162
|
-
|
|
1163
|
-
interface Logger {
|
|
1164
|
-
info: (...args: unknown[]) => void;
|
|
1165
|
-
warn: (...args: unknown[]) => void;
|
|
1166
|
-
error: (...args: unknown[]) => void;
|
|
1167
|
-
debug: (...args: unknown[]) => void;
|
|
1168
|
-
log: (...args: unknown[]) => void;
|
|
1169
|
-
extend: (...args: unknown[]) => void;
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
1248
|
interface ArgToKeyOptions {
|
|
1173
1249
|
/**
|
|
1174
1250
|
* Object key generation strategy.
|
|
@@ -2918,6 +2994,11 @@ declare function getMostSpecificPaths(keys: string[]): string[];
|
|
|
2918
2994
|
*/
|
|
2919
2995
|
declare function humanFileSize(bytes: number, digits?: number, withSpace?: boolean): string;
|
|
2920
2996
|
|
|
2997
|
+
type WithCode<T extends AnyFunction> = T & {
|
|
2998
|
+
code: string;
|
|
2999
|
+
};
|
|
3000
|
+
declare function createFunction<T extends AnyFunction>(fnName: string, code: string, ...args: any[]): WithCode<T>;
|
|
3001
|
+
|
|
2921
3002
|
interface DebounceOptions {
|
|
2922
3003
|
/**
|
|
2923
3004
|
* An optional AbortSignal to cancel the debounced function.
|
|
@@ -5742,4 +5823,4 @@ declare function wrapText(value: string, maxLength?: number): string;
|
|
|
5742
5823
|
*/
|
|
5743
5824
|
declare function toError<T>(value: T, unknownMessage?: string): T extends Error ? T : Error;
|
|
5744
5825
|
|
|
5745
|
-
export { type AnyFunction, AppError, type AppErrorOptions, type ArgumentsType, type Arrayable, AsyncIterableQueue, type Awaitable, type Base64ToBytesOptions, type BaseX, BrowserAssertionError, type BytesToBase64Options, CancellablePromise, type CatchErrorResult, Color, type ColorChannels, ColorParser, type Data, type DateObject, type DateObjectInput, type DebouncedFunction, type DeepPartial, type DeepReadonly, type Defer, instance as EJSON, EJSON as EJSONInstance, EJSONStream, type EJSONStreamOptions, type EJSONStreamOptionsWithPayload, type EJSONType, type EnvParser, type ExecResult, type ExecResultToSkip, type ExecResultToSuccess, type ExecSkip, type ExecSuccess, FindMean, FixedMap, FixedWeakMap,
|
|
5826
|
+
export { type AnyFunction, AppError, type AppErrorOptions, type ArgumentsType, type Arrayable, AsyncIterableQueue, type Awaitable, type Base64ToBytesOptions, type BaseX, BitPack, BitUnpack, BrowserAssertionError, type BytesToBase64Options, CancellablePromise, type CatchErrorResult, Color, type ColorChannels, ColorParser, type Data, type DateObject, type DateObjectInput, type DebouncedFunction, type DeepPartial, type DeepReadonly, type Defer, instance as EJSON, EJSON as EJSONInstance, EJSONStream, type EJSONStreamOptions, type EJSONStreamOptionsWithPayload, type EJSONType, type EnvParser, type ExecResult, type ExecResultToSkip, type ExecResultToSuccess, type ExecSkip, type ExecSuccess, FindMean, FixedMap, FixedWeakMap, Fn, type FormatMoney, type FormatNumber, type FunctionArgs, type GenericObject, type IfAny, type IsAny, type LiteralUnion, type Logger, LruCache, type Nothing, type OverwriteWith, type Prettify, type Primitive, type PromisifyFn, Queue, type RandomizerOptions, ResourcePool, type ResourcePoolEventMap, type ResourcePoolOptions, type RetryOnErrorConfig, type SecureCustomizerOptions, type SelectOptionItem, type SelectOptions, type SimpleDefaultEventMap, SimpleEventEmitter, type SimpleEventMap, SortedArray, type SortedArrayCompareFn, _default as TWEMOJI_REGEX, type ThemeConfig, type ThrottledFunction, TimeBucket, type TimeBucketOptions, type TimeObject, type TimeObjectInput, TimeSpan, type TimeSpanUnit, type TimeString, type TimeValue, type TimestampMsInput, type TypeOf, type TypeOfMap, type ValuesOfObject, type WithCache, type WithCacheBucketBatchOptions, type WithCacheBucketOptions, type WithCacheFixedOptions, type WithCacheLruOptions, type WithCacheOptions, type WithCachePointer, type WithCacheResult, type WithCacheStorage, type WithCode, type WithCustomizer, type WithCustomizerFactory, type WithCustomizerValue, type WrrItem, alpha, arrayable, assert, asyncFilter, asyncFind, asyncForEach, asyncMap, avg, avgCircular, base62, base62Fast, base64, base64ToBytes, base64url, basex, bigIntBytes, bigIntFromBytes, bitPack, bitUnpack, blendColors, buildCssColor, bytesToBase64, cache, cacheBucket, cacheFixed, cacheLRU, camelCase, capitalize, captureStackTrace, catchError, channelsToHSL, channelsToHex, channelsToRGB, checkBitmask, chunk, chunkSeries, clamp, cleanEmpty, cleanObject, colorToChannels, compareBytes, concatenateBytes, contrastRatio, convertToUnit, crc32, createCustomizer, createCustomizerFactory, createDateObject, createDeepCloneWith, createEJSON, createEJSONStream, createEnvParser, createFunction, createRandomizer, createSecureCustomizer, createTimeObject, createTimeSpan, createWithCache, cssVariable, dateInDays, dateInSeconds, debounce, deepAssign, deepClone, deepCloneWith, deepDefaults, deepFreeze, def, defer, delay, difference, dropCache, env, escapeHtml, escapeNumeric, escapeRegExp, fastIdle, fastIdlePromise, fastRaf, findMean, flagsToMap, flatten, formatMoney, formatNumber, get, getFileExtension, getFileName, getInitials, getMostSpecificPaths, getRandomInt, getRandomTime, getWords, groupBy, has, hasOwn, hasProtocol, hex, hexToChannels, hmToSeconds, hslToChannels, humanFileSize, humanize, interpolateColor, intersection, intersectionBy, isBigInt, isBoolean, isCached, isClient, isColorChannels, isCustomizerFactory, isDate, isDateObject, isDef, isEmpty, isEqual, isError, isFunction, isInfinity, isMap, isNode, isNullOrUndefined, isNumber, isObject, isOneEmoji, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isSkip, isString, isSuccess, isSymbol, isTimeObject, isTimeString, isTimeValue, isValidWeekDay, isWeakMap, isWeakSet, isWithCache, isoToFlagEmoji, kebabCase, keyBy, logger, loggerSetLevel, lowerCase, luminance, maskingEmail, maskingPhone, maskingWords, nextTickIteration, noop, objectId, omit, omitPrefixed, orderBy, parseAllNumbers, parseAlpha, parsePercentage, percentOf, pick, pickPrefixed, qs, rafPromise, randomString, removeVS16s, retryOnError, rgbToChannels, round2digits, secondsToHm, set, shuffle, snakeCase, sprintf, startCase, strAssign, sum, textDecoder, textEncoder, throttle, timeFromMinutes, timeStringify, timeToMinutes, timeout, timestamp, timestampMs, timestampToDate, tintedTextColor, toError, toMap, truncate, typeOf, uint16ToUint8, uint32ToUint8, uint8ToUint16, uint8ToUint32, unflatten, union, uniq, uniqBy, unset, weeksInYear, weightedRoundRobin, withCache, withCacheBucket, withCacheBucketBatch, withCacheFixed, withCacheLRU, withDeepClone, withPointerCache, withResolve, wrapText };
|