🌈 Docs:Concise documentation and demo presentation
⚡ Type:Typescript to provide good type prompt
✨ Tree Shaking:Only import the functions you need
☀️ Flexible:Universal and practical the functions
@Flypeng/tool
will be constantly updated. If you find that the tool functions in the document do not exist or have not been exported during use. The tool can be updated to the latest version in time.
pnpm install @flypeng/tool@latest
All hook function names are prefixed with use
. The advantage of this method is that when importing all tool functions, you will first enter use
to list all hook functions. Cooperate with function related comments to maximize editor prompts.
import { useRandomInteger, useIsMobile, useGetUrlParam } from '@flypeng/tool/browser'