@effectionx/deno-deploy
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @effectionx/deno-deploy

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

9.41 kB

Total Files

16

Last publish

Collaborators

  • frontsidejack