1.3.8 • Published 4 years ago

@reverse/utils v1.3.8

Weekly downloads
17
License
-
Repository
-
Last release
4 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

4 years ago

1.3.7

4 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago