Monkey Utils

Useful library with JavaScript utilities.

Detta skript bör inte installeras direkt. Det är ett bibliotek för andra skript att inkludera med meta-direktivet // @require https://update.greasyfork.org/scripts/405813/821710/Monkey%20Utils.js

Skapare
rafaelgomesxyz
Version
2.2.2
Skapad
2020-06-21
Uppdaterad
2020-06-29
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