{
 "kind": "tool",
 "slug": "pg-copy-streams",
 "path": "tools/pg-copy-streams/",
 "name": "pg-copy-streams",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Databases, ORMs and clients",
   "tools/databases-orms/"
  ]
 ],
 "lead": "Stream-based COPY operations for PostgreSQL in Node.js.",
 "chips": [
  {
   "label": "Databases, ORMs and clients",
   "path": "tools/databases-orms/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install pg-copy-streams"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/brianc/node-pg-copy-streams"
  },
  {
   "label": "Website",
   "href": "https://github.com/brianc/node-pg-copy-streams#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/brianc/node-pg-copy-streams"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Jul 20, 2026",
   "note": "",
   "src": "https://github.com/brianc/node-pg-copy-streams"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "1 projects",
   "status": "info",
   "sub": "#100 of 120 in its category",
   "note": "Dependency in 1 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 pg-copy-streams does",
   "parts": [
    {
     "t": "prose",
     "text": "Stream-based COPY operations for PostgreSQL in Node.js."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "pg-copy-streams popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "42",
       "of": "/ 100",
       "l": "Gid Score, #2930 overall"
      },
      {
       "n": "2.6M",
       "l": "downloads a week, npm"
      },
      {
       "n": "356",
       "l": "GitHub stars"
      },
      {
       "n": "1",
       "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 pg-copy-streams is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "pg-copy-streams joined the catalog on its public numbers (2,628,124 downloads a week on npm and 356 GitHub stars), not on our project count: it is a dependency in 7 public GitHub projects of our scan, 1 of them set up for AI coding agents.",
      "The most used alternative in our scan is libSQL Client (45 projects).",
      "Projects that use it most often also use MongoDB Node Driver (100.0%), mysql2 (100.0%), pg (100.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "MongoDB Node Driver",
       "path": "tools/mongodb/"
      },
      {
       "l": "In 100.0% of its projects",
       "v": "mysql2",
       "path": "tools/mysql2/"
      },
      {
       "l": "In 100.0% of its projects",
       "v": "pg",
       "path": "tools/pg/"
      },
      {
       "l": "In 100.0% of its projects",
       "v": "redis (JavaScript)",
       "path": "tools/redis-npm/"
      },
      {
       "l": "In 100.0% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 85.7% of its projects",
       "v": "AWS SDK for JavaScript (S3)",
       "path": "tools/aws-sdk-client-s3/"
      },
      {
       "l": "In 85.7% of its projects",
       "v": "ClickHouse JS client",
       "path": "tools/clickhouse-client/"
      },
      {
       "l": "In 85.7% of its projects",
       "v": "Elasticsearch JavaScript client",
       "path": "tools/elastic-elasticsearch/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about pg-copy-streams",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Databases, ORMs and clients",
       "path": "tools/databases-orms/",
       "items": [
        {
         "text": "pg",
         "path": "tools/pg/"
        },
        {
         "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": "better-sqlite3",
         "path": "tools/better-sqlite3/"
        },
        {
         "text": "psycopg2",
         "path": "tools/psycopg2-binary/"
        },
        {
         "text": "Alembic",
         "path": "tools/alembic/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "pg-copy-streams",
       "me": true,
       "facts": [
        "MIT",
        "Gid 42",
        "2.6M/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"
       ]
      }
     ],
     "more": "Compare pg-copy-streams with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install pg-copy-streams"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for pg-copy-streams yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm pg-copy-streams"
  ],
  [
   "Category",
   "Databases, ORMs and clients"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "41.8"
  ],
  [
   "Rank in category",
   "#100 of 120"
  ],
  [
   "GitHub",
   "brianc/node-pg-copy-streams"
  ],
  [
   "Last change",
   "Jul 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/brianc.png"
}