global-utility-simajji
v1.2.0
Published
Global Utility for fast access and installation
Downloads
19
Readme
Global-Util-Simajji
Founder: Noah Yek Npm link: https://www.npmjs.com/package/global-utility-simajji
Installation Guides
- yarn add global-utility-simajji
- npm i global-utility-simajji
| Function Name | How to use | | ------------------------------ | --------------------------------------------------------------------------------------------------------------- | | normalize | The param will be integer, by passing it as normalize(5). It will use the number based on the screen size | | isStringEmpty | The param will be a string, passing in will know is it empty. | | isObjectEmpty | The param will be object, passing in will know is it empty | | isScrollCloseToBottom | The param will be "layoutMeasurement, contentOffset, contentSize" | | isScrollCloseToBottomCustom | The param will be "layoutMeasurement, contentOffset, contentSize, custom" | | showAcknowledgmentAlert | showAcknowledgmentAlert(x,y,z), put String in x (title), put String in y (message), put String in z (message) . | | getTodayDate | getTodayDate(), to get current date | | getTodayDateTime | getTodayDateTime(x), put Date in x. | | convertToStandardAPIDate | convertToStandardAPIDate(x), put Date in x. | | isScrollCloseToBottom | Will need to pass layoutMeasurement, contentOffset, contentSize | | isScrollCloseToBottomCustom | Will need to pass layoutMeasurement, contentOffset, contentSize, custom | | formatNumberToTwoDecimalPlaces | Simply put in the decimal and it will know |
To Publish new version
- To change the version number in package.json, on the command line, in the package root directory, run the following command, replacing <update_type> with one of the semantic versioning release types (patch, major, or minor):
- Run npm publish.
- Go to your package page (https://npmjs.com/package/) to check that the package version has been updated.