utils
Javascript utility functions delivering modularity and performance. Shared from: https://github.com/teambit/bit.utils
Collaborators
Gravatar for undefinedGravatar for undefinedGravatar for undefined
1
MIT
PUBLIC
All (36)
All (36)
array (4)
bit (1)
buffer (1)
cryptography (1)
file (1)
function (2)
kubernetes (1)
number (1)
object (9)
redis (2)
ssh (1)
string (7)
validation (5)
Main components (36)
Main components (36)
All components (36)

Computes the difference between two array references.

14
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Returns the first element of an array.

11
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Builds a new collection by applying a function to all elements of

10
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Wraps a value with an array.

10
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

an ssh client for consuming bit components from a remote scope

10
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

A ponyfill for Buffer.from, uses native implementation if available.

10
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

encrypt data buffer or string into a sha1 hash

10
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Recieves a file path and returns the file name

15
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

compose functions into one function from right to left

10
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

compose functions from left to right

10
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Convert bit id to acceptable kubernetes job name

11
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Returns a number whose value is limited to the given range.

10
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Cleans all object’s properties that contains a falsy value

10
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Creates a new object by recursively evolving a shallow copy of object,

10
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Invoke a function for every key within given object or array.

10
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Creates an object composed of keys generated from the results of running

129
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Determines whether the object has the specified property.

126
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Returns the results of applying the iteratee to each element of the object.

189
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Merges multiple objects into one

02
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

merge an array of objects

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

get all object values.

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Returns a Promise resolved with the values associated with the specified fields in the hash stored at key.

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Returns a Promise resolved with the values associated with the specified fields in the hash stored at key.

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined
No description found
00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

cleans the first occurence of char from str reference.

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

determines whether string str ref contains substring searchRef.

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

decode a string from base64

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

pad a string to the left.

07
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

remove all new lines from a string (do not mutate the string but return new instance)

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

Checks whether the string start with on the options specified.

017
Total downloads
Build: pass
Gravatar for undefined

encode a string or a buffer to base64

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

determines whether obj reference is empty (empty array, empty object and/or falsy values)

04
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

simple email validator

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

determines whether val reference is null or undefined.

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

determiens whether val is a number.

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined

detemines whether str is a string.

00
Total downloads
Build: pass
Gravatar for undefinedGravatar for undefined