@effectionx/deno-deploy@0.1.1Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
Detect when running in the Deno Deploy environment in Effection programs.
Deno Deploy
Provides Deno Deploy Effection context with region
, deploymentId
and
isDenoDeploy
flag to detect when running in the Deno Deploy environment. This
can be useful when testing an application that's deployed to Deno Deploy.
import { main } from "effection"; import { useDenoDeploy } from "@effectionx/deno-deploy"; await main(function* () { const { isDenoDeploy, deploymentId, region, } = yield* useDenoDeploy(); });
Built and signed on
GitHub Actions
Add Package
deno add jsr:@effectionx/deno-deploy
Import symbol
import * as deno_deploy from "@effectionx/deno-deploy";
Import directly with a jsr specifier
import * as deno_deploy from "jsr:@effectionx/deno-deploy";
Add Package
pnpm i jsr:@effectionx/deno-deploy
pnpm dlx jsr add @effectionx/deno-deploy
Import symbol
import * as deno_deploy from "@effectionx/deno-deploy";
Add Package
yarn add jsr:@effectionx/deno-deploy
yarn dlx jsr add @effectionx/deno-deploy
Import symbol
import * as deno_deploy from "@effectionx/deno-deploy";
Add Package
vlt install jsr:@effectionx/deno-deploy
Import symbol
import * as deno_deploy from "@effectionx/deno-deploy";
Add Package
npx jsr add @effectionx/deno-deploy
Import symbol
import * as deno_deploy from "@effectionx/deno-deploy";