yate-stdlib

Yate Standard Lib

npm install yate-stdlib
5 downloads in the last day
42 downloads in the last week
98 downloads in the last month

Yate Standard Lib

Batch of usefull helpers for yate

array

  • arr-concat(arr1, arr2)

borschik

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)
npm loves you