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

74 lines 2.31 kB
{ "name": "qgenutils", "version": "1.0.3", "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": "node qtests-runner.mjs", "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 .", "pretest": "node scripts/clean-dist.mjs && node scripts/ensure-runner.mjs" }, "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", "nanoid": "^3.3.7", "qerrors": "^1.2.7", "winston": "^3.17.0", "winston-daily-rotate-file": "^5.0.0" }, "devDependencies": { "@babel/core": "^7.28.4", "@babel/preset-env": "^7.28.3", "agentsqripts": "^1.0.8", "arqitect": "^1.1.1", "babel-jest": "^30.2.0", "commoncontext": "^1.0.1", "fileflows": "^1.0.1", "jest": "^29.7.0", "loqatevars": "^1.0.6", "madge": "^8.0.0", "npmcontext": "^1.0.1", "qtests": "^2.0.0", "quantumagent": "^1.0.5", "ts-jest": "^29.4.4", "typescript": "^5.9.2", "unqommented": "^1.1.0" } }