@pawells/typescript-common 2.0.0 → 2.1.5
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/README.md +350 -224
- package/{build → dist}/array/array-chunk.d.ts +1 -1
- package/{build → dist}/array/array-chunk.js +2 -3
- package/{build → dist}/array/array-compact.d.ts +1 -1
- package/{build → dist}/array/array-compact.js +1 -2
- package/{build → dist}/array/array-contains.d.ts +1 -1
- package/{build → dist}/array/array-contains.js +2 -3
- package/{build → dist}/array/array-count-by.d.ts +1 -1
- package/{build → dist}/array/array-count-by.js +2 -3
- package/{build → dist}/array/array-difference.d.ts +12 -5
- package/dist/array/array-difference.d.ts.map +1 -0
- package/dist/array/array-difference.js +70 -0
- package/dist/array/array-element.js +1 -0
- package/{build → dist}/array/array-filter.d.ts +1 -1
- package/{build → dist}/array/array-filter.js +1 -2
- package/{build → dist}/array/array-flatten.d.ts +2 -2
- package/{build → dist}/array/array-flatten.d.ts.map +1 -1
- package/{build → dist}/array/array-flatten.js +1 -2
- package/{build → dist}/array/array-group-by.d.ts +1 -1
- package/{build → dist}/array/array-group-by.d.ts.map +1 -1
- package/{build → dist}/array/array-group-by.js +10 -9
- package/{build → dist}/array/array-intersection.d.ts +12 -5
- package/dist/array/array-intersection.d.ts.map +1 -0
- package/dist/array/array-intersection.js +79 -0
- package/{build → dist}/array/array-partition.d.ts +1 -1
- package/{build → dist}/array/array-partition.js +2 -3
- package/{build → dist}/array/array-range.d.ts +1 -1
- package/{build → dist}/array/array-range.js +1 -2
- package/{build → dist}/array/array-sample.d.ts +2 -2
- package/{build → dist}/array/array-sample.js +3 -5
- package/{build → dist}/array/array-shuffle.d.ts +1 -1
- package/{build → dist}/array/array-shuffle.js +1 -2
- package/{build → dist}/array/array-sort-by.d.ts +1 -1
- package/{build → dist}/array/array-sort-by.js +1 -2
- package/{build → dist}/array/array-zip.d.ts +1 -1
- package/{build → dist}/array/array-zip.js +1 -2
- package/{build → dist}/array/assert.d.ts +5 -5
- package/{build → dist}/array/assert.d.ts.map +1 -1
- package/{build → dist}/array/assert.js +13 -14
- package/{build → dist}/array/index.js +0 -1
- package/{build → dist}/array/types.d.ts +20 -2
- package/{build → dist}/array/types.d.ts.map +1 -1
- package/dist/array/types.js +1 -0
- package/{build → dist}/array/unique.d.ts +1 -1
- package/{build → dist}/array/unique.js +1 -2
- package/dist/asserts/errors.d.ts.map +1 -0
- package/{build → dist}/asserts/errors.js +5 -3
- package/{build → dist}/asserts/generic.d.ts +23 -3
- package/dist/asserts/generic.d.ts.map +1 -0
- package/{build → dist}/asserts/generic.js +33 -7
- package/dist/asserts/index.d.ts +47 -0
- package/dist/asserts/index.d.ts.map +1 -0
- package/dist/asserts/index.js +46 -0
- package/{build → dist}/asserts/internal-utils.d.ts.map +1 -1
- package/{build → dist}/asserts/internal-utils.js +0 -1
- package/{build → dist}/asserts/types.d.ts +56 -17
- package/dist/asserts/types.d.ts.map +1 -0
- package/dist/asserts/types.js +1 -0
- package/{build → dist}/asserts/utils.d.ts +5 -21
- package/dist/asserts/utils.d.ts.map +1 -0
- package/{build → dist}/asserts/utils.js +12 -36
- package/{build → dist}/boolean/assert.d.ts +1 -2
- package/{build → dist}/boolean/assert.d.ts.map +1 -1
- package/{build → dist}/boolean/assert.js +1 -3
- package/dist/boolean/index.d.ts +13 -0
- package/dist/boolean/index.d.ts.map +1 -0
- package/dist/boolean/index.js +12 -0
- package/{build → dist}/enum/enum-entries.d.ts +1 -1
- package/dist/enum/enum-entries.d.ts.map +1 -0
- package/{build → dist}/enum/enum-entries.js +0 -1
- package/{build → dist}/enum/enum-key-by-value.d.ts +1 -1
- package/dist/enum/enum-key-by-value.d.ts.map +1 -0
- package/{build → dist}/enum/enum-key-by-value.js +0 -1
- package/{build → dist}/enum/enum-keys.js +0 -1
- package/{build → dist}/enum/enum-safe-value.d.ts +1 -1
- package/dist/enum/enum-safe-value.d.ts.map +1 -0
- package/{build → dist}/enum/enum-safe-value.js +0 -1
- package/{build → dist}/enum/enum-values.js +0 -1
- package/{build → dist}/enum/index.d.ts +1 -1
- package/dist/enum/index.d.ts.map +1 -0
- package/{build → dist}/enum/index.js +1 -2
- package/dist/enum/types.js +1 -0
- package/{build → dist}/enum/validate-enum-value.d.ts +1 -1
- package/dist/enum/validate-enum-value.d.ts.map +1 -0
- package/{build → dist}/enum/validate-enum-value.js +0 -1
- package/{build → dist}/function/compose.d.ts +6 -0
- package/dist/function/compose.d.ts.map +1 -0
- package/{build → dist}/function/compose.js +0 -1
- package/{build → dist}/function/debounce.d.ts +6 -0
- package/dist/function/debounce.d.ts.map +1 -0
- package/{build → dist}/function/debounce.js +6 -1
- package/{build → dist}/function/index.js +0 -1
- package/dist/function/memoize.d.ts +43 -0
- package/dist/function/memoize.d.ts.map +1 -0
- package/dist/function/memoize.js +59 -0
- package/{build → dist}/function/once.d.ts.map +1 -1
- package/{build → dist}/function/once.js +1 -1
- package/{build → dist}/function/sleep.js +0 -1
- package/{build → dist}/function/throttle.d.ts +7 -0
- package/dist/function/throttle.d.ts.map +1 -0
- package/{build → dist}/function/throttle.js +7 -1
- package/dist/function/types.d.ts +18 -0
- package/dist/function/types.d.ts.map +1 -0
- package/dist/function/types.js +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/{build → dist}/lru-cache.d.ts +19 -0
- package/dist/lru-cache.d.ts.map +1 -0
- package/{build → dist}/lru-cache.js +24 -2
- package/{build → dist}/number/assert.js +0 -1
- package/dist/number/index.d.ts +13 -0
- package/dist/number/index.d.ts.map +1 -0
- package/dist/number/index.js +12 -0
- package/{build → dist}/object/assert-object.d.ts +5 -1
- package/{build → dist}/object/assert-object.d.ts.map +1 -1
- package/{build → dist}/object/assert-object.js +4 -1
- package/{build → dist}/object/assert.d.ts +1 -1
- package/dist/object/assert.d.ts.map +1 -0
- package/{build → dist}/object/assert.js +7 -29
- package/{build → dist}/object/clone.d.ts.map +1 -1
- package/{build → dist}/object/clone.js +8 -5
- package/{build → dist}/object/equals.d.ts.map +1 -1
- package/{build → dist}/object/equals.js +3 -7
- package/dist/object/filter-cached.d.ts +44 -0
- package/{build → dist}/object/filter-cached.d.ts.map +1 -1
- package/{build → dist}/object/filter-cached.js +41 -2
- package/{build → dist}/object/filter.d.ts.map +1 -1
- package/{build → dist}/object/filter.js +12 -5
- package/{build → dist}/object/has-circular-reference.d.ts.map +1 -1
- package/{build → dist}/object/has-circular-reference.js +4 -2
- package/{build → dist}/object/hash.d.ts +4 -0
- package/dist/object/hash.d.ts.map +1 -0
- package/{build → dist}/object/hash.js +20 -7
- package/{build → dist}/object/index.d.ts +2 -2
- package/{build → dist}/object/index.d.ts.map +1 -1
- package/{build → dist}/object/index.js +1 -2
- package/{build → dist}/object/json-circular-replacer.d.ts.map +1 -1
- package/{build → dist}/object/json-circular-replacer.js +0 -1
- package/{build → dist}/object/key-value-pairs.js +0 -1
- package/dist/object/map-cached.d.ts +31 -0
- package/dist/object/map-cached.d.ts.map +1 -0
- package/{build → dist}/object/map-cached.js +34 -6
- package/{build → dist}/object/map.js +0 -1
- package/{build → dist}/object/merge.d.ts.map +1 -1
- package/{build → dist}/object/merge.js +7 -7
- package/{build → dist}/object/object-diff.d.ts +2 -2
- package/{build → dist}/object/object-diff.d.ts.map +1 -1
- package/{build → dist}/object/object-diff.js +11 -5
- package/{build → dist}/object/object-flatten.d.ts +1 -1
- package/{build → dist}/object/object-flatten.d.ts.map +1 -1
- package/{build → dist}/object/object-flatten.js +6 -4
- package/{build → dist}/object/object-invert.js +0 -1
- package/{build → dist}/object/omit.js +0 -1
- package/{build → dist}/object/pick.js +0 -1
- package/{build → dist}/object/property-paths.js +6 -7
- package/dist/object/security-utils.d.ts +193 -0
- package/dist/object/security-utils.d.ts.map +1 -0
- package/dist/object/security-utils.js +297 -0
- package/{build → dist}/object/sort-keys.d.ts +1 -1
- package/{build → dist}/object/sort-keys.d.ts.map +1 -1
- package/{build → dist}/object/sort-keys.js +18 -11
- package/{build → dist}/object/types.d.ts +60 -19
- package/dist/object/types.d.ts.map +1 -0
- package/dist/object/types.js +1 -0
- package/{build → dist}/string/assert.d.ts +5 -0
- package/dist/string/assert.d.ts.map +1 -0
- package/{build → dist}/string/assert.js +11 -1
- package/{build → dist}/string/case-conversion.js +0 -1
- package/{build → dist}/string/comparison.d.ts.map +1 -1
- package/{build → dist}/string/comparison.js +3 -1
- package/{build → dist}/string/formatting.d.ts.map +1 -1
- package/{build → dist}/string/formatting.js +5 -3
- package/{build → dist}/string/index.js +0 -1
- package/{build → dist}/string/transformation.js +0 -1
- package/dist/string/types.d.ts +118 -0
- package/dist/string/types.d.ts.map +1 -0
- package/dist/string/types.js +1 -0
- package/{build → dist}/string/validation.js +0 -1
- package/dist/time/elapsed-time/constants.d.ts +36 -0
- package/{build → dist}/time/elapsed-time/constants.d.ts.map +1 -1
- package/{build → dist}/time/elapsed-time/constants.js +32 -3
- package/{build → dist}/time/elapsed-time/elapsed-time.d.ts +67 -15
- package/dist/time/elapsed-time/elapsed-time.d.ts.map +1 -0
- package/{build → dist}/time/elapsed-time/elapsed-time.js +172 -78
- package/dist/time/elapsed-time/types.d.ts +336 -0
- package/dist/time/elapsed-time/types.d.ts.map +1 -0
- package/dist/time/elapsed-time/types.js +1 -0
- package/{build → dist}/time/elapsed-time/utils.d.ts +1 -1
- package/dist/time/elapsed-time/utils.d.ts.map +1 -0
- package/{build → dist}/time/elapsed-time/utils.js +0 -1
- package/{build → dist}/time/index.d.ts +0 -2
- package/{build → dist}/time/index.d.ts.map +1 -1
- package/{build → dist}/time/index.js +0 -2
- package/{build → dist}/time/stopwatch/entry.d.ts +1 -1
- package/dist/time/stopwatch/entry.d.ts.map +1 -0
- package/{build → dist}/time/stopwatch/entry.js +0 -1
- package/{build → dist}/time/stopwatch/stopwatch.d.ts +9 -3
- package/dist/time/stopwatch/stopwatch.d.ts.map +1 -0
- package/{build → dist}/time/stopwatch/stopwatch.js +9 -4
- package/package.json +58 -81
- package/LICENSE +0 -21
- package/build/array/array-chunk.js.map +0 -1
- package/build/array/array-compact.js.map +0 -1
- package/build/array/array-contains.js.map +0 -1
- package/build/array/array-count-by.js.map +0 -1
- package/build/array/array-difference.d.ts.map +0 -1
- package/build/array/array-difference.js +0 -51
- package/build/array/array-difference.js.map +0 -1
- package/build/array/array-element.js +0 -2
- package/build/array/array-element.js.map +0 -1
- package/build/array/array-filter.js.map +0 -1
- package/build/array/array-flatten.js.map +0 -1
- package/build/array/array-group-by.js.map +0 -1
- package/build/array/array-intersection.d.ts.map +0 -1
- package/build/array/array-intersection.js +0 -57
- package/build/array/array-intersection.js.map +0 -1
- package/build/array/array-partition.js.map +0 -1
- package/build/array/array-range.js.map +0 -1
- package/build/array/array-sample.js.map +0 -1
- package/build/array/array-shuffle.js.map +0 -1
- package/build/array/array-sort-by.js.map +0 -1
- package/build/array/array-zip.js.map +0 -1
- package/build/array/assert.js.map +0 -1
- package/build/array/index.js.map +0 -1
- package/build/array/types.js +0 -2
- package/build/array/types.js.map +0 -1
- package/build/array/unique.js.map +0 -1
- package/build/asserts/errors.d.ts.map +0 -1
- package/build/asserts/errors.js.map +0 -1
- package/build/asserts/generic.d.ts.map +0 -1
- package/build/asserts/generic.js.map +0 -1
- package/build/asserts/index.d.ts +0 -41
- package/build/asserts/index.d.ts.map +0 -1
- package/build/asserts/index.js +0 -41
- package/build/asserts/index.js.map +0 -1
- package/build/asserts/internal-utils.js.map +0 -1
- package/build/asserts/types.d.ts.map +0 -1
- package/build/asserts/types.js +0 -2
- package/build/asserts/types.js.map +0 -1
- package/build/asserts/utils.d.ts.map +0 -1
- package/build/asserts/utils.js.map +0 -1
- package/build/boolean/assert.js.map +0 -1
- package/build/boolean/index.d.ts +0 -9
- package/build/boolean/index.d.ts.map +0 -1
- package/build/boolean/index.js +0 -9
- package/build/boolean/index.js.map +0 -1
- package/build/enum/enum-entries.d.ts.map +0 -1
- package/build/enum/enum-entries.js.map +0 -1
- package/build/enum/enum-key-by-value.d.ts.map +0 -1
- package/build/enum/enum-key-by-value.js.map +0 -1
- package/build/enum/enum-keys.js.map +0 -1
- package/build/enum/enum-safe-value.d.ts.map +0 -1
- package/build/enum/enum-safe-value.js.map +0 -1
- package/build/enum/enum-values.js.map +0 -1
- package/build/enum/index.d.ts.map +0 -1
- package/build/enum/index.js.map +0 -1
- package/build/enum/types.js +0 -2
- package/build/enum/types.js.map +0 -1
- package/build/enum/validate-enum-value.d.ts.map +0 -1
- package/build/enum/validate-enum-value.js.map +0 -1
- package/build/function/compose.d.ts.map +0 -1
- package/build/function/compose.js.map +0 -1
- package/build/function/debounce.d.ts.map +0 -1
- package/build/function/debounce.js.map +0 -1
- package/build/function/index.js.map +0 -1
- package/build/function/memoize.d.ts +0 -30
- package/build/function/memoize.d.ts.map +0 -1
- package/build/function/memoize.js +0 -44
- package/build/function/memoize.js.map +0 -1
- package/build/function/once.js.map +0 -1
- package/build/function/sleep.js.map +0 -1
- package/build/function/throttle.d.ts.map +0 -1
- package/build/function/throttle.js.map +0 -1
- package/build/function/types.d.ts +0 -5
- package/build/function/types.d.ts.map +0 -1
- package/build/function/types.js +0 -2
- package/build/function/types.js.map +0 -1
- package/build/index.d.ts +0 -38
- package/build/index.d.ts.map +0 -1
- package/build/index.js +0 -64
- package/build/index.js.map +0 -1
- package/build/lru-cache.d.ts.map +0 -1
- package/build/lru-cache.js.map +0 -1
- package/build/number/assert.js.map +0 -1
- package/build/number/index.d.ts +0 -9
- package/build/number/index.d.ts.map +0 -1
- package/build/number/index.js +0 -9
- package/build/number/index.js.map +0 -1
- package/build/object/assert-object.js.map +0 -1
- package/build/object/assert.d.ts.map +0 -1
- package/build/object/assert.js.map +0 -1
- package/build/object/clone.js.map +0 -1
- package/build/object/equals.js.map +0 -1
- package/build/object/filter-cached.d.ts +0 -21
- package/build/object/filter-cached.js.map +0 -1
- package/build/object/filter.js.map +0 -1
- package/build/object/has-circular-reference.js.map +0 -1
- package/build/object/hash.d.ts.map +0 -1
- package/build/object/hash.js.map +0 -1
- package/build/object/index.js.map +0 -1
- package/build/object/json-circular-replacer.js.map +0 -1
- package/build/object/key-value-pairs.js.map +0 -1
- package/build/object/map-cached.d.ts +0 -20
- package/build/object/map-cached.d.ts.map +0 -1
- package/build/object/map-cached.js.map +0 -1
- package/build/object/map.js.map +0 -1
- package/build/object/merge.js.map +0 -1
- package/build/object/object-diff.js.map +0 -1
- package/build/object/object-flatten.js.map +0 -1
- package/build/object/object-invert.js.map +0 -1
- package/build/object/omit.js.map +0 -1
- package/build/object/pick.js.map +0 -1
- package/build/object/property-paths.js.map +0 -1
- package/build/object/security-utils.d.ts +0 -59
- package/build/object/security-utils.d.ts.map +0 -1
- package/build/object/security-utils.js +0 -161
- package/build/object/security-utils.js.map +0 -1
- package/build/object/sort-keys.js.map +0 -1
- package/build/object/types.d.ts.map +0 -1
- package/build/object/types.js +0 -6
- package/build/object/types.js.map +0 -1
- package/build/string/assert.d.ts.map +0 -1
- package/build/string/assert.js.map +0 -1
- package/build/string/case-conversion.js.map +0 -1
- package/build/string/comparison.js.map +0 -1
- package/build/string/formatting.js.map +0 -1
- package/build/string/index.js.map +0 -1
- package/build/string/transformation.js.map +0 -1
- package/build/string/types.d.ts +0 -44
- package/build/string/types.d.ts.map +0 -1
- package/build/string/types.js +0 -2
- package/build/string/types.js.map +0 -1
- package/build/string/validation.js.map +0 -1
- package/build/time/elapsed-time/constants.d.ts +0 -10
- package/build/time/elapsed-time/constants.js.map +0 -1
- package/build/time/elapsed-time/elapsed-time.d.ts.map +0 -1
- package/build/time/elapsed-time/elapsed-time.js.map +0 -1
- package/build/time/elapsed-time/types.d.ts +0 -150
- package/build/time/elapsed-time/types.d.ts.map +0 -1
- package/build/time/elapsed-time/types.js +0 -2
- package/build/time/elapsed-time/types.js.map +0 -1
- package/build/time/elapsed-time/utils.d.ts.map +0 -1
- package/build/time/elapsed-time/utils.js.map +0 -1
- package/build/time/index.js.map +0 -1
- package/build/time/stopwatch/entry-types.d.ts +0 -13
- package/build/time/stopwatch/entry-types.d.ts.map +0 -1
- package/build/time/stopwatch/entry-types.js +0 -2
- package/build/time/stopwatch/entry-types.js.map +0 -1
- package/build/time/stopwatch/entry.d.ts.map +0 -1
- package/build/time/stopwatch/entry.js.map +0 -1
- package/build/time/stopwatch/stopwatch.d.ts.map +0 -1
- package/build/time/stopwatch/stopwatch.js.map +0 -1
- /package/{build → dist}/array/array-chunk.d.ts.map +0 -0
- /package/{build → dist}/array/array-compact.d.ts.map +0 -0
- /package/{build → dist}/array/array-contains.d.ts.map +0 -0
- /package/{build → dist}/array/array-count-by.d.ts.map +0 -0
- /package/{build → dist}/array/array-element.d.ts +0 -0
- /package/{build → dist}/array/array-element.d.ts.map +0 -0
- /package/{build → dist}/array/array-filter.d.ts.map +0 -0
- /package/{build → dist}/array/array-partition.d.ts.map +0 -0
- /package/{build → dist}/array/array-range.d.ts.map +0 -0
- /package/{build → dist}/array/array-sample.d.ts.map +0 -0
- /package/{build → dist}/array/array-shuffle.d.ts.map +0 -0
- /package/{build → dist}/array/array-sort-by.d.ts.map +0 -0
- /package/{build → dist}/array/array-zip.d.ts.map +0 -0
- /package/{build → dist}/array/index.d.ts +0 -0
- /package/{build → dist}/array/index.d.ts.map +0 -0
- /package/{build → dist}/array/unique.d.ts.map +0 -0
- /package/{build → dist}/asserts/errors.d.ts +0 -0
- /package/{build → dist}/asserts/internal-utils.d.ts +0 -0
- /package/{build → dist}/enum/enum-keys.d.ts +0 -0
- /package/{build → dist}/enum/enum-keys.d.ts.map +0 -0
- /package/{build → dist}/enum/enum-values.d.ts +0 -0
- /package/{build → dist}/enum/enum-values.d.ts.map +0 -0
- /package/{build → dist}/enum/types.d.ts +0 -0
- /package/{build → dist}/enum/types.d.ts.map +0 -0
- /package/{build → dist}/function/index.d.ts +0 -0
- /package/{build → dist}/function/index.d.ts.map +0 -0
- /package/{build → dist}/function/once.d.ts +0 -0
- /package/{build → dist}/function/sleep.d.ts +0 -0
- /package/{build → dist}/function/sleep.d.ts.map +0 -0
- /package/{build → dist}/number/assert.d.ts +0 -0
- /package/{build → dist}/number/assert.d.ts.map +0 -0
- /package/{build → dist}/object/clone.d.ts +0 -0
- /package/{build → dist}/object/equals.d.ts +0 -0
- /package/{build → dist}/object/filter.d.ts +0 -0
- /package/{build → dist}/object/has-circular-reference.d.ts +0 -0
- /package/{build → dist}/object/json-circular-replacer.d.ts +0 -0
- /package/{build → dist}/object/key-value-pairs.d.ts +0 -0
- /package/{build → dist}/object/key-value-pairs.d.ts.map +0 -0
- /package/{build → dist}/object/map.d.ts +0 -0
- /package/{build → dist}/object/map.d.ts.map +0 -0
- /package/{build → dist}/object/merge.d.ts +0 -0
- /package/{build → dist}/object/object-invert.d.ts +0 -0
- /package/{build → dist}/object/object-invert.d.ts.map +0 -0
- /package/{build → dist}/object/omit.d.ts +0 -0
- /package/{build → dist}/object/omit.d.ts.map +0 -0
- /package/{build → dist}/object/pick.d.ts +0 -0
- /package/{build → dist}/object/pick.d.ts.map +0 -0
- /package/{build → dist}/object/property-paths.d.ts +0 -0
- /package/{build → dist}/object/property-paths.d.ts.map +0 -0
- /package/{build → dist}/string/case-conversion.d.ts +0 -0
- /package/{build → dist}/string/case-conversion.d.ts.map +0 -0
- /package/{build → dist}/string/comparison.d.ts +0 -0
- /package/{build → dist}/string/formatting.d.ts +0 -0
- /package/{build → dist}/string/index.d.ts +0 -0
- /package/{build → dist}/string/index.d.ts.map +0 -0
- /package/{build → dist}/string/transformation.d.ts +0 -0
- /package/{build → dist}/string/transformation.d.ts.map +0 -0
- /package/{build → dist}/string/validation.d.ts +0 -0
- /package/{build → dist}/string/validation.d.ts.map +0 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* String validator function type.
|
|
3
|
+
*
|
|
4
|
+
* A validator function that tests if a string meets certain criteria.
|
|
5
|
+
*
|
|
6
|
+
* @param value - The string to validate
|
|
7
|
+
* @returns true if the string passes validation, false otherwise
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```typescript
|
|
11
|
+
* const isLong: TStringValidator = (s) => s.length > 10;
|
|
12
|
+
* isLong('hello'); // false
|
|
13
|
+
* isLong('hello world'); // true
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export type TStringValidator = (value: string) => boolean;
|
|
17
|
+
/**
|
|
18
|
+
* String formatter function type with optional parameters.
|
|
19
|
+
*
|
|
20
|
+
* A formatter function that transforms a string with optional formatting parameters.
|
|
21
|
+
*
|
|
22
|
+
* @param value - The string to format
|
|
23
|
+
* @param params - Optional formatting parameters
|
|
24
|
+
* @returns The formatted string
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```typescript
|
|
28
|
+
* const uppercase: TStringFormatter = (s) => s.toUpperCase();
|
|
29
|
+
* uppercase('hello'); // 'HELLO'
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export type TStringFormatter = (value: string, ...params: unknown[]) => string;
|
|
33
|
+
/**
|
|
34
|
+
* String transformer function type.
|
|
35
|
+
*
|
|
36
|
+
* A transformer function that converts input to a transformed string output.
|
|
37
|
+
*
|
|
38
|
+
* @param input - The input string
|
|
39
|
+
* @returns The transformed string
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```typescript
|
|
43
|
+
* const reverse: TStringTransformer = (s) => Array.from(s).reverse().join('');
|
|
44
|
+
* reverse('hello'); // 'olleh'
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export type TStringTransformer = (input: string) => string;
|
|
48
|
+
/**
|
|
49
|
+
* Case converter function type.
|
|
50
|
+
*
|
|
51
|
+
* A function that converts a string to a specific case format (camelCase, PascalCase, etc.).
|
|
52
|
+
*
|
|
53
|
+
* @param value - The string to convert
|
|
54
|
+
* @returns The string in the target case format
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```typescript
|
|
58
|
+
* const toCamel: TCaseConverter = (s) => s.replace(/-(.)/g, (_, c) => c.toUpperCase());
|
|
59
|
+
* toCamel('hello-world'); // 'helloWorld'
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
export type TCaseConverter = (value: string) => string;
|
|
63
|
+
/**
|
|
64
|
+
* String predicate function type.
|
|
65
|
+
*
|
|
66
|
+
* A predicate function that tests if a string meets a specific condition.
|
|
67
|
+
*
|
|
68
|
+
* @param value - The string to test
|
|
69
|
+
* @returns true if the string passes the predicate, false otherwise
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* ```typescript
|
|
73
|
+
* const isEmail: TStringPredicate = (s) => s.includes('@');
|
|
74
|
+
* isEmail('user@example.com'); // true
|
|
75
|
+
* isEmail('invalid'); // false
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export type TStringPredicate = (value: string) => boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Format parameter value types.
|
|
81
|
+
*
|
|
82
|
+
* Supported types for placeholder values in string formatting operations.
|
|
83
|
+
*
|
|
84
|
+
* @returns N/A - This is a type alias
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ```typescript
|
|
88
|
+
* const values: TFormatValue[] = [42, 'hello', true, null, undefined];
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
export type TFormatValue = string | number | boolean | null | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* Format parameters as key-value pairs.
|
|
94
|
+
*
|
|
95
|
+
* Object structure for named placeholder substitution in string formatting.
|
|
96
|
+
*
|
|
97
|
+
* @returns N/A - This is a type alias
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ```typescript
|
|
101
|
+
* const params: TFormatParams = { name: 'World', count: 42 };
|
|
102
|
+
* ```
|
|
103
|
+
*/
|
|
104
|
+
export type TFormatParams = Record<string, TFormatValue>;
|
|
105
|
+
/**
|
|
106
|
+
* Format parameters as positional array.
|
|
107
|
+
*
|
|
108
|
+
* Array structure for positional placeholder substitution in string formatting.
|
|
109
|
+
*
|
|
110
|
+
* @returns N/A - This is a type alias
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* ```typescript
|
|
114
|
+
* const args: TFormatArgs = ['World', 42, true];
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
export type TFormatArgs = TFormatValue[];
|
|
118
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/string/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;AAE1D;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,KAAK,MAAM,CAAC;AAE/E;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;AAE3D;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;AAEvD;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;AAE1D;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;AAExE;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;AAEzD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,WAAW,GAAG,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { IDefaultUnitLabels, IFormats } from './types.js';
|
|
2
|
+
/**
|
|
3
|
+
* Default unit label sets for all predefined formatting styles.
|
|
4
|
+
* Provides pre-defined label configurations for concise, short, medium, and long time formats.
|
|
5
|
+
*
|
|
6
|
+
* Each style object maps time units (week, day, hour, minute, second, millisecond) to their labels.
|
|
7
|
+
* Labels can be static strings (concise, short, medium) or functions that handle pluralization (long).
|
|
8
|
+
* All label sets include a `style` property for runtime identification.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```typescript
|
|
12
|
+
* // Using concise labels: single-character abbreviations
|
|
13
|
+
* const conciseLabel = DEFAULT_UNIT_LABELS.concise.hour; // "h"
|
|
14
|
+
*
|
|
15
|
+
* // Using long labels: function-based with pluralization
|
|
16
|
+
* const longLabel = DEFAULT_UNIT_LABELS.long.hour(1); // "hour"
|
|
17
|
+
* const longLabel2 = DEFAULT_UNIT_LABELS.long.hour(2); // "hours"
|
|
18
|
+
*
|
|
19
|
+
* // Using medium labels: readable abbreviations
|
|
20
|
+
* const mediumLabel = DEFAULT_UNIT_LABELS.medium.hour; // "hour"
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare const DEFAULT_UNIT_LABELS: IDefaultUnitLabels;
|
|
24
|
+
/**
|
|
25
|
+
* Predefined format configurations for elapsed time formatting.
|
|
26
|
+
* Each configuration provides unitLabels and optional display options for a specific format style.
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* The `long` format configuration defines pluralization logic for unit labels (e.g., "hour" vs "hours").
|
|
30
|
+
* This logic is duplicated in the `ElapsedTime._FormatLong()` private method, which handles the special
|
|
31
|
+
* formatting requirements of the long format with its own pluralization. Both locations must be kept in
|
|
32
|
+
* sync when modifying singular/plural unit names. This duplication exists because the FORMATS constant
|
|
33
|
+
* provides label templates while _FormatLong() handles the actual runtime transformation.
|
|
34
|
+
*/
|
|
35
|
+
export declare const FORMATS: IFormats;
|
|
36
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/time/elapsed-time/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE/D
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/time/elapsed-time/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE/D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,mBAAmB,EAAE,kBAqCxB,CAAC;AAEX;;;;;;;;;;GAUG;AACH,eAAO,MAAM,OAAO,EAAE,QA4DZ,CAAC"}
|
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Default unit
|
|
2
|
+
* Default unit label sets for all predefined formatting styles.
|
|
3
|
+
* Provides pre-defined label configurations for concise, short, medium, and long time formats.
|
|
4
|
+
*
|
|
5
|
+
* Each style object maps time units (week, day, hour, minute, second, millisecond) to their labels.
|
|
6
|
+
* Labels can be static strings (concise, short, medium) or functions that handle pluralization (long).
|
|
7
|
+
* All label sets include a `style` property for runtime identification.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```typescript
|
|
11
|
+
* // Using concise labels: single-character abbreviations
|
|
12
|
+
* const conciseLabel = DEFAULT_UNIT_LABELS.concise.hour; // "h"
|
|
13
|
+
*
|
|
14
|
+
* // Using long labels: function-based with pluralization
|
|
15
|
+
* const longLabel = DEFAULT_UNIT_LABELS.long.hour(1); // "hour"
|
|
16
|
+
* const longLabel2 = DEFAULT_UNIT_LABELS.long.hour(2); // "hours"
|
|
17
|
+
*
|
|
18
|
+
* // Using medium labels: readable abbreviations
|
|
19
|
+
* const mediumLabel = DEFAULT_UNIT_LABELS.medium.hour; // "hour"
|
|
20
|
+
* ```
|
|
3
21
|
*/
|
|
4
22
|
export const DEFAULT_UNIT_LABELS = {
|
|
5
23
|
concise: {
|
|
24
|
+
style: 'concise',
|
|
6
25
|
day: 'd',
|
|
7
26
|
hour: 'h',
|
|
8
27
|
millisecond: 'ms',
|
|
@@ -11,6 +30,7 @@ export const DEFAULT_UNIT_LABELS = {
|
|
|
11
30
|
week: 'w',
|
|
12
31
|
},
|
|
13
32
|
long: {
|
|
33
|
+
style: 'long',
|
|
14
34
|
day: (value) => `${value === 1 ? 'day' : 'days'}`,
|
|
15
35
|
hour: (value) => `${value === 1 ? 'hour' : 'hours'}`,
|
|
16
36
|
millisecond: (value) => `${value === 1 ? 'millisecond' : 'milliseconds'}`,
|
|
@@ -19,6 +39,7 @@ export const DEFAULT_UNIT_LABELS = {
|
|
|
19
39
|
week: (value) => `${value === 1 ? 'week' : 'weeks'}`,
|
|
20
40
|
},
|
|
21
41
|
medium: {
|
|
42
|
+
style: 'medium',
|
|
22
43
|
day: 'day',
|
|
23
44
|
hour: 'hour',
|
|
24
45
|
millisecond: 'ms',
|
|
@@ -27,6 +48,7 @@ export const DEFAULT_UNIT_LABELS = {
|
|
|
27
48
|
week: 'week',
|
|
28
49
|
},
|
|
29
50
|
short: {
|
|
51
|
+
style: 'short',
|
|
30
52
|
day: 'd',
|
|
31
53
|
hour: 'hr',
|
|
32
54
|
millisecond: 'ms',
|
|
@@ -36,7 +58,15 @@ export const DEFAULT_UNIT_LABELS = {
|
|
|
36
58
|
},
|
|
37
59
|
};
|
|
38
60
|
/**
|
|
39
|
-
* Predefined
|
|
61
|
+
* Predefined format configurations for elapsed time formatting.
|
|
62
|
+
* Each configuration provides unitLabels and optional display options for a specific format style.
|
|
63
|
+
*
|
|
64
|
+
* @remarks
|
|
65
|
+
* The `long` format configuration defines pluralization logic for unit labels (e.g., "hour" vs "hours").
|
|
66
|
+
* This logic is duplicated in the `ElapsedTime._FormatLong()` private method, which handles the special
|
|
67
|
+
* formatting requirements of the long format with its own pluralization. Both locations must be kept in
|
|
68
|
+
* sync when modifying singular/plural unit names. This duplication exists because the FORMATS constant
|
|
69
|
+
* provides label templates while _FormatLong() handles the actual runtime transformation.
|
|
40
70
|
*/
|
|
41
71
|
export const FORMATS = {
|
|
42
72
|
/**
|
|
@@ -93,4 +123,3 @@ export const FORMATS = {
|
|
|
93
123
|
},
|
|
94
124
|
},
|
|
95
125
|
};
|
|
96
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1,34 +1,40 @@
|
|
|
1
|
-
import { ITimeElapsedFormatOptions, TTimeElapsedFormats, IFormatConfig } from './types.js';
|
|
1
|
+
import type { ITimeElapsedFormatOptions, TTimeElapsedFormats, IFormatConfig } from './types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Represents a duration of time with formatting and calculation capabilities.
|
|
4
4
|
*/
|
|
5
5
|
export declare class ElapsedTime {
|
|
6
6
|
/** Whether the elapsed time represents a negative duration */
|
|
7
|
-
private
|
|
7
|
+
private _isNegative;
|
|
8
8
|
/** The total duration in milliseconds (always positive, sign stored in isNegative) */
|
|
9
|
-
private
|
|
9
|
+
private _totalMilliseconds;
|
|
10
10
|
/** Cached total seconds value */
|
|
11
|
-
private
|
|
11
|
+
private _totalSeconds;
|
|
12
12
|
/** Cached total minutes value */
|
|
13
|
-
private
|
|
13
|
+
private _totalMinutes;
|
|
14
14
|
/** Cached total hours value */
|
|
15
|
-
private
|
|
15
|
+
private _totalHours;
|
|
16
16
|
/** Cached total days value */
|
|
17
|
-
private
|
|
17
|
+
private _totalDays;
|
|
18
18
|
/** Cached seconds component (excluding complete minutes) */
|
|
19
|
-
private
|
|
19
|
+
private _seconds;
|
|
20
20
|
/** Cached minutes component (excluding complete hours) */
|
|
21
|
-
private
|
|
21
|
+
private _minutes;
|
|
22
22
|
/** Cached hours component (excluding complete days) */
|
|
23
|
-
private
|
|
23
|
+
private _hours;
|
|
24
24
|
/** Cached days component (excluding complete weeks) */
|
|
25
|
-
private
|
|
25
|
+
private _days;
|
|
26
26
|
/** Cached weeks component */
|
|
27
|
-
private
|
|
27
|
+
private _weeks;
|
|
28
28
|
/** Cached milliseconds component (excluding complete seconds) */
|
|
29
|
-
private
|
|
29
|
+
private _milliseconds;
|
|
30
30
|
/** Flag to track whether cached values have been calculated */
|
|
31
|
-
private
|
|
31
|
+
private _valuesCalculated;
|
|
32
|
+
/**
|
|
33
|
+
* Cache object for computed property values when in stopped/paused state.
|
|
34
|
+
* Stores the last computed property value to avoid recalculation on repeated access.
|
|
35
|
+
* Cleared when TotalMilliseconds is set (instance becomes mutable again).
|
|
36
|
+
*/
|
|
37
|
+
private _propertyCache;
|
|
32
38
|
/**
|
|
33
39
|
* Creates a new ElapsedTime instance.
|
|
34
40
|
* @param milliseconds The total number of milliseconds.
|
|
@@ -56,6 +62,18 @@ export declare class ElapsedTime {
|
|
|
56
62
|
* ```
|
|
57
63
|
*/
|
|
58
64
|
private _CalculateTimeValues;
|
|
65
|
+
/**
|
|
66
|
+
* Get a cached property value, computing and caching it if necessary.
|
|
67
|
+
* For stopped/paused instances (where TotalMilliseconds doesn't change),
|
|
68
|
+
* this returns the cached value on subsequent accesses, avoiding repeated
|
|
69
|
+
* property getter indirection and computation.
|
|
70
|
+
*
|
|
71
|
+
* @param key - Cache key identifying the property
|
|
72
|
+
* @param getter - Function to compute the value if not cached
|
|
73
|
+
* @returns The cached or newly computed value
|
|
74
|
+
* @private
|
|
75
|
+
*/
|
|
76
|
+
private _getCachedProperty;
|
|
59
77
|
/**
|
|
60
78
|
* Gets the number of weeks in the elapsed time.
|
|
61
79
|
*/
|
|
@@ -332,6 +350,8 @@ export declare class ElapsedTime {
|
|
|
332
350
|
* Handles different formatting styles including CONCISE, SHORT, MEDIUM, LONG, and custom formats
|
|
333
351
|
* @param units - Array of time units with their values
|
|
334
352
|
* @param unitLabels - Object containing label definitions for each time unit
|
|
353
|
+
* @param formatKey - The format key (concise, short, medium, etc.)
|
|
354
|
+
* @param hasCustomLabels - Whether custom labels were provided by the user
|
|
335
355
|
* @returns Formatted time string according to the specified format style
|
|
336
356
|
* @private
|
|
337
357
|
*/
|
|
@@ -378,7 +398,8 @@ export declare class ElapsedTime {
|
|
|
378
398
|
}
|
|
379
399
|
/**
|
|
380
400
|
* Formats elapsed time using the specified configuration.
|
|
381
|
-
*
|
|
401
|
+
* Convenience wrapper equivalent to `ElapsedTime.Format(milliseconds, 'concise', options)`.
|
|
402
|
+
* For other format styles, use {@link ElapsedTime.Format} directly.
|
|
382
403
|
*
|
|
383
404
|
* @param milliseconds - The total number of milliseconds to format
|
|
384
405
|
* @param options - Formatting configuration options
|
|
@@ -391,6 +412,37 @@ export declare class ElapsedTime {
|
|
|
391
412
|
* console.log(FormatElapsedTime(3661000)); // "1h 1m 1s"
|
|
392
413
|
* console.log(FormatElapsedTime(3661000, { maxUnits: 1 })); // "1h"
|
|
393
414
|
* ```
|
|
415
|
+
*
|
|
416
|
+
* @see ElapsedTime.Format
|
|
417
|
+
*/
|
|
418
|
+
/**
|
|
419
|
+
* Format elapsed time using the concise format with optional customization.
|
|
420
|
+
* Convenience function that creates a temporary ElapsedTime instance and formats it.
|
|
421
|
+
* Always uses the 'concise' format (e.g., "1h 30m 45s") with optional overrides.
|
|
422
|
+
*
|
|
423
|
+
* @param milliseconds - The total number of milliseconds to format
|
|
424
|
+
* @param options - Optional formatting configuration to customize maxUnits and unitLabels
|
|
425
|
+
* @returns The formatted time string in concise format
|
|
426
|
+
*
|
|
427
|
+
* @example
|
|
428
|
+
* ```typescript
|
|
429
|
+
* // Basic usage with default concise format
|
|
430
|
+
* console.log(FormatElapsedTime(3661000)); // "1h 1m 1s"
|
|
431
|
+
* console.log(FormatElapsedTime(5425000)); // "1h 30m 25s"
|
|
432
|
+
*
|
|
433
|
+
* // With maxUnits option
|
|
434
|
+
* console.log(FormatElapsedTime(3661000, { maxUnits: 2 })); // "1h 1m"
|
|
435
|
+
*
|
|
436
|
+
* // With custom labels
|
|
437
|
+
* const options = {
|
|
438
|
+
* unitLabels: {
|
|
439
|
+
* hour: 'hrs',
|
|
440
|
+
* minute: 'mins',
|
|
441
|
+
* second: 'secs'
|
|
442
|
+
* }
|
|
443
|
+
* };
|
|
444
|
+
* console.log(FormatElapsedTime(3661000, options)); // "1 hrs 1 mins 1 secs"
|
|
445
|
+
* ```
|
|
394
446
|
*/
|
|
395
447
|
export declare function FormatElapsedTime(milliseconds: number, options?: IFormatConfig): string;
|
|
396
448
|
//# sourceMappingURL=elapsed-time.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elapsed-time.d.ts","sourceRoot":"","sources":["../../../src/time/elapsed-time/elapsed-time.ts"],"names":[],"mappings":"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"}
|