r-common-utils

5.0.8 • Public • Published

常用工具库收藏

  • guid
  • deepClone
  • deepMerge
  • debounce
  • throttle
  • common
  • test
  • dayjs
  • RWebSocket,
  • Imservice

参考demo

import {
	RWebSocket,
	Imservice
} from 'r-common-utils'



let imservice=new Imservice().getInstance({
	api_url: 'https://im.xxx.cn/im_api'
});

let rws = new RWebSocket().getInstance({
	ws_url: 'wss://im.xxx.cn/ws'
})

Dependents (0)

Package Sidebar

Install

npm i r-common-utils

Weekly Downloads

0

Version

5.0.8

License

ISC

Unpacked Size

26.8 kB

Total Files

23

Last publish

Collaborators

  • rowger_go