8000 GitHub - ajiu9/comuse: A library of commonly used utility functions · GitHub
[go: up one dir, main page]

Skip to content
ajiu9Public

About

A library of commonly used utility functions

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

NPM version NPM Downloads Docs & Demos
GitHub stars

some of the copy from vueuse

🚀 Features

🦄 Usage

import { useThrottle } from 'comuse-core'

const throttledFn = useThrottle(() => {
  // do something, it will be called at most 1 time per second
}, 1000)

window.addEventListener('resize', throttledFn)

Refer to functions list or documentations for more details.

📦 Install

npm i comuse

🧱 Contribute

See the Contributing Guide

📄 License

MIT License © 2024-PRESENT Ajiu9

About

A library of commonly used utility functions

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0