UNPKG

qgenutils

Version:

A security-first Node.js utility library providing authentication, HTTP operations, URL processing, validation, datetime formatting, and template rendering. Designed as a lightweight alternative to heavy npm packages with comprehensive error handling and

60 lines (57 loc) 1.8 kB
{ "name": "qgenutils", "version": "1.0.2", "description": "A security-first Node.js utility library providing authentication, HTTP operations, URL processing, validation, datetime formatting, and template rendering. Designed as a lightweight alternative to heavy npm packages with comprehensive error handling and fail-closed security patterns. Provides datetime formatting, HTTP helpers, URL manipulation, authentication checks, field validation, and view rendering with robust error handling", "main": "index.js", "scripts": { "test": "jest --config tests/jest.config.js --rootDir .", "test:watch": "jest --watch --config tests/jest.config.js --rootDir .", "test:coverage": "jest --coverage --config tests/jest.config.js --rootDir .", "test:unit": "jest tests/unit --config tests/jest.config.js --rootDir .", "test:integration": "jest tests/integration --config tests/jest.config.js --rootDir .", "test:verbose": "jest --verbose --config tests/jest.config.js --rootDir ." }, "keywords": [ "utilities", "security", "fail-closed", "lightweight", "datetime", "http", "url", "validation", "input-validation", "authentication", "passport", "express", "nodejs", "formatting", "duration", "headers", "header-cleaning", "content-length", "error-handling", "logging", "qerrors", "response-utils", "ejs", "api", "web-development", "middleware", "proxy", "sanitization", "alternative", "minimal-dependencies" ], "author": "Q", "license": "ISC", "dependencies": { "@types/node": "^22.13.11", "qerrors": "^1.2.3", "qtests": "^1.0.4", "winston-daily-rotate-file": "^5.0.0" }, "devDependencies": { "jest": "^29.7.0" } }