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

1.13.0 • Public • Published

@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

Package Sidebar

Install

npm i @daybrush/utils

Weekly Downloads

82,027

Version

1.13.0

License

MIT

Unpacked Size

457 kB

Total Files

34

Last publish

Collaborators

  • younkue