@hd-sh/util
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

util

Example Usage

const Util, { isIOS,.... } = require('@hd-sh/util')

Util.getStyle

isIOS

or

const { isIOS, getStyle,.... } = require('@hd-sh/util')
isIOS
getStyle('dom','xx')
  isIOS,
  isAndroid,
  isIE,
  delay,
  sleep,
  generateRange,
  importScript,
  makeCancelablePromise,
  formatRequestData,
  formatPhoneDisplay,
  phoneDesensitize,
  throttle,
  stabilization,
  debounce,
  copyText,
  generateUuid,
  isEmptyArray,
  isEmptyObject,
  isEmptyValue,
  isGeneratorFunction,
  isNotNumber,
  noopValidator,
  patterns,
  validators,
  typeFn,
  sum,
  getStyle,
  getURLParams,
  formatSearchValue,
  getElementOffset,
  getStorageData,
  setStorageData,
  getSessionData,
  setSessionData,

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @hd-sh/util

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

28.9 kB

Total Files

16

Last publish

Collaborators

  • chengheai