@putkoff/abstract-utilities 0.1.141 → 0.1.143
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/cjs/functions/string_utils/src/string_utils.d.ts +0 -8
- package/dist/cjs/index.js +7 -14
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/functions/string_utils/src/string_utils.d.ts +0 -8
- package/dist/esm/index.js +7 -14
- package/dist/esm/index.js.map +1 -1
- package/dist/functions/string_utils/src/string_utils.d.ts +0 -8
- package/dist/index.d.ts +0 -8
- package/package.json +1 -1
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
export declare function getSubstring(obj: string, maxLength?: number | null, minLength?: number | null): string;
|
|
2
2
|
export declare function truncateString(obj: string, maxLength?: number): string;
|
|
3
|
-
/**
|
|
4
|
-
* Remove *every* occurrence of any prefix in `bases` from the *beginning*
|
|
5
|
-
* of `str`, looping until no prefix matches.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* stripPrefixes('/site/site/docs', ['/site', '/static']);
|
|
9
|
-
* // → '/docs'
|
|
10
|
-
*/
|
|
11
3
|
export declare function stripPrefixes(str: string, bases?: string | string[]): string;
|
|
12
4
|
/**
|
|
13
5
|
* Removes characters from the beginning of the string
|
package/dist/index.d.ts
CHANGED
|
@@ -213,14 +213,6 @@ declare function alertit(obj?: any): void;
|
|
|
213
213
|
|
|
214
214
|
declare function getSubstring(obj: string, maxLength?: number | null, minLength?: number | null): string;
|
|
215
215
|
declare function truncateString(obj: string, maxLength?: number): string;
|
|
216
|
-
/**
|
|
217
|
-
* Remove *every* occurrence of any prefix in `bases` from the *beginning*
|
|
218
|
-
* of `str`, looping until no prefix matches.
|
|
219
|
-
*
|
|
220
|
-
* @example
|
|
221
|
-
* stripPrefixes('/site/site/docs', ['/site', '/static']);
|
|
222
|
-
* // → '/docs'
|
|
223
|
-
*/
|
|
224
216
|
declare function stripPrefixes(str: string, bases?: string | string[]): string;
|
|
225
217
|
/**
|
|
226
218
|
* Removes characters from the beginning of the string
|