yate-stdlib

0.0.5 • Public • Published

Yate Standard Lib

Batch of usefull helpers for yate

array

  • arr-concat(arr1, arr2)

borschik

cookie

date

  • date-is-today(unix-timestamp)
  • date-is-week-current(unix-timestamp)
  • date-is-yesterday(unix-timestamp)
  • date-now()
  • date-today-date()

math

  • math-abs(number)
  • math-random()
  • math-round(number)
  • math-sum(nodeset)

modernizr

string

  • encode-uri-component(str)
  • str-contains(str, substr)
  • str-length(str)
  • str-substr(str, start, length)
  • str-substr-after(str, search)
  • str-substr-before(str, search)
  • str-to-lower(str)
  • str-to-upper(str)

/yate-stdlib/

    Package Sidebar

    Install

    npm i yate-stdlib

    Weekly Downloads

    6

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • doochik