{
 "kind": "tool",
 "slug": "neverthrow",
 "path": "tools/neverthrow/",
 "name": "NeverThrow",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Utilities",
   "tools/utilities/"
  ]
 ],
 "lead": "Typed Result values for TypeScript instead of thrown errors.",
 "chips": [
  {
   "label": "Utilities",
   "path": "tools/utilities/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install neverthrow"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/supermacro/neverthrow"
  },
  {
   "label": "Website",
   "href": "https://github.com/supermacro/neverthrow#readme"
  }
 ],
 "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/supermacro/neverthrow"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Feb 14, 2026",
   "note": "Latest GitHub release Feb 21, 2025. ",
   "src": "https://github.com/supermacro/neverthrow"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "3 projects",
   "status": "info",
   "sub": "#212 of 408 in its category",
   "note": "Dependency in 3 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "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 NeverThrow does",
   "parts": [
    {
     "t": "prose",
     "text": "Typed Result values for TypeScript instead of thrown errors."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "NeverThrow popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "54",
       "of": "/ 100",
       "l": "Gid Score, #1564 overall"
      },
      {
       "n": "4.6M",
       "l": "downloads a week, npm"
      },
      {
       "n": "7,770",
       "l": "GitHub stars"
      },
      {
       "n": "3",
       "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 NeverThrow is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "NeverThrow joined the catalog on its public numbers (4,558,063 downloads a week on npm and 7,770 GitHub stars), not on our project count: it is a dependency in 12 public GitHub projects of our scan, 3 of them set up for AI coding agents.",
      "Projects that use it most often also use Zod (83.3%), AI SDK (50.0%), date-fns (41.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 83.3% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "AI SDK",
       "path": "tools/ai/"
      },
      {
       "l": "In 41.7% of its projects",
       "v": "date-fns",
       "path": "tools/date-fns/"
      },
      {
       "l": "In 58.3% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 33.3% of its projects",
       "v": "TanStack Query",
       "path": "tools/tanstack-react-query/"
      },
      {
       "l": "In 33.3% of its projects",
       "v": "Zustand",
       "path": "tools/zustand/"
      },
      {
       "l": "In 33.3% of its projects",
       "v": "Hono",
       "path": "tools/hono/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about NeverThrow",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Utilities",
       "path": "tools/utilities/",
       "items": [
        {
         "text": "clsx",
         "path": "tools/clsx/"
        },
        {
         "text": "date-fns",
         "path": "tools/date-fns/"
        },
        {
         "text": "PyYAML",
         "path": "tools/pyyaml/"
        },
        {
         "text": "uuid",
         "path": "tools/uuid/"
        },
        {
         "text": "yaml",
         "path": "tools/yaml/"
        },
        {
         "text": "js-yaml",
         "path": "tools/js-yaml/"
        },
        {
         "text": "glob",
         "path": "tools/glob/"
        },
        {
         "text": "Lodash",
         "path": "tools/lodash/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "NeverThrow",
       "me": true,
       "facts": [
        "MIT",
        "Gid 54",
        "4.6M/wk"
       ]
      }
     ],
     "more": "Compare NeverThrow with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install neverthrow"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for NeverThrow yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm neverthrow"
  ],
  [
   "Category",
   "Utilities"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "53.9"
  ],
  [
   "Rank in category",
   "#212 of 408"
  ],
  [
   "GitHub",
   "supermacro/neverthrow"
  ],
  [
   "Last change",
   "Feb 14, 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/supermacro.png"
}