Skip to content

daybrush/utils

Repository files navigation

@daybrush/utils npm version

utils for Daybush

API Documentation

$ npm i @daybrush/utils
import {TRANSFORM, requestAnimationFrame, splitComma} from "@daybrush/utils";
  • document
  • OBJECT
  • PROPERTY
  • STRING
  • UNDEFINED
  • FUNCTION
  • ARRAY
  • IS_WINDOW
  • TRANSFORM
  • FILTER
  • ANIMATION
  • KEYFRAMES
  • getCrossBrowserProperty
  • now
  • requestAnimationFrame
  • RGB
  • RGBA
  • HSL
  • HSLA
  • COLOR_MODELS
  • cutHex
  • hexToRGBA
  • hslToRGBA
  • stringToRGBA
  • toFullHex
  • $
  • hasClass
  • removeClass
  • addClass
  • fromCSS
  • splitUnit
  • splitComma
  • splitSpace
  • splitBracket
  • isUndefined
  • isFunction
  • isObject
  • isArray
  • isString
  • camelize
  • decamelize
  • toArray
  • dot