15 packages matching “amxdev”
@amxdev/format-bytes
v1.0.1 · 1 year ago
Format bytes as human-readable string (e.g. 2.5 MB).
No known vulnerabilities
@amxdev/throttle
v1.0.0 · 1 year ago
Throttle a function to limit calls within a time frame.
No known vulnerabilities
@amxdev/is-empty
v1.0.0 · 1 year ago
Utility to check if a value is empty (null, undefined, string, array, or object)
No known vulnerabilities
@amxdev/debounce
v1.0.0 · 1 year ago
Create a debounced version of a function.
No known vulnerabilities
@amxdev/validate-email
v1.0.0 · 1 year ago
Check if a string is a valid email address.
No known vulnerabilities
@amxdev/memoize
v1.0.0 · 1 year ago
Memoize a pure function to cache results.
No known vulnerabilities
@amxdev/truncate-text
v1.0.0 · 1 year ago
Truncate long text to a maximum length with ellipsis.
No known vulnerabilities
@amxdev/random-id
v1.0.0 · 1 year ago
Generate a random alphanumeric string ID.
No known vulnerabilities
@amxdev/merge-deep
v1.0.0 · 1 year ago
Recursively merge two or more objects deeply.
No known vulnerabilities
@amxdev/snake-to-camel
v1.0.0 · 1 year ago
Convert snake_case string to camelCase.
No known vulnerabilities
@amxdev/sleep
v1.0.0 · 1 year ago
Pause execution for specified milliseconds.
No known vulnerabilities
@amxdev/camel-to-snake
v1.0.0 · 1 year ago
Convert camelCase string to snake_case.
No known vulnerabilities
@amxdev/deep-clone
v1.0.0 · 1 year ago
Deep clone any object using JSON method.
No known vulnerabilities
@amxdev/chunk-array
v1.0.0 · 1 year ago
Split an array into chunks of specified size.
No known vulnerabilities
@amxdev/group-by
v1.0.0 · 1 year ago
Group an array of objects by a key.
No known vulnerabilities