1.3.8 • Published 6 years ago

@reverse/utils v1.3.8

Weekly downloads
17
License
-
Repository
-
Last release
6 years ago

@reverse/utils

Really simple utility functions used by other @reverse packages

You can install with nodejs and npm

npm i @reverse/utils

Table of Contents

catchFallback

Runs the passed function into a try/catch block, and if it throws an error it will return the second paramater

catchFallback(() => mightThrowAnError(params), 'default');

switchObject

Returns object[key] or object.default

1.3.8

6 years ago

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago