repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/tabs.tsx
packages/docs/components/tabs.tsx
"use client"; import { Primitive, Tab, type TabsProps } from "fumadocs-ui/components/tabs"; import React from "react"; interface ChildProps { title: string; children: React.ReactNode; } const Tabs = ({ children, ...rest }: TabsProps) => { const validChildren = React.Children.toArray(children) .filter(React...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/silver.tsx
packages/docs/components/silver.tsx
export const Silver = () => { const companies = [ { name: "Subtotal", logoSrc: "https://avatars.githubusercontent.com/u/176449348?s=200&v=4", url: "subtotal.com", href: "https://www.subtotal.com/?utm_source=zod", },{ name: "Nitric", logoSrc: "https://avatars.githubuserconte...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/codec-image.tsx
packages/docs/components/codec-image.tsx
"use client"; import Image from "next/image"; interface ThemedImageProps { lightSrc: string; darkSrc: string; alt: string; className?: string; } export function ThemedImage({ lightSrc, darkSrc, alt, className }: ThemedImageProps) { return ( <div className={`relative ${className || ""}`}> {/* Ligh...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/hero-logo.tsx
packages/docs/components/hero-logo.tsx
"use client"; import Image from "next/image"; import { useState } from "react"; interface HeroLogoProps { className?: string; } export function HeroLogo({ className }: HeroLogoProps) { const [isLoaded, setIsLoaded] = useState(false); return ( <div className={`relative ${className || ""}`} style={{ height:...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/accordion.tsx
packages/docs/components/accordion.tsx
"use client"; import * as AccordionPrimitive from "@radix-ui/react-accordion"; import { ChevronRight } from "lucide-react"; import { type ComponentPropsWithoutRef, forwardRef } from "react"; export const Accordion = forwardRef< HTMLDivElement, Omit<ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>, "value"...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/bronze.tsx
packages/docs/components/bronze.tsx
export const Bronze = () => { const companies = [ { name: "Val Town", logoSrc: "https://github.com/user-attachments/assets/95305fc4-4da6-4bf8-aea4-bae8f5893e5d", url: "val.town", href: "https://www.val.town/", }, { name: "Route4Me", logoSrc: "https://avatars.githubuserc...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/copy-markdown-button.tsx
packages/docs/components/copy-markdown-button.tsx
"use client"; import { Check, Copy } from "lucide-react"; import { useState } from "react"; interface CopyMarkdownButtonProps { content: string; className?: string; } export function CopyMarkdownButton({ content, className = "" }: CopyMarkdownButtonProps) { const [copied, setCopied] = useState(false); const...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/heading.tsx
packages/docs/components/heading.tsx
"use client"; import { Link as LinkIcon } from "lucide-react"; import Link from "next/link"; import type { ComponentPropsWithoutRef } from "react"; type Types = "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; type HeadingProps<T extends Types> = Omit<ComponentPropsWithoutRef<T>, "as"> & { as?: T; }; export function Headi...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/scroller.tsx
packages/docs/components/scroller.tsx
// app/RouteChangeListener.tsx "use client"; import { usePathname, useSearchParams } from "next/navigation"; import { useEffect } from "react"; export default function Scroller() { const pathname = usePathname(); const searchParams = useSearchParams(); // const firstRender = useRef(true); // run after every ...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/inkeep-search.tsx
packages/docs/components/inkeep-search.tsx
"use client"; import { InkeepModalSearchAndChat, type InkeepModalSearchAndChatProps } from "@inkeep/cxkit-react"; import type { SharedProps } from "fumadocs-ui/components/dialog/search"; import { useEffect, useState } from "react"; export default function InkeepSearchBox(props: SharedProps) { const [syncTarget, set...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/themed-image.tsx
packages/docs/components/themed-image.tsx
"use client"; import Image from "next/image"; interface ThemedImageProps { lightSrc: string; darkSrc: string; alt: string; className?: string; } export function ThemedImage({ lightSrc, darkSrc, alt, className }: ThemedImageProps) { return ( <div className={`relative ${className || ""}`}> {/* Ligh...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/sidebar-item.tsx
packages/docs/components/sidebar-item.tsx
"use client"; import type { PageTree } from "fumadocs-core/server"; import { SidebarItem as InternalSidebarItem, SidebarSeparator as InternalSidebarSeparator, } from "fumadocs-ui/layouts/docs/sidebar"; const Tags: Record<string, string> = { "/packages/core": "New", "/packages/mini": "New", "/json-schema": "...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/components/gold.tsx
packages/docs/components/gold.tsx
export const Gold = () => { const companies = [ { name: "Courier", description: "The API platform for sending notifications", logoDark: "https://github.com/user-attachments/assets/6b09506a-78de-47e8-a8c1-792efe31910a", logoLight: "https://github.com/user-attachments/assets/6b09506a-78de-47...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/loaders/get-llm-text.ts
packages/docs/loaders/get-llm-text.ts
import * as fs from "node:fs/promises"; import * as path from "node:path"; import type { source } from "@/loaders/source"; import type { InferPageType } from "fumadocs-core/source"; import { remarkInclude } from "fumadocs-mdx/config"; import matter from "gray-matter"; import { remark } from "remark"; import remarkGfm f...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/loaders/stars.ts
packages/docs/loaders/stars.ts
const GITHUB_TOKEN = process.env.GITHUB_TOKEN!; const API_URL = "https://api.github.com/graphql"; export async function fetchStars(resources: { slug: string; stars?: number }[]) { try { if (resources.length === 0) return; const uniqueSlugs = Array.from( new Set( resources .filter((r) ...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/docs/loaders/source.ts
packages/docs/loaders/source.ts
import { blogPosts, docs } from "@/.source"; import { loader } from "fumadocs-core/source"; import { createMDXSource } from "fumadocs-mdx"; import { icons } from "lucide-react"; import { createElement } from "react"; // `loader()` also assign a URL to your pages // See https://fumadocs.vercel.app/docs/headless/source-...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/tsc/extend.ts
packages/tsc/extend.ts
// import * as z from "zod/v4"; // const Type1 = z.object({}); // let test1: z.infer<typeof Type1>; // const Type2 = Type1.extend({}); // let test2: z.infer<typeof Type2>; // const Type3 = Type2.extend({}); // let test3: z.infer<typeof Type3>; // const Type4 = Type3.extend({}); // let test4: z.infer<typeof Type4>; ...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/tsc/bisect.ts
packages/tsc/bisect.ts
import { $ } from "execa"; import * as gen from "./generate.js"; // detect control c and process.exit() process.on("SIGINT", () => { for (const proc of procs) { if (proc.killed) continue; console.log(`killing ${proc.pid}`); proc.kill(); } throw new Error("Exiting..."); }); /** * Target: 300 * 1, ...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/tsc/generate.ts
packages/tsc/generate.ts
import { mkdirSync, writeFileSync } from "node:fs"; import { dirname } from "node:path"; export const ZOD = { imports: [`import * as z from "zod/v4";`], schemaType: "z.object" as const, valueTypes: [`z.string()`], }; export const ZOD3 = { imports: [`import * as z from "zod3";`], schemaType: "z.object" as co...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/tsc/bench/string.ts
packages/tsc/bench/string.ts
import { execa } from "execa"; const $ = execa({ stdout: "inherit", stderr: "inherit" }); import * as gen from "../generate.js"; console.log("╔════════════════╗"); console.log("║ Zod v3 ║"); console.log("╚════════════════╝"); await gen.generate({ ...gen.ZOD3, numSchemas: 0, numKeys: 0, custom: ` exp...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/tsc/bench/lots-of-objects.ts
packages/tsc/bench/lots-of-objects.ts
import { execa } from "execa"; const $ = execa({ stdout: "inherit", stderr: "inherit" }); import * as gen from "../generate.js"; const SHARED = { numSchemas: 500, numKeys: 5, numExtends: 1, }; console.log("╔════════════════╗"); console.log("║ Zod v3 ║"); console.log("╚════════════════╝"); await gen.gene...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/tsc/bench/object-with-extend.ts
packages/tsc/bench/object-with-extend.ts
import { execa } from "execa"; const $ = execa({ stdout: "inherit", stderr: "inherit" }); import * as gen from "../generate.js"; console.log("╔════════════════╗"); console.log("║ Zod v3 ║"); console.log("╚════════════════╝"); await gen.generate({ ...gen.ZOD3, schemaType: "z.object", numSchemas: 1, num...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/tsc/bench/strongly-connected.ts
packages/tsc/bench/strongly-connected.ts
import { execa } from "execa"; const $ = execa({ stdout: "inherit", stderr: "inherit" }); import * as gen from "../generate.js"; console.log("╔════════════════╗"); console.log("║ Zod v4 ║"); console.log("╚════════════════╝"); await gen.generate({ ...gen.ZOD, schemaType: "z.object", numSchemas: 500, nu...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/tsc/bench/index.ts
packages/tsc/bench/index.ts
import { execa } from "execa"; const $ = execa({ stdout: "inherit", stderr: "inherit" }); async function run() { const fileNames = process.argv[2]; if (!fileNames) { console.error("Specify a benchmark name(s), e.g. `pnpm bench object-with-extend`"); process.exit(1); } const files = fileNames.split(",...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/tsc/bench/omit-extend.ts
packages/tsc/bench/omit-extend.ts
import { execa } from "execa"; const $ = execa({ stdout: "inherit", stderr: "inherit" }); import * as gen from "../generate.js"; console.log("╔═════════════════════╗"); console.log("║ Zod v3.24.2 ║"); console.log("╚═════════════════════╝"); await gen.generateExtendChain({ ...gen.ZOD, numSchemas: 14, num...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/resolution/vitest.config.ts
packages/resolution/vitest.config.ts
import { defineConfig, mergeConfig } from "vitest/config"; import rootConfig from "../../vitest.root.mjs"; export default mergeConfig( rootConfig, defineConfig({ test: { globals: true, environment: "node", typecheck: { enabled: false, }, }, }) ) as object;
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/resolution/test-resolution.ts
packages/resolution/test-resolution.ts
import path from "node:path"; import { fileURLToPath } from "node:url"; import { execa } from "execa"; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); async function buildZshy() { console.log("🔨 Building project with zshy..."); try { await execa("zshy", [], { ...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/resolution/attw.test.ts
packages/resolution/attw.test.ts
import { existsSync } from "node:fs"; import path from "node:path"; import { fileURLToPath } from "node:url"; import { execa } from "execa"; import { describe, expect, it } from "vitest"; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); describe("Are The Types Wrong (attw...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/resolution/src/index.ts
packages/resolution/src/index.ts
import * as z1 from "zod"; import z2 from "zod"; import { z as z3 } from "zod"; import * as z7 from "zod/mini"; import * as z5 from "zod/v3"; import * as z4 from "zod/v4"; import * as z8 from "zod/v4-mini"; import fr from "zod/v4/locales/fr.js"; import * as z6 from "zod/v4/mini"; console.log(z1.string().parse("Hello, ...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/valibot-string.ts
packages/treeshake/valibot-string.ts
import * as z from "valibot"; const schema = z.pipe(z.string(), z.minLength(1)); console.log(z.parse(schema, "hi"));
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod-string.ts
packages/treeshake/zod-string.ts
import * as z from "zod/v4"; const schema = z.string().min(5); console.log(schema.parse("hi"));
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod-locales.ts
packages/treeshake/zod-locales.ts
import * as z from "zod/mini" z.config(z.locales.en()); z.string().parse(12);
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod-mini-simple-object.ts
packages/treeshake/zod-mini-simple-object.ts
import * as z from "zod/mini"; // 6.57 kB const Zod = z.object({ email: z .string() .check( z.minLength(1, "Please enter your email."), z.email("The email address is badly formatted.") ), password: z.string() .check( z.minLength(1, "Please enter your password."), z.minLength...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod-mini-object.ts
packages/treeshake/zod-mini-object.ts
import * as z from "zod/mini" const schema = z.object({ a: z.string(), b: z.number(), c: z.boolean() }); schema.parse({ a: "asdf", b: 123, c: true, });
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/example.ts
packages/treeshake/example.ts
import * as z from "zod/v4" // z.string().check( // z.minLength(5), // z.maxLength(10), // z.refine(val => val.includes("@")), // z.trim() // ); z.string().min(5).max(10).refine(val => val.includes("@")).trim().parse("asd@adsf");;
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod-boolean.ts
packages/treeshake/zod-boolean.ts
import * as z from "zod/v4"; const schema = z.boolean(); console.log(schema.parse(true));
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/example-mini.ts
packages/treeshake/example-mini.ts
import * as z from "zod/mini" z.string().check( z.minLength(5), z.maxLength(10), z.refine(val => val.includes("@")), z.trim() ).parse("asd@adsf");
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod-full.ts
packages/treeshake/zod-full.ts
import * as z from "zod/v4"; export const schema = z.object({ name: z.string(), age: z.number(), email: z.boolean(), });
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod-locale.ts
packages/treeshake/zod-locale.ts
import * as z from "zod"; import {en} from "zod/locales"; z.config(en());
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod3-object.ts
packages/treeshake/zod3-object.ts
import * as z from "zod3"; const schema = z.object({ a: z.string(), b: z.number(), c: z.boolean() }); schema.parse({ a: "asdf", b: 123, c: true, });
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod3-full.ts
packages/treeshake/zod3-full.ts
import * as z from "zod3"; export const schema = z.object({ name: z.string(), age: z.number(), email: z.boolean(), });
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod-object.ts
packages/treeshake/zod-object.ts
import * as z from "zod/v4"; const schema = z.object({ a: z.string(), b: z.number(), c: z.boolean() }); schema.parse({ a: "asdf", b: 123, c: true, });
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod-mini-boolean.ts
packages/treeshake/zod-mini-boolean.ts
import * as z from "zod/mini" const schema = z.boolean(); console.log(schema.parse(true));
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/valibot-simple-object.ts
packages/treeshake/valibot-simple-object.ts
import * as v from "valibot"; // 1.37 kB const Valibot = v.object({ email: v.pipe( v.string(), v.nonEmpty("Please enter your email."), v.email("The email address is badly formatted.") ), password: v.pipe( v.string(), v.nonEmpty("Please enter your password."), v.minLength(8, "Your password...
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod-mini-string.ts
packages/treeshake/zod-mini-string.ts
import * as z from "zod/mini" const schema = z.string().check(z.minLength(5)); console.log(schema.parse("hi"));
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/valibot-boolean.ts
packages/treeshake/valibot-boolean.ts
import * as z from "valibot"; const schema = z.boolean() console.log(z.parse(schema, "hi"));
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod-mini-full.ts
packages/treeshake/zod-mini-full.ts
import * as z from "zod/mini" export const schema = z.object({ name: z.string(), age: z.number(), email: z.boolean(), });
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod3-string.ts
packages/treeshake/zod3-string.ts
import * as z from "zod3"; const schema = z.string().min(5); console.log(schema.parse("hi"));
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/zod3-boolean.ts
packages/treeshake/zod3-boolean.ts
import * as z from "zod3"; const schema = z.boolean(); console.log(schema.parse(true));
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
colinhacks/zod
https://github.com/colinhacks/zod/blob/0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c/packages/treeshake/valibot-object.ts
packages/treeshake/valibot-object.ts
import * as z from "valibot"; const schema = z.object({ a: z.string(), b: z.number(), c: z.boolean() }); console.log( z.parse(schema, { a: "asdf", b: 123, c: true, }) );
typescript
MIT
0cdc0b8597999fd9ca99767b912c1e82c1ff2d6c
2026-01-04T15:50:20.611513Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/sentry.server.config.ts
sentry.server.config.ts
{ /* empty */ }
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/next-env.d.ts
next-env.d.ts
/// <reference types="next" /> /// <reference types="next/image-types/global" /> // NOTE: This file should not be edited // see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/sentry.client.config.ts
sentry.client.config.ts
// https://docs.sentry.io/platforms/javascript/guides/nextjs/ import * as Sentry from "@sentry/nextjs"; if (process.env.NODE_ENV === "production") { Sentry.init({ dsn: "https://d3345591295d4dd1b8c579b62003d939@o1284435.ingest.sentry.io/6495191", tracesSampleRate: 0.2, debug: false, release: `${proces...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/sentry.edge.config.ts
sentry.edge.config.ts
{ /* empty */ }
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/store/useConfig.ts
src/store/useConfig.ts
import { create } from "zustand"; import { persist } from "zustand/middleware"; import useGraph from "../features/editor/views/GraphView/stores/useGraph"; const initialStates = { darkmodeEnabled: true, imagePreviewEnabled: true, liveTransformEnabled: true, gesturesEnabled: false, rulersEnabled: true, }; exp...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/store/useModal.ts
src/store/useModal.ts
import { createWithEqualityFn as create } from "zustand/traditional"; import { type ModalName, modals } from "../features/modals/modalTypes"; interface ModalActions { setVisible: (name: ModalName, open: boolean) => void; } type ModalState = Record<ModalName, boolean>; const initialStates: ModalState = modals.reduc...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/store/useFile.ts
src/store/useFile.ts
import debounce from "lodash.debounce"; import { event as gaEvent } from "nextjs-google-analytics"; import { toast } from "react-hot-toast"; import { create } from "zustand"; import exampleJson from "../data/example.json"; import { FileFormat } from "../enums/file.enum"; import useGraph from "../features/editor/views/G...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/store/useJson.ts
src/store/useJson.ts
import { create } from "zustand"; import useGraph from "../features/editor/views/GraphView/stores/useGraph"; interface JsonActions { setJson: (json: string) => void; getJson: () => string; clear: () => void; } const initialStates = { json: "{}", loading: true, }; export type JsonStates = typeof initialStat...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/hooks/useJsonQuery.ts
src/hooks/useJsonQuery.ts
import toast from "react-hot-toast"; import useFile from "../store/useFile"; import useJson from "../store/useJson"; const useJsonQuery = () => { const getJson = useJson(state => state.getJson); const setContents = useFile(state => state.setContents); const transformer = async ({ value }) => { const { run }...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/hooks/useFocusNode.ts
src/hooks/useFocusNode.ts
import React from "react"; import { useDebouncedValue } from "@mantine/hooks"; import { event as gaEvent } from "nextjs-google-analytics"; import useGraph from "../features/editor/views/GraphView/stores/useGraph"; import { cleanupHighlight, searchQuery, highlightMatchedNodes } from "../lib/utils/search"; export const ...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/_error.tsx
src/pages/_error.tsx
import React from "react"; import { useRouter } from "next/router"; import { Button, Stack, Text, Title } from "@mantine/core"; import { NextSeo } from "next-seo"; import { SEO } from "../constants/seo"; import Layout from "../layout/PageLayout"; const Custom500 = () => { const router = useRouter(); return ( ...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/_app.tsx
src/pages/_app.tsx
import React from "react"; import type { AppProps } from "next/app"; import { useRouter } from "next/router"; import { createTheme, MantineProvider } from "@mantine/core"; import "@mantine/core/styles.css"; import "@mantine/code-highlight/styles.css"; import { ThemeProvider } from "styled-components"; import { NextSeo,...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/404.tsx
src/pages/404.tsx
import React from "react"; import Link from "next/link"; import { Button, Stack, Text, Title } from "@mantine/core"; import { NextSeo } from "next-seo"; import { SEO } from "../constants/seo"; import Layout from "../layout/PageLayout"; const NotFound = () => { return ( <Layout> <NextSeo {...SEO} title="404...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/index.tsx
src/pages/index.tsx
import React from "react"; import type { InferGetStaticPropsType, GetStaticProps } from "next"; import { NextSeo } from "next-seo"; import { SEO } from "../constants/seo"; import { FAQ } from "../layout/Landing/FAQ"; import { Features } from "../layout/Landing/Features"; import { HeroPreview } from "../layout/Landing/H...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/widget.tsx
src/pages/widget.tsx
import React from "react"; import dynamic from "next/dynamic"; import { useRouter } from "next/router"; import { useMantineColorScheme } from "@mantine/core"; import { ThemeProvider } from "styled-components"; import { NextSeo } from "next-seo"; import toast from "react-hot-toast"; import { darkTheme, lightTheme } from...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/editor.tsx
src/pages/editor.tsx
import { useEffect } from "react"; import dynamic from "next/dynamic"; import { useRouter } from "next/router"; import { useMantineColorScheme } from "@mantine/core"; import "@mantine/dropzone/styles.css"; import styled, { ThemeProvider } from "styled-components"; import { Allotment } from "allotment"; import "allotmen...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/docs.tsx
src/pages/docs.tsx
import React from "react"; import { Group, Paper, Stack, Text, Title } from "@mantine/core"; import { CodeHighlight } from "@mantine/code-highlight"; import styled from "styled-components"; import { NextSeo } from "next-seo"; import { SEO } from "../constants/seo"; import Layout from "../layout/PageLayout"; const Styl...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/_document.tsx
src/pages/_document.tsx
import type { DocumentContext, DocumentInitialProps } from "next/document"; import Document, { Html, Head, Main, NextScript } from "next/document"; import { ColorSchemeScript } from "@mantine/core"; import { ServerStyleSheet } from "styled-components"; class MyDocument extends Document { static async getInitialProps...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/xml-to-rust.tsx
src/pages/type/xml-to-rust.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.XML} to={TypeLanguage.Rust} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/xml-to-kotlin.tsx
src/pages/type/xml-to-kotlin.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.XML} to={TypeLanguage.Kotlin} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/json-to-go.tsx
src/pages/type/json-to-go.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.JSON} to={TypeLanguage.Go} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/json-to-typescript.tsx
src/pages/type/json-to-typescript.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.JSON} to={TypeLanguage.TypeScript} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/xml-to-typescript.tsx
src/pages/type/xml-to-typescript.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.XML} to={TypeLanguage.TypeScript} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/csv-to-go.tsx
src/pages/type/csv-to-go.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.CSV} to={TypeLanguage.Go} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/yaml-to-typescript.tsx
src/pages/type/yaml-to-typescript.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.YAML} to={TypeLanguage.TypeScript} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/yaml-to-kotlin.tsx
src/pages/type/yaml-to-kotlin.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.YAML} to={TypeLanguage.Kotlin} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/csv-to-typescript.tsx
src/pages/type/csv-to-typescript.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.CSV} to={TypeLanguage.TypeScript} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/xml-to-go.tsx
src/pages/type/xml-to-go.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.XML} to={TypeLanguage.Go} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/yaml-to-rust.tsx
src/pages/type/yaml-to-rust.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.YAML} to={TypeLanguage.Rust} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/json-to-rust.tsx
src/pages/type/json-to-rust.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.JSON} to={TypeLanguage.Rust} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/csv-to-kotlin.tsx
src/pages/type/csv-to-kotlin.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.CSV} to={TypeLanguage.Kotlin} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/json-to-kotlin.tsx
src/pages/type/json-to-kotlin.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.JSON} to={TypeLanguage.Kotlin} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/csv-to-rust.tsx
src/pages/type/csv-to-rust.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.CSV} to={TypeLanguage.Rust} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/type/yaml-to-go.tsx
src/pages/type/yaml-to-go.tsx
import React from "react"; import { FileFormat, TypeLanguage } from "../../enums/file.enum"; import { TypegenWrapper } from "../../layout/TypeLayout/TypegenWrapper"; const TypePage = () => { return <TypegenWrapper from={FileFormat.YAML} to={TypeLanguage.Go} />; }; export default TypePage;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/tools/json-schema.tsx
src/pages/tools/json-schema.tsx
import React from "react"; import { Box, Button, Container, Flex, Paper, Title, Text } from "@mantine/core"; import { Editor, type OnMount } from "@monaco-editor/react"; import { JSONSchemaFaker } from "json-schema-faker"; import { NextSeo } from "next-seo"; import { LuCheck, LuCircleX } from "react-icons/lu"; import {...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/converter/xml-to-json.tsx
src/pages/converter/xml-to-json.tsx
import React from "react"; import { FileFormat } from "../../enums/file.enum"; import { ToolPage } from "../../layout/ConverterLayout/ToolPage"; const Page = () => { return <ToolPage from={FileFormat.XML} to={FileFormat.JSON} />; }; export default Page;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/converter/xml-to-csv.tsx
src/pages/converter/xml-to-csv.tsx
import React from "react"; import { FileFormat } from "../../enums/file.enum"; import { ToolPage } from "../../layout/ConverterLayout/ToolPage"; const Page = () => { return <ToolPage from={FileFormat.XML} to={FileFormat.CSV} />; }; export default Page;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/converter/json-to-xml.tsx
src/pages/converter/json-to-xml.tsx
import React from "react"; import { FileFormat } from "../../enums/file.enum"; import { ToolPage } from "../../layout/ConverterLayout/ToolPage"; const Page = () => { return <ToolPage from={FileFormat.JSON} to={FileFormat.XML} />; }; export default Page;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/converter/json-to-csv.tsx
src/pages/converter/json-to-csv.tsx
import React from "react"; import { FileFormat } from "../../enums/file.enum"; import { ToolPage } from "../../layout/ConverterLayout/ToolPage"; const Page = () => { return <ToolPage from={FileFormat.JSON} to={FileFormat.CSV} />; }; export default Page;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/converter/yaml-to-xml.tsx
src/pages/converter/yaml-to-xml.tsx
import React from "react"; import { FileFormat } from "../../enums/file.enum"; import { ToolPage } from "../../layout/ConverterLayout/ToolPage"; const Page = () => { return <ToolPage from={FileFormat.YAML} to={FileFormat.XML} />; }; export default Page;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/converter/json-to-yaml.tsx
src/pages/converter/json-to-yaml.tsx
import React from "react"; import { FileFormat } from "../../enums/file.enum"; import { ToolPage } from "../../layout/ConverterLayout/ToolPage"; const Page = () => { return <ToolPage from={FileFormat.JSON} to={FileFormat.YAML} />; }; export default Page;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/converter/yaml-to-json.tsx
src/pages/converter/yaml-to-json.tsx
import React from "react"; import { FileFormat } from "../../enums/file.enum"; import { ToolPage } from "../../layout/ConverterLayout/ToolPage"; const Page = () => { return <ToolPage from={FileFormat.YAML} to={FileFormat.JSON} />; }; export default Page;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/converter/csv-to-xml.tsx
src/pages/converter/csv-to-xml.tsx
import React from "react"; import { FileFormat } from "../../enums/file.enum"; import { ToolPage } from "../../layout/ConverterLayout/ToolPage"; const Page = () => { return <ToolPage from={FileFormat.CSV} to={FileFormat.XML} />; }; export default Page;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/converter/yaml-to-csv.tsx
src/pages/converter/yaml-to-csv.tsx
import React from "react"; import { FileFormat } from "../../enums/file.enum"; import { ToolPage } from "../../layout/ConverterLayout/ToolPage"; const Page = () => { return <ToolPage from={FileFormat.YAML} to={FileFormat.CSV} />; }; export default Page;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/converter/csv-to-yaml.tsx
src/pages/converter/csv-to-yaml.tsx
import React from "react"; import { FileFormat } from "../../enums/file.enum"; import { ToolPage } from "../../layout/ConverterLayout/ToolPage"; const Page = () => { return <ToolPage from={FileFormat.CSV} to={FileFormat.YAML} />; }; export default Page;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/converter/csv-to-json.tsx
src/pages/converter/csv-to-json.tsx
import React from "react"; import { FileFormat } from "../../enums/file.enum"; import { ToolPage } from "../../layout/ConverterLayout/ToolPage"; const Page = () => { return <ToolPage from={FileFormat.CSV} to={FileFormat.JSON} />; }; export default Page;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/converter/xml-to-yaml.tsx
src/pages/converter/xml-to-yaml.tsx
import React from "react"; import { FileFormat } from "../../enums/file.enum"; import { ToolPage } from "../../layout/ConverterLayout/ToolPage"; const Page = () => { return <ToolPage from={FileFormat.XML} to={FileFormat.YAML} />; }; export default Page;
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/legal/terms.tsx
src/pages/legal/terms.tsx
import React from "react"; import { Box, Container, Paper, Stack, Text, Title } from "@mantine/core"; import { NextSeo } from "next-seo"; import { SEO } from "../../constants/seo"; import terms from "../../data/terms.json"; import Layout from "../../layout/PageLayout"; const Terms = () => { return ( <Layout> ...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/pages/legal/privacy.tsx
src/pages/legal/privacy.tsx
import React from "react"; import { Box, Container, Paper, Stack, Text, Title } from "@mantine/core"; import { NextSeo } from "next-seo"; import { SEO } from "../../constants/seo"; import privacy from "../../data/privacy.json"; import Layout from "../../layout/PageLayout"; const Privacy = () => { return ( <Layou...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false
AykutSarac/jsoncrack.com
https://github.com/AykutSarac/jsoncrack.com/blob/3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f/src/features/Banner.tsx
src/features/Banner.tsx
import React, { useEffect, useState } from "react"; import { Anchor, Flex, Button, ActionIcon } from "@mantine/core"; import { useSessionStorage } from "@mantine/hooks"; import { MdClose } from "react-icons/md"; export const BANNER_HEIGHT = process.env.NEXT_PUBLIC_DISABLE_EXTERNAL_MODE === "true" ? "0px" : "40px"; ...
typescript
Apache-2.0
3170cb7ef02cadcf8fb776bd8a3000a49fc7fd7f
2026-01-04T15:49:31.309040Z
false