1.2.1 • Published 4 years ago
awesome-js-utility v1.2.1
Javascript Utility.
| Function | Description |
|---|---|
| sleep | sleep with millisecond in async await |
| roundToDecimal | round number to decimal number |
| getRandomKey | get random key with specified charset and length |
| isInternetExplorer | check the browser if internet explorer |
| isSafari | check the browser if is safari |
| mergeObjectWithArrayOverWrite | merge objects with array overwrite |
| checkModifiedFields | compare two objects and find out the new key or update based on the first object |
| trimArray | cut array to the length specified |
| equalsIgnoreCase | compare two string without upper or lower case string |
Using npm
yarn add awesome-js-utility