@4lch4/backpack
Advanced tools
Comparing version 0.1.1 to 0.1.2
import { Elysia, InternalRoute } from 'elysia'; | ||
export declare function printRoutes(routes: InternalRoute[]): void; | ||
export declare const healthCheckRoutes: Elysia<"", { | ||
export declare const HealthCheckRoutes: Elysia<"", { | ||
request: {}; | ||
@@ -5,0 +5,0 @@ store: {}; |
@@ -16,3 +16,3 @@ import Table from 'cli-table'; | ||
} | ||
export const healthCheckRoutes = new Elysia() | ||
export const HealthCheckRoutes = new Elysia() | ||
.get('/health', () => 'OK') | ||
@@ -19,0 +19,0 @@ .get('/readiness', () => 'OK'); |
export * from './Logger.js'; | ||
export * as io from './io/index.js'; | ||
//# sourceMappingURL=index.d.ts.map |
export * from './Logger.js'; | ||
export * as io from './io/index.js'; | ||
//# sourceMappingURL=index.js.map |
import { WinstonTransport } from '@axiomhq/winston'; | ||
import { AxiomDataSet, AxiomOrgId, AxiomToken, DEFAULT_LOG_HOSTNAME, DEFAULT_LOG_NODE_ENV, DEFAULT_LOG_SERVICE, } from '../constants/index.js'; | ||
import { AxiomDataSet, AxiomOrgId, AxiomToken, DEFAULT_LOG_HOSTNAME, DEFAULT_LOG_NODE_ENV, DEFAULT_LOG_SERVICE, } from '@constants/index.js'; | ||
import { arch, platform } from 'os'; | ||
@@ -4,0 +4,0 @@ import Winston, { transports as WinstonTransports } from 'winston'; |
{ | ||
"name": "@4lch4/backpack", | ||
"displayName": "4lch4's Backpack", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A collection of useful functions, constants, and more, for use in a variety of NodeJS packages/projects.", | ||
@@ -28,3 +28,4 @@ "keywords": [ | ||
"./elysia": "./dist/apis/Elysia.js", | ||
"./constants": "./dist/constants/index.js" | ||
"./constants": "./dist/constants/index.js", | ||
"./io": "./dist/lib/io/index.js" | ||
}, | ||
@@ -45,2 +46,3 @@ "main": "./dist/index.js", | ||
"cli-table": "^0.3.11", | ||
"dayjs": "^1.11.10", | ||
"elysia": "^0.7.21", | ||
@@ -47,0 +49,0 @@ "winston": "^3.11.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
93820
59
327
10
+ Addeddayjs@^1.11.10
+ Addeddayjs@1.11.13(transitive)