🚀
Available for hire!
Full Stack Web Dev: TypeScript, Node, React, Nextjs, Bun, Git, HTML, CSS, Firebase
-
Weis Guys
- Twin Cities, MN
-
14:58
(UTC -06:00) - @JakeWeisDev
Pinned Loading
-
-
-
TemporalDateUtils.ts
TemporalDateUtils.ts 1import { Temporal } from 'temporal'
23const TemporalDateUtils = ( datelike: string | Date ) => {
4const date = typeof datelike === 'string' ? new Date( datelike ) : datelike
5const datelikeString = typeof datelike === 'string' ? datelike : date.toISOString()
-
partialSafeParse.ts
partialSafeParse.ts 1import { z } from 'zod'
2import { mapValues, omit, pick } from 'lodash'
34function partialSafeParse<Schema extends z.ZodObject<any>> ( schema: Schema, input: unknown ) {
5const result = schema.safeParse( input )
-
Zustand custom persist storage template
Zustand custom persist storage template 1import { createStore } from 'zustand'
2import { persist, StorageValue } from 'zustand/middleware'
34const store = createStore(
5persist(
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.