Skip to content

some commonly used tool functions and react hooks

Notifications You must be signed in to change notification settings

6653302wy/ts-utils

Repository files navigation

@6653302wy/ts-utils

introduce

some commonly used tool functions and react hooks

install

$ npm install @6653302wy/ts-utils

the library structure

lib
├── dom/
│ ├── Browser.ts
│ └── Url.ts
├── net/
│ ├── HttpMgr.ts
│ ├── NetManager.ts
│ └── SocketMgr.ts
├── react-hooks/
│ ├── useEventListener.tsx
│ ├── useIsMounted.tsx
│ ├── useLockBodyScroll.tsx
│ ├── useLongPress.tsx
│ ├── usePortal.tsx
│ ├── useSocket.tsx
│ ├── useTimer.tsx
│ └── useToggle.tsx
└── utils/
│ ├── ArrayUtils.ts
│ ├── Convert.ts
│ ├── DateUtils.ts
│ ├── Device.ts
│ ├── DownloadFile.ts
│ ├── FileParser.ts
│ ├── GetUUID.ts
│ ├── LocalCache.ts
│ ├── LocalStorage.ts
│ ├── MathUtils.ts
│ ├── ObjectUtils.ts
│ ├── PcmPlayer.ts
│ ├── Queue.ts
│ ├── ResourceExists.ts
│ ├── Singleton.ts
│ ├── StringUtils.ts
│ ├── Verify.ts
│ └── WindowEvent.ts

doc

https://6653302wy.github.io/ts-utils/

About

some commonly used tool functions and react hooks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published