Package Exports
- @techmmunity/utils
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@techmmunity/utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Package 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.
| function | description |
|---|---|
cleanObj |
Remove undefined and null values from an object |
getArrayUniqueValues |
Remove duplicated values of an array (only work with primitive values) |
getTypeof |
Fix native "typeof" |
hasRequiredEnvVars |
Verify if all env vars are defined |
isEmptyArray |
Checks if is an array and it's empty |
isEmptyObject |
Checks if is an object and it's empty |
isNotEmptyArray |
Checks if is an array and it's NOT empty |
isNotEmptyObject |
Checks if is an object and it's NOT empty |
Install
With Yarn:
yarn add @techmmunity/utilsWith NPM:
npm i @techmmunity/utilsHow to contribute?
All the details about contributing to the project are described here.