Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/realtime/src/lib/transformers.ts

An isomorphic Javascript client for Supabase Realtime server.
Latest
import * as realtime from "https://deno.land/x/realtime@1.2.0/src/lib/transformers.ts";

Enums

Helpers to convert the change Payload into native JS types.

Variables

If the value of the cell is null, returns null. Otherwise converts the string value to the correct type.

Takes an array of columns and an object of string values then converts each string value to its mapped type.

Converts the value of an individual column.

Converts a Postgres Array into a native JS array

Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T' See https://github.com/supabase/supabase/issues/18