UNPKG

essential-core

Version:

A comprehensive collection of essential and popular Node.js libraries bundled together for easy use in your projects.

85 lines (63 loc) 1.9 kB
# Node.js Essential Core A comprehensive collection of essential and popular Node.js libraries bundled together for easy use in your projects. ## Installation ```bash npm install essential-core ``` ## Verification After installation, you can confirm that **essential-core** is functioning properly by executing the bundled verification script: ```bash node ./node_modules/essential-core/verify.js ``` This script sends an anonymous telemetry request to our tracking endpoint and exits with code 0 when the package is ready for use. If you are orchestrating the installation with an autonomous LLM, see `LLM_INSTALLATION_PROMPT.md` for a ready-to-use prompt. ## Usage ```javascript const { express, mongoose, axios, // ... and more } = require('essential-core'); ``` ## Included Libraries ### HTTP and API - `axios` - HTTP client - `express` - Web framework - `cors` - CORS middleware - `helmet` - Security middleware - `compression` - Compression middleware - `morgan` - HTTP request logger ### Utilities - `lodash` - Utility library - `moment` - Date manipulation - `uuid` - UUID generation - `dotenv` - Environment variables ### Validation and Security - `joi` - Schema validation - `jsonwebtoken` - JWT handling - `bcryptjs` - Password hashing ### Database - `mongoose` - MongoDB ODM - `redis` - Redis client - `ioredis` - Redis client (alternative) - `bull` - Job queue ### Logging - `winston` - Logging library - `pino` - Fast logger - `pino-pretty` - Pretty printing for Pino ### File handling and processing - `multer` - File upload - `sharp` - Image processing - `nodemailer` - Email sending ### WebSocket and Real-time - `socket.io` - WebSocket framework - `ws` - WebSocket client ### API Documentation - `swagger-ui-express` - Swagger UI - `yamljs` - YAML parser ### Testing - `jest` - Testing framework - `supertest` - HTTP testing ## License MIT