Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@flekschas/utils

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flekschas/utils - npm Package Versions

flekschas
published 0.11.0 •

Changelog

Source

v0.11.0

  • Add tested matrixMeanCol() and matrixMeanRow() to matrix
  • Add customizable getter to sortPos() and argSort()
flekschas
published 0.10.0 •

Changelog

Source

v0.10.0

  • Add hexToRgbArray, hexToRgbaArray, rgbStrToRgbArray, rgbaStrToRgbaArray, rgbStrToDec, rgbToHex, and toRgbaArray to color
  • Add isHex(), isNormFloat(), isNormFloatArray(), isRgbArray(), isRgbaArray(), isRgbStr(), isRgbaStr(), isString(), isUint8(), and isUint8Array to type-checking
  • Add tests for deepClone()
  • Rename hexStrToDec() to hexToDec()
  • Fix deepClone() to properly clone getter/setter instead of just cloning the value
flekschas
published 0.9.0 •

Changelog

Source

v0.9.0

  • Add createHtmlByTemplate(template) to dom
flekschas
published 0.8.0 •

Changelog

Source

v0.8.0

  • Add removeAllChildren(node) to dom
flekschas
published 0.7.1 •

Changelog

Source

v0.7.1

  • Expose array utils
flekschas
published 0.7.0 •

Changelog

Source

v0.7.0

  • Add array2dTranspose() to array
flekschas
published 0.6.0 •

Changelog

Source

v0.6.0

  • Add nextAnimationFrame() to timing
flekschas
published 0.5.0 •

Changelog

Source

v0.5.0

  • Rename withReadOnlyProperty() to withStaticProperty()
  • Add non-static version of withReadOnlyProperty()
flekschas
published 0.4.0 •

Changelog

Source

v0.4.0

  • Rename dist() to l2PointDist()
  • Add lPointDist() and l1PointDist()
  • Add tests for point and vector distance functions
flekschas
published 0.3.0 •

Changelog

Source

v0.3.0

  • Change the signature of interpulateNumber and interpulateNumber from *(a, b)(p) to *(a, b, p)
  • Add tests for animation utils