{
 "kind": "tool",
 "slug": "sqlite3",
 "path": "tools/sqlite3/",
 "name": "sqlite3",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Databases, ORMs and clients",
   "tools/databases-orms/"
  ]
 ],
 "lead": "Asynchronous, non-blocking SQLite3 database bindings for Node.js.",
 "chips": [
  {
   "label": "Databases, ORMs and clients",
   "path": "tools/databases-orms/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install sqlite3"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/TryGhost/node-sqlite3"
  },
  {
   "label": "Website",
   "href": "https://github.com/TryGhost/node-sqlite3"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "BSD-3-Clause",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/TryGhost/node-sqlite3"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "No longer maintained",
   "status": "no",
   "sub": "Repository archived",
   "note": "Latest GitHub release Mar 12, 2026. ",
   "src": "https://github.com/TryGhost/node-sqlite3"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "28 projects",
   "status": "info",
   "sub": "#21 of 120 in its category",
   "note": "Dependency in 28 public GitHub projects set up for AI coding agents that we scanned (0.4%).",
   "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 sqlite3 does",
   "parts": [
    {
     "t": "prose",
     "text": "Asynchronous, non-blocking SQLite3 database bindings for Node.js."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "sqlite3 popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "58",
       "of": "/ 100",
       "l": "Gid Score, #1138 overall"
      },
      {
       "n": "2.9M",
       "l": "downloads a week, npm"
      },
      {
       "n": "6,409",
       "l": "GitHub stars"
      },
      {
       "n": "28",
       "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 sqlite3 is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "sqlite3 is a dependency in 28 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.6% of the 4,867 JavaScript/TypeScript ones), #21 of 120 in databases, orms and clients.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 101; those are left out of every share on this page.",
      "The most used alternative in our scan is pg (298 projects).",
      "Projects that use it most often also use Express (42.9%), dotenv (42.9%), cors (28.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "13 projects, 0.4%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "11 projects, 0.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "9 projects, 0.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 42.9% of its projects",
       "v": "Express",
       "path": "tools/express/"
      },
      {
       "l": "In 42.9% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 28.6% of its projects",
       "v": "cors",
       "path": "tools/cors/"
      },
      {
       "l": "In 28.6% of its projects",
       "v": "ws",
       "path": "tools/ws/"
      },
      {
       "l": "In 28.6% of its projects",
       "v": "pg",
       "path": "tools/pg/"
      },
      {
       "l": "In 28.6% of its projects",
       "v": "uuid",
       "path": "tools/uuid/"
      },
      {
       "l": "In 25.0% of its projects",
       "v": "ts-node",
       "path": "tools/ts-node/"
      },
      {
       "l": "In 25.0% of its projects",
       "v": "nodemon",
       "path": "tools/nodemon/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about sqlite3",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/TryGhost",
        "Open Collective: https://opencollective.com/ghost",
        "6 GitHub sponsors"
       ]
      },
      {
       "title": "More in Databases, ORMs and clients",
       "path": "tools/databases-orms/",
       "items": [
        {
         "text": "Drizzle ORM",
         "path": "tools/drizzle-orm/"
        },
        {
         "text": "Prisma",
         "path": "tools/prisma/"
        },
        {
         "text": "Drizzle Kit",
         "path": "tools/drizzle-kit/"
        },
        {
         "text": "SQLAlchemy",
         "path": "tools/sqlalchemy/"
        },
        {
         "text": "psycopg2",
         "path": "tools/psycopg2-binary/"
        },
        {
         "text": "Alembic",
         "path": "tools/alembic/"
        },
        {
         "text": "Neon Serverless Driver",
         "path": "tools/neondatabase/"
        },
        {
         "text": "psycopg",
         "path": "tools/psycopg/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "sqlite3",
       "me": true,
       "facts": [
        "BSD-3-Clause",
        "Gid 58",
        "2.9M/wk"
       ]
      },
      {
       "name": "pg",
       "why": "PostgreSQL client for Node.js with pure JavaScript and libpq API compatibility.",
       "path": "tools/pg/",
       "facts": [
        "MIT",
        "Gid 81",
        "106M/wk"
       ]
      },
      {
       "name": "better-sqlite3",
       "why": "Fastest and simplest SQLite library for Node.js with synchronous API.",
       "path": "tools/better-sqlite3/",
       "facts": [
        "MIT",
        "Gid 72",
        "17.4M/wk"
       ]
      },
      {
       "name": "libSQL Client",
       "why": "TypeScript/JavaScript driver for libSQL databases with modern async/await support.",
       "path": "tools/libsql-client/",
       "facts": [
        "MIT",
        "Gid 55",
        "6.1M/wk"
       ]
      },
      {
       "name": "mysql2",
       "why": "Fast MySQL driver with native protocol implementation, prepared statements and SSL.",
       "path": "tools/mysql2/",
       "facts": [
        "MIT",
        "Gid 66",
        "25.6M/wk"
       ]
      },
      {
       "name": "SQL.js",
       "why": "SQLite database compiled to JavaScript, run SQL in browser without server.",
       "path": "tools/sql-js/",
       "facts": [
        "MIT",
        "Gid 72",
        "7.2M/wk"
       ]
      },
      {
       "name": "MongoDB Node Driver",
       "why": "Official Node.js driver for MongoDB providing query builders and connection management.",
       "path": "tools/mongodb/",
       "facts": [
        "Apache-2.0",
        "Gid 71",
        "22.7M/wk"
       ]
      }
     ],
     "more": "Compare sqlite3 with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install sqlite3"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for sqlite3 yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm sqlite3"
  ],
  [
   "Category",
   "Databases, ORMs and clients"
  ],
  [
   "License",
   "BSD-3-Clause"
  ],
  [
   "Gid Score",
   "58.5"
  ],
  [
   "Rank in category",
   "#21 of 120"
  ],
  [
   "GitHub",
   "TryGhost/node-sqlite3"
  ],
  [
   "Last change",
   "Jun 27, 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/tryghost.png"
}