Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@daybrush/utils

daybrush376.8kMIT1.13.0TypeScript support: included

utils for daybrush

daybrush, utils, dom, css, color, rgba, hsla, splitSpace, splitQuoto, splitComma, splitBracket, camelize, decamelize, now, requestAnimationFrame, cancelAnimationFrame, transform, filter, animation, crossbrowser, rgb, hsl, isUndefined, isFunction, isString, isNumber, dot, find, findIndx

readme

@daybrush/utils npm version

utils for Daybush

API Documentation

$ npm i @daybrush/utils
import {TRANSFORM, requestAnimationFrame, splitComma} from "@daybrush/utils";

Consts

  • document
  • OBJECT
  • PROPERTY
  • STRING
  • UNDEFINED
  • FUNCTION
  • ARRAY
  • IS_WINDOW

Cross Browser

  • TRANSFORM
  • FILTER
  • ANIMATION
  • KEYFRAMES
  • getCrossBrowserProperty
  • now
  • requestAnimationFrame

Color

  • RGB
  • RGBA
  • HSL
  • HSLA
  • COLOR_MODELS
  • cutHex
  • hexToRGBA
  • hslToRGBA
  • stringToRGBA
  • toFullHex

DOM

  • $
  • hasClass
  • removeClass
  • addClass
  • fromCSS

Utils

  • splitUnit
  • splitComma
  • splitSpace
  • splitBracket
  • isUndefined
  • isFunction
  • isObject
  • isArray
  • isString
  • camelize
  • decamelize
  • toArray
  • dot