jrTilak / lazykit

Refine your JavaScript workflows with Lazykit. A concentrated collection of lean utility functions, not a bloated library.
https://lazykit.thapatilak.com.np
MIT License
6 stars 2 forks source link

v1.0.2 #66

Closed jrTilak closed 4 months ago

jrTilak commented 4 months ago

More methods

Funtional

callAfter : Returns a new function that can be called only after calling a specific number of times.

callBefore : Returns a new function that can be called only for specific number of times.

nTimes : Calls a function n times and returns an array of the results.

once : Returns a new function that can be called only once.

Objects

omit : Returns a new object with the specified keys omitted.

pick : Picks the specified keys from an object.

renameKey : Renames a key in an object.

sampleObj : Returns a sample object with the specified keys and values as random numbers.

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lazykit-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2024 1:49am