How thatsuperdev/es-helpers works
es-helpers is a CommonJS library of independently loadable Node.js helpers, not a single application workflow. Consumers import a subpath or access a lazily loaded helper from the package root, then use that helper for database access, file and Git operations, application utilities, password/token support, or IP geolocation. PostgreSQL also exposes query, table CRUD/upsert, and transaction behavior in one runtime module. The graph preserves the README’s capabilities; arrows are limited to documented imports, visible calls, and integrations shown in excerpts.
Main entry points: index.js Lazy package root · postgres/index.js PostgreSQL client · file/index.js File utilities · git/index.js Git operations
Components 20
Package entry
- Lazy package root
index.js
Database access
- MySQL helpers
mysql/index.js - MySQL database
- PostgreSQL client
postgres/index.js - PostgreSQL database
- Table CRUD and upsert
postgres/index.js - Transactions
postgres/index.js - Firestore instances
firestore/index.js - Firestore service
Application helpers
- Globals and transforms
app-utils/index.js - Password and random helpers
encrypt/index.js - User token creation
app-utils/index.js - IP geolocation clients
location/index.js - Geolocation providers
File and Git operations
- File utilities
file/index.js - Node filesystem
- Git operations
git/index.js - Git remote
Other components
- Library consumer
- JWT signing library
Connections 30
- Library consumer → Lazy package root: loads root
README.md - Library consumer → MySQL helpers: imports subpath
README.md - Library consumer → PostgreSQL client: imports subpath
README.md - Library consumer → Firestore instances: imports subpath
README.md - Library consumer → Globals and transforms: imports subpath
README.md - Library consumer → Password and random helpers: imports subpath
README.md - Library consumer → File utilities: imports subpath
README.md - Library consumer → Git operations: imports subpath
README.md - Library consumer → IP geolocation clients: imports subpath
README.md - Lazy package root → Globals and transforms: loads on access
index.js - Lazy package root → Password and random helpers: loads on access
index.js - Lazy package root → File utilities: loads on access
index.js - Lazy package root → Firestore instances: loads on access
index.js - Lazy package root → Git operations: loads on access
index.js - Lazy package root → IP geolocation clients: loads on access
index.js - Lazy package root → MySQL helpers: loads on access
index.js - Lazy package root → PostgreSQL client: loads on access
index.js - MySQL helpers → MySQL database: connects and queries
mysql/index.js - PostgreSQL client → PostgreSQL database: queries
postgres/index.js - PostgreSQL client → Table CRUD and upsert: creates table helpers
postgres/index.js - PostgreSQL client → Transactions: runs transaction callback
postgres/index.js - Table CRUD and upsert → PostgreSQL client: executes queries
postgres/index.js - Transactions → PostgreSQL database: begins and ends transaction
postgres/index.js - Firestore instances → Firestore service: gets Firestore
firestore/index.js - Globals and transforms → User token creation: creates tokens
app-utils/index.js - User token creation → JWT signing library: signs with
app-utils/index.js - IP geolocation clients → Geolocation providers: requests IP data
location/index.js - File utilities → Node filesystem: reads and writes
file/index.js - File utilities → Git operations: delegates Git actions
file/index.js - Git operations → Git remote: clones and pushes
git/index.js