Batch of usefull helpers for yate
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
array.js
array.yate
borschik.js
borschik.yate
cookie.js
cookie.yate
date.js
date.yate
math.js
math.yate
modernizr.js
modernizr.yate
package.json
string.js
string.yate

README.md

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)