Articles tagged in: JavaScript



JavaScript — How to Check if a Value is a ULID

We’re using Universally Unique Lexicographically Sortable Identifier (ULID) in our projects to identify entities. ULIDs are unique, sortable identifiers similar to UUIDs. The claim that ULIDs are better than UUIDs is that they are sortable, keeping a monotonic sort order, encoded as a 26-character string (36 characters for UUIDs) …

Continue Reading

JavaScript — Get Battery Status

Browsers become powerful when it comes to interacting with the user’s system. For example, the Battery API allows you to retrieve information about the system’s battery charge level. You may check whether a device is charging and has enough energy. This tutorial shows you how to retrieve the …

Continue Reading
Page 1 of 15

Explore the Library

Find interesting tutorials and solutions for your problems.