1.7.3 • Published 9 months ago
@jkob/common v1.7.3
Sleep function
import { sleep } from '@jkob/common';
await sleep(2000); // in milliseconds
String methods
import { str } from '@jkob/common';
const { fixedLength, textToId, normalize } = str;
fixedLength(10, "..", true);
normalize("..")
textToId("..")