{
 "kind": "tool",
 "slug": "sanity-npm",
 "path": "tools/sanity-npm/",
 "name": "Sanity Client",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "SDKs for hosted services",
   "tools/service-sdks/"
  ]
 ],
 "lead": "Official SDK for Sanity headless CMS to query content and generate image URLs.",
 "chips": [
  {
   "label": "SDKs for hosted services",
   "path": "tools/service-sdks/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @sanity/image-url"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/sanity-io/image-url"
  },
  {
   "label": "Website",
   "href": "https://www.sanity.io/"
  },
  {
   "label": "API page",
   "path": "apis/sanity/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/sanity-io/image-url"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 20, 2026",
   "note": "Latest GitHub release Nov 16, 2026. ",
   "src": "https://github.com/sanity-io/image-url"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "13 projects",
   "status": "info",
   "sub": "#49 of 287 in its category",
   "note": "Dependency in 13 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Sanity Client does",
   "parts": [
    {
     "t": "prose",
     "text": "Official SDK for Sanity headless CMS to query content and generate image URLs."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Sanity Client popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "44",
       "of": "/ 100",
       "l": "Gid Score, #2648 overall"
      },
      {
       "n": "2.3M",
       "l": "downloads a week, npm"
      },
      {
       "n": "97",
       "l": "GitHub stars"
      },
      {
       "n": "13",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Sanity Client is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Sanity Client is a dependency in 13 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 28 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is Supabase JS (675 projects).",
      "Projects that use it most often also use Sanity Studio (67.9%), React (89.3%), Next.js (64.3%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "9 projects, 0.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "7 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 67.9% of its projects",
       "v": "Sanity Studio",
       "path": "tools/sanity-node/"
      },
      {
       "l": "In 89.3% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 64.3% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 67.9% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 57.1% of its projects",
       "v": "next-sanity",
       "path": "tools/next-sanity/"
      },
      {
       "l": "In 85.7% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 64.3% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 67.9% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Sanity Client",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in SDKs for hosted services",
       "path": "tools/service-sdks/",
       "items": [
        {
         "text": "Supabase SSR",
         "path": "tools/supabase-ssr/"
        },
        {
         "text": "AWS SDK for JavaScript (S3)",
         "path": "tools/aws-sdk-client-s3/"
        },
        {
         "text": "Resend",
         "path": "tools/resend-npm/"
        },
        {
         "text": "Stripe (JavaScript)",
         "path": "tools/stripe-node/"
        },
        {
         "text": "Supabase CLI",
         "path": "tools/supabase-npm/"
        },
        {
         "text": "Stripe.js",
         "path": "tools/stripe-npm/"
        },
        {
         "text": "Google APIs Client Library",
         "path": "tools/googleapis/"
        },
        {
         "text": "google-auth",
         "path": "tools/google-auth/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Sanity Client",
       "me": true,
       "facts": [
        "MIT",
        "Gid 44",
        "2.3M/wk"
       ]
      },
      {
       "name": "Supabase JS",
       "why": "Isomorphic JavaScript SDK for Supabase backend-as-a-service.",
       "path": "tools/supabase-supabase-js/",
       "facts": [
        "MIT",
        "Gid 82",
        "67.9M/wk"
       ]
      },
      {
       "name": "Firebase",
       "why": "Google's platform SDK for realtime database, auth, hosting and serverless functions.",
       "path": "tools/firebase-node/",
       "facts": [
        "Apache-2.0",
        "Gid 70",
        "15.3M/wk"
       ]
      }
     ],
     "more": "Compare Sanity Client with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @sanity/image-url"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Sanity Client yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @sanity/image-url"
  ],
  [
   "Category",
   "SDKs for hosted services"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "44.1"
  ],
  [
   "Rank in category",
   "#49 of 287"
  ],
  [
   "GitHub",
   "sanity-io/image-url"
  ],
  [
   "Last change",
   "Nov 20, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/sanity-io.png"
}