@tyler.thayn/js.core
v0.14.2
Published
TTS Design's javascript core libraries for GScript, NodeJS & Browser implementations
Downloads
47
Readme
Array
Difference(lists)=> {array}
Flatten(depth)=> {array}
From(value)=> {array}
IsArray(object)=> {boolean}
first
head
last
tail
Delete(elements, array)
DeleteAt(indexes, array)
Difference(lists)=> {array}
Intersection(lists)=> {array}
Omit(elements)=> {array}
OmitAt(indexes)=> {array}
Pick(elements)=> {array}
Shuffle()
Union(lists)=> {array}
Unique(lists)=> {array}
Xor(lists, array)
Function
Debug(name, logFn, (callback})
Delay(time, cb, args)
Noop()
Object
Extensions
EventEmitter()
Clone()=> {object}
Define(name, value, enumerable)=> {object}
Each(fn, this)
Extend(source)=> {object}
Filter(paths)=> {object}
Get(path, default)=> {*}
Has(paths)=> {boolean}
Includes(paths)=> {boolean}
IsEqual(objects)=> {boolean}
Keys()=> {array}
Merge(sources)=> {object}
Mixin(overwrite, klass, keys)
Omit(paths)=> {object}
Paths(depth, paths)
Pick(paths)=> {object}
Set(path, value)=> {object}
toQueryString(options)=> {string}
Trim()=> {object}
Type(compare)=> {string|boolean}
String
AsAscii()=> {string}
AsBase64()=> {string}
AsUrlMatch()=> {string}
CamelCase(UpperCamel)=> {string}
Capitalize(AllWords)=> {string}
Hash(type)=> {string}
IsBase64()=> {boolean}
IsEmpty()=> {boolean}
IsJson()=> {boolean}
Pad(length, char, rightPad)=> {string}
Params(options)=> {object}
Render(data)=> {string}
Repeat(n)=> {string}
Globals
Clone(parent)=> {object}
Define(obj, name, value, enumerable)=> {object}
Extend(target, sources)=> {object}
IsEqual(objects)=> {boolean}
JSON(data, pretty)=> {string|object}
Merge(target, sources)=> {object|array}
Type(item, compare)=> {string|boolean}
UUID
Uuid()=> {UUID}
global
log(msg)
logj(object)
UUID