0.1.1 • Published 6 months ago

@effectionx/deno-deploy v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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();
});
0.1.1

6 months ago