Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ts_serialize/strategy/from_json/date.ts>createDateStrategy

A zero dependency library for serializing data
Latest
function createDateStrategy
import { createDateStrategy } from "https://deno.land/x/ts_serialize@v2.0.3/strategy/from_json/date.ts";

allows authors to pass a regex to parse as a date

Parameters

regex: RegExp