Skip to main content
Home

Base include for utilities, build and docs

This package works with DenoIt is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Cloudflare Workers
This package works with Deno
JSR Score
58%
Published
a year ago (0.4.9)
class AppConstantsService

Constructors

new
AppConstantsService()

Static Properties

readonly
env: { isTest: boolean; isProduction: boolean; isDevelopment: boolean; isRepl: boolean; isDebug: boolean; }
readonly
libUtilitiesConstants: { headers: { correlationId: string; requestId: string; responseTime: string; }; }
readonly
paths: { n: string; p: string; }[]
readonly
validEnvs: string[]
private
_product: ProductJson | undefined

Static Methods

Will throw Error if:

  • join(Deno.cwd(), 'deno.json') does not exist or not readable
  • Text from file is not parsable as JSON.
  • JSON does not have a name and version property.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@redstinkcreature/lib-utilities

Import symbol

import { AppConstantsService } from "@redstinkcreature/lib-utilities";
or

Import directly with a jsr specifier

import { AppConstantsService } from "jsr:@redstinkcreature/lib-utilities";