Skip to content

bultas/js-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS Toolkit

A set of handy Javascript functions

Example

Pipe

pipe(
  (v) => v + 1,
  (v) => v * 2
)(0)
// 2

Multicond

multiCond(
  ["first", "second", "third"],
  (v) => v == "second"
);
// true

Debounce

const debouncedLog = ((e) => console.log(log), 300);

debouncedLog("something to log")

About

The Vanilla JS Toolkit

Topics

Resources

Stars

Watchers

Forks