{"id":13398915,"url":"https://github.com/sequelize/sequelize","last_synced_at":"2025-12-16T18:54:42.956Z","repository":{"id":985867,"uuid":"790359","full_name":"sequelize/sequelize","owner":"sequelize","description":"Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.","archived":false,"fork":false,"pushed_at":"2025-12-11T09:34:06.000Z","size":75857,"stargazers_count":30275,"open_issues_count":999,"forks_count":4311,"subscribers_count":395,"default_branch":"main","last_synced_at":"2025-12-13T04:45:29.919Z","etag":null,"topics":["db2-ibm-i","feature-rich","javascript","mariadb","microsoft-sql-server","mssql","mssql-server","mysql","nodejs","oracle-db","orm","postgresql","sequelize","snowflakedb","sql","sqlite","transactions","typescript"],"latest_commit_sha":null,"homepage":"https://sequelize.org/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sequelize.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.DOCS.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"sequelize","patreon":null,"open_collective":"sequelize","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2010-07-22T07:11:11.000Z","updated_at":"2025-12-13T00:38:17.000Z","dependencies_parsed_at":"2024-02-13T10:28:45.615Z","dependency_job_id":"583ff863-d096-48d7-b51a-42cbac131811","html_url":"https://github.com/sequelize/sequelize","commit_stats":{"total_commits":9564,"total_committers":1253,"mean_commits":7.632881085395052,"dds":0.8363655374320368,"last_synced_commit":"b0a8793acade5f1832d3f321f8c1a0a03c24cfc6"},"previous_names":[],"tags_count":675,"template":false,"template_full_name":null,"purl":"pkg:github/sequelize/sequelize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequelize%2Fsequelize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequelize%2Fsequelize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequelize%2Fsequelize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequelize%2Fsequelize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sequelize","download_url":"https://codeload.github.com/sequelize/sequelize/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequelize%2Fsequelize/sbom","scorecard":{"id":811757,"data":{"date":"2025-08-11","repo":{"name":"github.com/sequelize/sequelize","commit":"9f5a25b5ec8eb487e4fe3e15f959509ddd277de8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.2,"checks":[{"name":"Code-Review","score":2,"reason":"Found 5/24 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/authors.yml:15","Info: jobLevel 'pull-requests' permission set to 'read': .github/workflows/pr-title.yml:16","Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/pr-title.yml:17","Info: topLevel 'contents' permission set to 'read': .github/workflows/authors.yml:10","Info: topLevel 'contents' permission set to 'read': .github/workflows/auto-add-pending-approval.yml:7","Warn: no topLevel permission defined: .github/workflows/auto-remove-awaiting-response-label.yml:1","Warn: no topLevel permission defined: .github/workflows/autoupdate.yml:1","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/notify.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/pr-title.yml:9","Warn: no topLevel permission defined: .github/workflows/semgrep.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/stale.yml:8"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during GetBranch(v6): error during branchesHandler.query: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":9,"reason":"dependency not pinned by hash detected -- score normalized to 9","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/autoupdate.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/sequelize/autoupdate.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:319: update your workflow using https://app.stepsecurity.io/secureworkflow/sequelize/sequelize/ci.yml/main?enable=pin","Info:  38 out of  40 GitHub-owned GitHubAction dependencies pinned","Info:   7 out of   7 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"SAST","score":9,"reason":"SAST tool is not run on all commits -- score normalized to 9","details":["Warn: 11 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-8c25-f3mj-v6h8","Warn: Project is vulnerable to: GHSA-vqfx-gj96-3w95","Warn: Project is vulnerable to: GHSA-f598-mfpv-gmfx","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T13:21:51.619Z","repository_id":985867,"created_at":"2025-08-23T13:21:51.619Z","updated_at":"2025-08-23T13:21:51.619Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27769735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["db2-ibm-i","feature-rich","javascript","mariadb","microsoft-sql-server","mssql","mssql-server","mysql","nodejs","oracle-db","orm","postgresql","sequelize","snowflakedb","sql","sqlite","transactions","typescript"],"created_at":"2024-07-30T19:00:32.684Z","updated_at":"2025-12-16T18:54:42.931Z","avatar_url":"https://github.com/sequelize.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"logo.svg\" width=\"100\" alt=\"Sequelize logo\" /\u003e\u003c/p\u003e\n\u003ch1 align=\"center\" style=\"margin-top: 0;\"\u003e\u003ca href=\"https://sequelize.org\"\u003eSequelize\u003c/a\u003e\u003c/h1\u003e\n\n[![npm version](https://badgen.net/npm/v/@sequelize/core)](https://www.npmjs.com/package/@sequelize/core)\n[![npm downloads](https://badgen.net/npm/dm/@sequelize/core)](https://www.npmjs.com/package/@sequelize/core)\n[![contributors](https://img.shields.io/github/contributors/sequelize/sequelize)](https://github.com/sequelize/sequelize/graphs/contributors)\n[![Open Collective](https://img.shields.io/opencollective/backers/sequelize)](https://opencollective.com/sequelize#section-contributors)\n[![sponsor](https://img.shields.io/opencollective/all/sequelize?label=sponsors)](https://opencollective.com/sequelize)\n[![Merged PRs](https://badgen.net/github/merged-prs/sequelize/sequelize)](https://github.com/sequelize/sequelize)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nSequelize is an easy-to-use and promise-based [Node.js](https://nodejs.org/en/about/) [ORM tool](https://en.wikipedia.org/wiki/Object-relational_mapping) for [Postgres](https://en.wikipedia.org/wiki/PostgreSQL), [MySQL](https://en.wikipedia.org/wiki/MySQL), [MariaDB](https://en.wikipedia.org/wiki/MariaDB), [SQLite](https://en.wikipedia.org/wiki/SQLite), [DB2](https://en.wikipedia.org/wiki/IBM_Db2_Family), [Microsoft SQL Server](https://en.wikipedia.org/wiki/Microsoft_SQL_Server), [Snowflake](https://www.snowflake.com/), [Oracle DB](https://www.oracle.com/database/) and [Db2 for IBM i](https://www.ibm.com/support/pages/db2-ibm-i). It features solid transaction support, relations, eager and lazy loading, read replication and more.\n\nWould you like to contribute? Read [our contribution guidelines](./CONTRIBUTING.md) to know more. There are many ways to help! 😃\n\n## 🚀 Seeking New Maintainers for Sequelize! 🚀\n\nWe're looking for new maintainers to help finalize and release the next major version of Sequelize! If you're passionate about open-source and database ORMs, we'd love to have you onboard.\n\n### 💰 Funding Available\n\nWe distribute **$2,500 per quarter** among maintainers and have additional funds for full-time contributions.\n\n### 🛠️ What You’ll Work On\n\n- Finalizing and releasing Sequelize’s next major version\n- Improving TypeScript support and database integrations\n- Fixing critical issues and shaping the ORM’s future\n\n### 🤝 How to Get Involved\n\nInterested? Join our Slack and reach out to **@WikiRik** or **@sdepold**:  \n➡️ **[sequelize.org/slack](https://sequelize.org/slack)**\n\nWe’d love to have you on board! 🚀\n\n## :computer: Getting Started\n\nReady to start using Sequelize? Head to [sequelize.org](https://sequelize.org) to begin!\n\n- [Our Getting Started guide for Sequelize 6 (stable)](https://sequelize.org/docs/v6/getting-started)\n- [Our Getting Started guide for Sequelize 7 (alpha)](https://sequelize.org/docs/v7/getting-started)\n\n## :money_with_wings: Supporting the project\n\nDo you like Sequelize and would like to give back to the engineering team behind it?\n\nWe have recently created an [OpenCollective based money pool](https://opencollective.com/sequelize) which is shared amongst all core maintainers based on their contributions. Every support is wholeheartedly welcome. ❤️\n\n## :pencil: Major version changelog\n\nPlease find upgrade information to major versions here:\n\n- [Upgrade from v5 to v6](https://sequelize.org/docs/v6/other-topics/upgrade-to-v6)\n- [Upgrade from v6 to v7](https://sequelize.org/docs/v7/other-topics/upgrade-to-v7)\n\n## :book: Resources\n\n- [Documentation](https://sequelize.org)\n- [Databases Compatibility Table](https://sequelize.org/releases/)\n- [Changelog](https://github.com/sequelize/sequelize/releases)\n- [Discussions](https://github.com/sequelize/sequelize/discussions)\n- [Slack](https://sequelize.org/slack)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/sequelize.js)\n\n### :wrench: Tools\n\n- [CLI](https://github.com/sequelize/cli)\n- [For GraphQL](https://github.com/mickhansen/graphql-sequelize)\n- [For CockroachDB](https://github.com/cockroachdb/sequelize-cockroachdb)\n- [Awesome Sequelize](https://sequelize.org/docs/v7/other-topics/resources/)\n- [For YugabyteDB](https://github.com/yugabyte/sequelize-yugabytedb)\n\n### :speech_balloon: Translations\n\n- [English](https://sequelize.org) (Official)\n- [中文文档](https://github.com/demopark/sequelize-docs-Zh-CN) (Unofficial)\n\n## :warning: Responsible disclosure\n\nIf you have security issues to report, please refer to our\n[Responsible Disclosure Policy](./SECURITY.md) for more details.\n","funding_links":["https://github.com/sponsors/sequelize","https://opencollective.com/sequelize"],"categories":["JavaScript","TypeScript","Packages","Repository","资源","1. 后端开发","NodeJS","包","Node.js","Web Development","其他__大数据","javascript","Recently Updated","Database","Uncategorized","typescript","目录","ORMs \u0026 Query Builders","Number","nodeJS","ORM","Node.js, koa"],"sub_categories":["Database","集成","1.4 数据库","数据库","测试","sequelize","网络服务_其他","[Feb 17, 2025](/content/2025/02/17/README.md)","Uncategorized","JavaScript / TypeScript","Database ODM / ORM","Other","Utilites"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsequelize%2Fsequelize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsequelize%2Fsequelize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsequelize%2Fsequelize/lists"}