@6653302wy/ts-utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

@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/

Readme

Keywords

none

Package Sidebar

Install

npm i @6653302wy/ts-utils

Weekly Downloads

2

Version

1.0.11

License

ISC

Unpacked Size

56.2 kB

Total Files

37

Last publish

Collaborators

  • 6653302wy