1414 <img src="https://img.shields.io/coveralls/github/techmmunity/utils/master?style=for-the-badge" alt="Coveralls">
1515</a >
1616<a href =" https://github.com/techmmunity/utils/actions/workflows/coverage.yml " >
17- <img src="https://img.shields.io/github/workflow/status/techmmunity/utils/tests ?label=tests&logo=github&style=for-the-badge" alt="Tests">
17+ <img src="https://img.shields.io/github/workflow/status/techmmunity/utils/Collect%20Coverage ?label=tests&logo=github&style=for-the-badge" alt="Tests">
1818</a >
1919<a href =" https://www.npmjs.com/package/@techmmunity/utils " >
2020 <img src="https://img.shields.io/npm/v/@techmmunity/utils.svg?color=CC3534&style=for-the-badge" alt="Npm">
3030
3131Package of utils, make in a way to let you import only the functions that you really need, so it doesn't make your project heavier than it needs to be.
3232
33- | function | description |
34- | ---------------------- | ---------------------------------------------------------------------- |
35- | ` cleanObj ` | Remove undefined and null values from an object |
36- | ` getArrayUniqueValues ` | Remove duplicated values of an array (only work with primitive values) |
37- | ` getTypeof ` | Fix native "typeof" |
38- | ` hasRequiredEnvVars ` | Verify if all env vars are defined |
39- | ` isEmptyArray ` | Checks if is an array and it's empty |
40- | ` isEmptyObject ` | Checks if is an object and it's empty |
41- | ` isNotEmptyArray ` | Checks if is an array and it's NOT empty |
42- | ` isNotEmptyObject ` | Checks if is an object and it's NOT empty |
43-
4433## Install
4534
4635With Yarn:
@@ -55,8 +44,16 @@ With NPM:
5544npm i @techmmunity/utils
5645```
5746
58- ## How to contribute?
47+ # Docs
5948
60- All the details about contributing to the project are [ described here] ( https://github.com/techmmunity/utils/blob/master/CONTRIBUTING.md ) .
61-
62- ## Documentation
49+ | function | description |
50+ | ---------------------- | ---------------------------------------------------------------------- |
51+ | ` cleanObj ` | Remove undefined and null values from an object |
52+ | ` getArrayUniqueValues ` | Remove duplicated values of an array (only work with primitive values) |
53+ | ` getEnumValues ` | Return the enum values |
54+ | ` getTypeof ` | Fix native "typeof" |
55+ | ` hasRequiredEnvVars ` | Verify if all env vars are defined |
56+ | ` isEmptyArray ` | Checks if is an array and it's empty |
57+ | ` isEmptyObject ` | Checks if is an object and it's empty |
58+ | ` isNotEmptyArray ` | Checks if is an array and it's NOT empty |
59+ | ` isNotEmptyObject ` | Checks if is an object and it's NOT empty |
0 commit comments