2.4.1 • Published 1 year ago

@geektech/utils v2.4.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

utils

Dev

pnpm dev

Build

pnpm build

Test

pnpm test

Usage

Common

type

isArray(obj)

debounce

debounce(callback, delay)

throttle

throttle(callback, delay)

deepClone

deepClone(source)

memoize

memoize(callback)

timeFormat

timeFormat(time, format); // "yyyy-MM-dd hh:mm:ss"

Web

copyToClipboard

copyToClipboard(text); 

Model

EnumModel

const enums = new EnumModel(); 
enums.addEnum(value, display, alias)
2.4.1

1 year ago

2.3.1

1 year ago

2.2.1

1 year ago

2.2.0

2 years ago

2.1.0

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago