Monkey Utils

Useful library with JavaScript utilities.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/405813/821710/Monkey%20Utils.js

Aŭtoro
rafaelgomesxyz
Versio
2.2.2
Kreita
2020/06/21
Ĝisdatigita
2020/06/29
Licenco
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