Skip to content

vovchisko/fu-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fu-tools

npm version License: MIT Made in Ukraine

Lightweight lodash-like utility library with all essentials in once place.

Maybe a bit less rich, but also less archaic.

Some functions behave differently from classic lodash. I warned you.

Why?

Load time on my microwave was critical enough to invent a cycle.

(lodash in NodeJS env loaded for 2 seconds)

What is inside?

Most of lodash basics and a few small things we often have to copy-paste vibe-code.

See 👉Documentation for everything.

Install

npm i fu-tools

Usage

import { shortId, wait, sha256, isPlainObject } from 'fu-tools'

const merged = extend({}, source1, source2)  // Deep merge
const id = shortId()  // Random ID
await wait(1000)  // Promise-based delay

// blah-blah-blah more examples...

You got the idea.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors