0.14.0 • Published 4 years ago

understreck v0.14.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

understreck

Lightweight Javascript utility functions library without global dependency. Based on lodash.

Functions

debounce: See lodash
defer: See lodash
not: See lodash
throttle: See lodash
wrap: See lodash

Array

difference: See lodash
differenceBy: See lodash
distinct: See lodash
take: See lodash
union: See lodash
unique: See lodash
uniqueBy: See lodash

Object/Map

extend: See lodash
keys: See lodash
merge: See lodash, but does not mutate objects.
omit: See lodash
pick: See lodash
size: See lodash
transform: See lodash
values: See lodash
createMap: k1, v1, k2, v2, ... Creates a map with the given key value pairs.

Collections

clone: See lodash
compact: See lodash
find: See lodash
findIndex: See lodash
flatten: See lodash
flattenDeep: See lodash
filter: collection, predicate Returns empty array if collection is undefined, otherwise filters collection using predicate.
forEach: See lodash
get: See lodash
set: See lodash
includes: See lodash
intersection: See lodash
keyBy: See lodash
map: See lodash
reduce: See lodash
reduceRight: See lodash
reject: See lodash
shuffle: See lodash
some: See lodash
sortBy: See lodash
containsValue: [collection, element] Returns true if the collection has element as a value, otherwise false
containsKey: [collection, element] Returns true if the collection has element as a key, otherwise false

Lang

isArray: See lodash
isBoolean: See lodash
isDate: See lodash
isElement: See lodash
isEmpty: See lodash
isEqual: See lodash
isFunction: See lodash
isInteger: See lodash
isNil: See lodash
isNull: See lodash
isNumber: See lodash
isObject: See lodash
isRegExp: See lodash
isString: See lodash
isUndefined: See lodash
parseNumber Parses the given string to a number. Will return null if invalid characters exist.

Misc

uniqueId: [optional prefix] Returns a (hopefully) unique id, based on uuid principles.

0.14.0

4 years ago

0.13.0

5 years ago

0.12.0

5 years ago

0.11.0

5 years ago

0.10.0

5 years ago

0.9.0

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago