@bhushanpawar/sqldb 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +12 -22
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,22 +1,20 @@
1
- <div align="center">
2
-
3
1
  # @bhushanpawar/sqldb
4
2
 
5
- ### 🚀 The MariaDB client that makes your database feel like Redis
3
+ > 🚀 **The MariaDB client that makes your database feel like Redis**
4
+
5
+ Stop wasting hours on cache invalidation bugs. Stop paying for database CPU you don't need. Get **99% cache hit rates** and **sub-millisecond queries**—automatically.
6
6
 
7
- **Stop wasting hours on cache invalidation bugs. Stop paying for database CPU you don't need.
8
- Get 99% cache hit rates and sub-millisecond queries—automatically.**
7
+ [![npm version](https://img.shields.io/npm/v/@bhushanpawar/sqldb?color=blue&style=flat-square)](https://www.npmjs.com/package/@bhushanpawar/sqldb)
8
+ [![TypeScript](https://img.shields.io/badge/TypeScript-100%25-blue?style=flat-square&logo=typescript)](https://www.typescriptlang.org/)
9
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=flat-square)](https://opensource.org/licenses/MIT)
9
10
 
10
- [![npm version](https://img.shields.io/npm/v/@bhushanpawar/sqldb?color=blue&style=for-the-badge)](https://www.npmjs.com/package/@bhushanpawar/sqldb)
11
- [![TypeScript](https://img.shields.io/badge/TypeScript-100%25-blue?style=for-the-badge&logo=typescript)](https://www.typescriptlang.org/)
12
- [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)
11
+ **[ Quick Start](#getting-started-in-60-seconds)** • **[📖 Docs](#documentation)** • **[🎯 Examples](#examples)** • **[⭐ Star on GitHub](https://github.com/erBhushanPawar/sqldb)**
13
12
 
14
13
  ---
15
14
 
16
- ### 💎 What Makes This Special?
15
+ ## 💎 What Makes This Special?
17
16
 
18
- **Most database libraries make you choose:**
19
- 🐌 Simple & slow ORM **OR** ⚡ Fast but complex manual caching
17
+ **Most database libraries make you choose:** 🐌 Simple & slow ORM **OR** ⚡ Fast but complex manual caching
20
18
 
21
19
  **SmartDB gives you both.**
22
20
 
@@ -37,7 +35,7 @@ const users = await db.users.findMany({ status });
37
35
  // Cached automatically. Invalidated intelligently. Type-safe. Done.
38
36
  ```
39
37
 
40
- ### 🎯 The Results Speak for Themselves
38
+ ## 🎯 The Results Speak for Themselves
41
39
 
42
40
  <table>
43
41
  <tr>
@@ -70,7 +68,7 @@ Developer happiness: 😍
70
68
  </tr>
71
69
  </table>
72
70
 
73
- ### ⚡ Key Features at a Glance
71
+ ## ⚡ Key Features at a Glance
74
72
 
75
73
  | Feature | What You Get |
76
74
  |---------|--------------|
@@ -83,9 +81,7 @@ Developer happiness: 😍
83
81
  | 🔗 **Zero Config** | Auto-discovers schema. Maps relationships. Just works. |
84
82
  | 🏗️ **Production Ready** | Singleton pattern. Health checks. Graceful shutdown. Connection pooling. |
85
83
 
86
- ---
87
-
88
- ### 🎬 See It In Action
84
+ ## 🎬 See It In Action
89
85
 
90
86
  ```typescript
91
87
  import { createSmartDB } from '@bhushanpawar/sqldb';
@@ -118,12 +114,6 @@ console.log(stats.hitRate); // "99.5%"
118
114
 
119
115
  ---
120
116
 
121
- **[⚡ Get Started in 60 Seconds](#getting-started-in-60-seconds)** • **[📖 Read the Docs](#documentation)** • **[🎯 See Examples](#examples)** • **[⭐ Star on GitHub](https://github.com/erBhushanPawar/sqldb)**
122
-
123
- </div>
124
-
125
- ---
126
-
127
117
  ## Why @bhushanpawar/sqldb?
128
118
 
129
119
  **Stop writing boilerplate.** Stop managing cache keys. Stop worrying about stale data.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhushanpawar/sqldb",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "An intelligent MariaDB client with Redis-backed caching, automatic schema discovery, relationship mapping, and smart cache invalidation",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",