nestjs-profiler 1.0.19 → 1.0.21

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 +7 -1
  2. package/package.json +9 -1
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # nestjs-profiler
2
2
 
3
3
  <p align="center">
4
- <img src="https://raw.githubusercontent.com/MohammedRaslan/Nest-JS-Profiler/refs/heads/main/libs/nestjs-profiler/src/assets/logo.png" width="400" alt="Dashboard Preview">
4
+ <img src="https://raw.githubusercontent.com/MohammedRaslan/Nest-JS-Profiler/refs/heads/main/libs/nestjs-profiler/src/assets/logo.png" width="400" alt="NestJS Profiler Logo" />
5
5
  </p>
6
6
 
7
7
  A NestJS module for profiling HTTP requests, database queries, and cache operations. Inspired by Symfony Profiler, it provides a web-based dashboard to inspect request duration, executed queries, log messages, and explain plans for slow queries.
@@ -66,6 +66,12 @@ import { ProfilerModule } from 'nestjs-profiler';
66
66
  // Add pgDriver
67
67
  pgDriver: pg,
68
68
 
69
+ // Add mysql2 driver for MySQL profiling
70
+ mysqlDriver: mysql2,
71
+
72
+ // Add mongodb driver for MongoDB profiling
73
+ mongoDriver: mongodb,
74
+
69
75
  // MongoDB Profiling (default: true)
70
76
  collectMongo: true,
71
77
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestjs-profiler",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "A NestJS module for profiling HTTP requests, database queries, and cache operations. Inspired by Symfony Profiler, it provides a web-based dashboard to inspect request duration, executed queries, log messages, and explain plans for slow queries.",
5
5
  "author": "Mohamed Raslan",
6
6
  "main": "./index.js",
@@ -19,6 +19,14 @@
19
19
  "telescope",
20
20
  "profiler"
21
21
  ],
22
+ "homepage": "https://github.com/MohammedRaslan/Nest-JS-Profiler#readme",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/MohammedRaslan/Nest-JS-Profiler.git"
26
+ },
27
+ "bugs": {
28
+ "url": "https://github.com/MohammedRaslan/Nest-JS-Profiler/issues"
29
+ },
22
30
  "exports": {
23
31
  ".": {
24
32
  "types": "./index.d.ts",