New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

drizzle-orm

Package Overview
Dependencies
Maintainers
3
Versions
1003
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drizzle-orm - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1-03f651b

LICENSE

10

package.json
{
"name": "drizzle-orm",
"version": "0.13.0",
"version": "0.13.1-03f651b",
"description": "Drizzle ORM package for SQL databases",

@@ -24,3 +24,3 @@ "main": "index.js",

],
"author": "",
"author": "Drizzle Team",
"license": "Apache-2.0",

@@ -32,5 +32,5 @@ "bugs": {

"peerDependencies": {
"drizzle-orm-mysql": ">=0.13.0 <0.14.0 || >=0.13.0-beta.0 <0.14.0-beta.0",
"drizzle-orm-pg": ">=0.13.0 <0.14.0 || >=0.13.0-beta.0 <0.14.0-beta.0",
"drizzle-orm-sqlite": ">=0.13.0 <0.14.0 || >=0.13.0-beta.0 <0.14.0-beta.0"
"drizzle-orm-mysql": ">=0.12 <0.13",
"drizzle-orm-pg": ">=0.13 <0.14",
"drizzle-orm-sqlite": ">=0.13 <0.14"
},

@@ -37,0 +37,0 @@ "peerDependenciesMeta": {

@@ -1,10 +0,30 @@

## Drizzle ORM
DrizzleORM is a TypeScript ORM library with a [drizzle-kit](#migrations) CLI companion for automatic SQL migrations generation.
It's meant to be a library, not a framework, stay as an opt-in solution all the time at any levels.
We try to follow SQL-like syntax whenever possible, be strongly typed ground top and fail in compile time, not in runtime.
We implemented best in class `joins` and second to none `migrations generation`.
Library has almost zero dependencies and being battle tested on production projects by multiple teams 🚀
<div align="center">
<h1>Drizzle ORM <a href=""><img alt="npm" src="https://img.shields.io/npm/v/drizzle-orm?label="></a></h1>
<img alt="npm" src="https://img.shields.io/npm/dw/drizzle-orm">
<img alt="npm bundle size" src="https://img.shields.io/bundlephobia/min/drizzle-orm">
<a href="https://discord.gg/yfjTbVXMW4"><img alt="Discord" src="https://img.shields.io/discord/1043890932593987624"></a>
<img alt="NPM" src="https://img.shields.io/npm/l/drizzle-orm">
<h6><i>If you know SQL, you know Drizzle ORM</i></h6>
<hr />
</div>
| database | support | |
|:-- | :---: | :-- |
Drizzle ORM is a TypeScript ORM for SQL databases designed with maximum type safety in mind. It comes with a [drizzle-kit](https://github.com/drizzle-team/drizzle-kit-mirror) CLI companion for automatic SQL migrations generation. Drizzle ORM is meant to be a library, not a framework. It stays as an opt-in solution all the time at any levels.
The ORM main philosophy is "If you know SQL, you know Drizzle ORM". We follow the SQL-like syntax whenever possible, are strongly typed ground top and fail at compile time, not in runtime.
Drizzle ORM is being battle-tested on production projects by multiple teams 🚀 Give it a try and let us know if you have any questions or feedback on [Discord](https://discord.gg/yfjTbVXMW4).
### Feature list
- Full type safety
- [Smart automated migrations generation](https://github.com/drizzle-team/drizzle-kit-mirror)
- No ORM learning curve
- SQL-like syntax for table definitions and queries
- Best in class fully typed joins
- Fully typed partial and non-partial selects of any complexity
- Auto-inferring of TS types for DB models for selections and insertions separately
- Zero dependencies
| Database | Support | 📄 |
|:------------|:-------:|:---|
| PostgreSQL | ✅ |[Docs](https://github.com/drizzle-team/drizzle-orm/tree/main/drizzle-orm-pg)|

@@ -18,14 +38,15 @@ | MySQL | ⏳ | |

### Installation
```bash
// postgresql
# postgresql
npm install drizzle-orm drizzle-orm-pg
npm install -D drizzle-kit
// mysql
# mysql
npm install drizzle-orm drizzle-orm-mysql
npm install -D drizzle-kit
// sqlite
# sqlite
npm install drizzle-orm drizzle-orm-sqlite
npm install -D drizzle-kit
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc