Monkey Utils

Useful library with JavaScript utilities.

Dette script bør ikke installeres direkte. Det er et bibliotek, som andre scripts kan inkludere med metadirektivet // @require https://update.greasyfork.org/scripts/405813/821710/Monkey%20Utils.js

Skaber
rafaelgomesxyz
Version
2.2.2
Oprettet
21.06.2020
Opdateret
29.06.2020
Licens
N/A

Useful library with JavaScript utilities.

It simplifies the process of:

  • Getting common time equivalents in milliseconds
  • Getting the plural form of a word based on a number
  • Getting a relative time string for a UNIX time or a number of minutes
  • Getting a date string in the 'yyyy-MM-dd hh:mm:ss UTC' format
  • Checking if a value is set
  • Sleeping for a number of seconds