utils

LICENSE
MIT
VISIBILITY
Public
subjectJavascript utility functions delivering modularity and performance. Shared from: https://github.com/teambit/bit.utils
Like
5 collaborators
compose()
utils / function
compose
v1.0.0
compose functions into one function from right to left
Build: Pass
public
mit
forEach( { a: 1, b: 2, c: 3 }, (val, key) => console.log(key, val)
utils / object
for-each
v1.0.0
Invoke a function for every key within given object or array...
Build: Pass
public
mit
contains("foo bar", "bar"); // => true contains("foo", "bar"); // => false
utils / string
contains
v1.0.0
determines whether string `str` ref contains substring `sear...
Build: Pass
public
mit
getData()
utils / redis
get-data
v1.0.0
Returns a Promise resolved with the values associated with t...
Build: Pass
public
mit
mergeAll()
utils / object
merge-all
v1.0.0
merge an array of objects
Build: Pass
public
mit
diff([1, 2, 3], [1, 2, 3, 4, 5]); // => [4,5]
utils / array
diff
v1.0.0
Computes the difference between two array references.
Build: Pass
public
mit
observer()
utils / events
observer
v0.0.1
list of observers to dispatch by event.
Build: Pass
public
mit
from()
utils / buffer
from
v1.0.0
A ponyfill for Buffer.from, uses native implementation if av...
Build: Pass
public
mit
new cleaned object clean({ foo: null, bar: 'foo' }) // => { bar: 'foo' }
utils / object
clean
v1.0.0
Cleans all object's properties that contains a falsy value ...
Build: Pass
public
mit
removeNewLines()
utils / string
remove-new-lines
v1.0.0
remove all new lines from a string (do not mutate the string...
Build: Pass
public
mit
toKubeformat()
utils / kubernetes
to-kubeformat
v1.0.0
Convert bit id to acceptable kubernetes job name
Build: Pass
public
mit
pipe( func1, func2, func3
utils / function
pipe
v1.0.0
compose functions from left to right
Build: Pass
public
mit