Generates a new SCRU128 ID encoded in a string using the global generator.
Use this function to quickly get a new SCRU128 ID as a string.
import { scru128String } from "scru128";const x = scru128String();console.log(x); Copy
import { scru128String } from "scru128";const x = scru128String();console.log(x);
The 25-digit canonical string representation.
Generates a new SCRU128 ID encoded in a string using the global generator.
Use this function to quickly get a new SCRU128 ID as a string.
Example