sequelize-inspector
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

sequelize-inspector

Inspect sequelize's connection pool usage and query performance. This library inspects sequelize and shows the info on your express server.

1. Install

npm install sequelize-inspector

2. Use

import SequelizeInspector from 'sequelize-inspector'

// ... setup sequelize and express

SequelizeInspector.init(express, sequelize)

3. Open

Start up your server, open up /sequelize and you'll see this graph.

Each "lane" represents a connection to the database. Rectangles within it are queries and transactions. Hover them to see their details.

screenshot

This is still in early development and is NOT a production feature!

Package Sidebar

Install

npm i sequelize-inspector

Weekly Downloads

4

Version

0.1.0

License

MIT

Unpacked Size

46.4 kB

Total Files

7

Last publish

Collaborators

  • ghostframe