JSLab Standard Library - 2414 downloads so far
The standard library is our collection of general purpose functions and methods. Some extend the native JavaScript objects while others are custom objects we use in our daily work.
There are currently 82 functions in 11 objects.
You are welcome to submit any functions/methods of your own which you think might be beneficial for others.
Unless otherwise noted all code in the JSLab Standard Library is licensed as GPLv3. See http://www.gnu.org/licenses/gpl.html for the entire license.
Alphabetic list
Constants, constructors, functions and methods. Hover the mouse for a description.
- C
- constructor
Cookie (Constructor) - copy
Array (Method)
- D
- decode
Cookie (Function) - defer
Function (Method) - diff
Array (Method) - disable
HTMLFieldSetElement (Method) - disjoint
Array (Method)
- G
- getAllResponseHeaders
XHR (Method) - getArguments
Function (Method) - getBody
Function (Method) - getClientInfo
Error (Function) - getDaysInMonth
Date (Method) - getDaySuffix
Date (Method) - getEventInfo
Error (Function) - getFilename
Error (Function) - getFirstDateInWeek
Date (Function) - getISODay
Date (Method) - getISOWeek
Date (Method) - getLinenumber
Error (Function) - getName
Function (Method) - getNameOfDay
Date (Method) - getNameOfMonth
Date (Method) - getNodesByType
HTMLElement (Method) - getPosition
HTMLElement (Method) - getResponseHeader
XHR (Method) - getStackTrace
Error (Function) - getTimezoneOffset
Date (Method)
- H
- hasScrollbars
HTMLElement (Method)
- I
- insertAfter
HTMLElement (Method) - intersect
Array (Method) - isEnabled
Cookie (Function) - isEnabled
XHR (Function) - isFloat
Number (Method) - isInteger
Number (Method) - isLeapYear
Date (Method)
- L
- levenshtein
String (Method) - lineSeparator
Error (Constant) - logN
Math (Function)
- M
- mapFunction
Array (Method) - mapMethod
Array (Method) - memoize
Function (Method)
- N
- nameOfDays
Date (Constant) - nameOfMonths
Date (Constant) - nbsp2s
String (Method) - nRoot
Math (Function)
- P
- pad
Array (Method) - pairSeparator
Cookie (Constant) - parse
Date (Function)
- R
- randomize
Array (Method) - randomN
Math (Function) - read
Cookie (Function) - remove
Array (Method) - remove
Cookie (Method) - removeErrorHandler
Function (Method) - report
Error (Function) - reset
XHR (Method) - retry
XHR (Method)
- S
- send
XHR (Method) - setErrorHandler
Function (Method) - setISOWeek
Date (Method) - setRequestHeader
XHR (Method) - substrCount
String (Method)
- T
- time
Function (Method) - toHex
Number (Method) - toString
Cookie (Method) - toString
XHR (Method) - trim
String (Method) - trimAll
String (Method) - trimLeft
String (Method) - trimRight
String (Method)
- V
- valueSeparator
Cookie (Constant)
