Skip to content
/ comuse Public

A library of commonly used utility functions

License

ajiu9/comuse

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

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •