1.2.0 • Published 10 months ago

global-utility-simajji v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

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 NameHow to use
normalizeThe param will be integer, by passing it as normalize(5). It will use the number based on the screen size
isStringEmptyThe param will be a string, passing in will know is it empty.
isObjectEmptyThe param will be object, passing in will know is it empty
isScrollCloseToBottomThe param will be "layoutMeasurement, contentOffset, contentSize"
isScrollCloseToBottomCustomThe param will be "layoutMeasurement, contentOffset, contentSize, custom"
showAcknowledgmentAlertshowAcknowledgmentAlert(x,y,z), put String in x (title), put String in y (message), put String in z (message) .
getTodayDategetTodayDate(), to get current date
getTodayDateTimegetTodayDateTime(x), put Date in x.
convertToStandardAPIDateconvertToStandardAPIDate(x), put Date in x.
isScrollCloseToBottomWill need to pass layoutMeasurement, contentOffset, contentSize
isScrollCloseToBottomCustomWill need to pass layoutMeasurement, contentOffset, contentSize, custom
formatNumberToTwoDecimalPlacesSimply 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.
1.2.0

10 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.0.9

1 year ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago