UNPKG

@rasla/logify

Version:

A lightweight, flexible, and easy-to-use logging middleware for Elysia.js applications

74 lines (73 loc) 1.81 kB
{ "name": "@rasla/logify", "version": "5.0.0", "description": "A lightweight, flexible, and easy-to-use logging middleware for Elysia.js applications", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist", "LICENSE.md", "README.md" ], "scripts": { "start": "bun run main.ts", "typecheck": "tsc", "build:types": "tsc --emitDeclarationOnly", "build:js": "bun build ./src/index.ts --outdir=dist --target=node", "build": "bun run build:types && bun run build:js", "dev": "bun run --watch main.ts", "prepublishOnly": "bun run build", "format": "prettier --write \"src/**/*.ts\" \"examples/**/*.ts\"", "lint": "eslint \"src/**/*.ts\" --fix", "test": "bun test" }, "keywords": [ "elysia", "logger", "middleware", "logging", "bun", "typescript", "console-log", "file-log", "http-logger" ], "author": { "name": "0xRasla", "email": "programmer.rasla@gmail.com", "url": "https://github.com/0xRasla" }, "repository": { "type": "git", "url": "git+https://github.com/0xRasla/logify.git" }, "bugs": { "url": "https://github.com/0xRasla/logify/issues" }, "homepage": "https://github.com/0xRasla/logify#readme", "license": "MIT", "dependencies": { "chalk": "^5.4.1", "elysia": "^1.2.25" }, "devDependencies": { "@types/node": "^20.17.30", "@types/bun": "^1.2.9", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.57.1", "prettier": "^3.5.3", "typescript": "^5.8.3" }, "peerDependencies": { "elysia": ">=0.7.0" }, "engines": { "node": ">=16.0.0", "bun": ">=1.0.0" }, "publishConfig": { "access": "public" } }