bit/utils

PublicMIT
0 Likes

Javascript utility functions delivering modularity and performance

array

Computes the difference between two array references.


0
Pass110.0.1

Returns the first element of an array.


0
Pass00.0.1

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


0
Pass00.0.1

Wraps a value with an array.


0
Pass00.0.1

bit

an ssh client for consuming bit components from a remote scope


0
Pass00.0.1

buffer

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


0
Pass00.0.1

cryptography

encrypt data buffer or string into a sha1 hash


0
Pass00.0.1

function

compose functions into one function from right to left


0
Pass00.0.1

compose functions from left to right


0
Pass00.0.1

kubernetes

Convert bit id to acceptable kubernetes job name


0
Pass00.0.1

number

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


0
Pass00.0.1

object

Cleans all object’s properties that contains a falsy value


0
Pass00.0.1

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


0
Pass00.0.1

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


0
Pass00.0.1

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


0
Pass00.0.1

Determines whether the object has the specified property.


0
Pass00.0.1

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


0
Pass00.0.1

Merges multiple objects into one


0
Pass00.0.1

merge an array of objects


0
Pass00.0.1

get all object values.


0
Pass00.0.1

redis

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


0
Pass00.0.1

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


0
Pass00.0.1

ssh


0
Pass00.0.1

string

cleans the first occurence of char from str reference.


0
Pass00.0.1

determines whether string str ref contains substring searchRef.


0
Pass00.0.1

decode a string from base64


0
Pass00.0.1

pad a string to the left.


0
Pass00.0.1

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


0
Pass00.0.1

encode a string or a buffer to base64


0
Pass00.0.1

validation

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


0
Pass00.0.1

simple email validator


0
Pass00.0.1

determines whether val reference is null or undefined.


0
Pass00.0.1

determiens whether val is a number.


0
Pass00.0.1

detemines whether str is a string.


0
Pass00.0.1