Skip to main content
Module

x/careful/deps.ts

Safe containerization of values for TypeScript
Latest
import * as careful from "https://deno.land/x/careful@v0.1.0/deps.ts";

Namespaces

Generators and validators for UUIDs for versions v1, v4 and v5.

Functions

Check if the passed UUID is the nil UUID.

Generates a RFC4122 v1 UUID (time-based).

Validates the UUID v1.

Validate that the passed UUID is an RFC4122 v4 UUID.

Generate a RFC4122 v5 UUID (SHA-1 namespace).

Validate that the passed UUID is an RFC4122 v5 UUID.

Test a string to see if it is a valid UUID.

Detect RFC version of a UUID.

Interfaces

The options used for generating a v1 UUID.