@tyler.thayn/js.core

0.14.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @tyler.thayn/js.core

Weekly Downloads

37

Version

0.14.2

License

MIT

Unpacked Size

709 kB

Total Files

13

Last publish

Collaborators

  • tyler.thayn