Skip to main content
Home
This package has been archived, and as such it is read-only.

Built and signed on GitHub Actions

Works with
This package works with Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score88%
Publisheda year ago (0.0.11)

Tools for working with deno cloud: Deploy™️ | Subhosting™️

Driver: deno.cloud

Tools for working with Deno cloud.

References

.env

Ensure you have a .env file or have the following ENV_VARS available to the process.

# Loaded from: src/env.ts

# Deno: Subhosting → Settings → Access Tokens
#       https://dash.deno.com/subhosting
DENO_SUBHOSTING_ACCESS_TOKEN="****"
DENO_SUBHOSTING_DEPLOY_ORG_ID="****"

# Privy: Dashboard → Settings → Basics
#        https://dashboard.privy.io
PRIVY_APP_ID="****"
PRIVY_APP_SECRET="****"

Example

import { Pkg } from './mod.ts';
import { DenoCloud, Server } from 'jsr:@sys/driver-deno-cloud';

const app = DenoCloud.server({ env });
const options = Server.options(8080, Pkg)
Deno.serve(options, app.fetch);

Examples

Example 1

import { DenoCloud } from '@sys/driver-deno-cloud';
Built and signed on
GitHub Actions

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:@sys/driver-deno-cloud

Import symbol

import * as driver_deno_cloud from "@sys/driver-deno-cloud";
or

Import directly with a jsr specifier

import * as driver_deno_cloud from "jsr:@sys/driver-deno-cloud";

Add Package

pnpm i jsr:@sys/driver-deno-cloud
or (using pnpm 10.8 or older)
pnpm dlx jsr add @sys/driver-deno-cloud

Import symbol

import * as driver_deno_cloud from "@sys/driver-deno-cloud";

Add Package

yarn add jsr:@sys/driver-deno-cloud
or (using Yarn 4.8 or older)
yarn dlx jsr add @sys/driver-deno-cloud

Import symbol

import * as driver_deno_cloud from "@sys/driver-deno-cloud";

Add Package

vlt install jsr:@sys/driver-deno-cloud

Import symbol

import * as driver_deno_cloud from "@sys/driver-deno-cloud";

Add Package

npx jsr add @sys/driver-deno-cloud

Import symbol

import * as driver_deno_cloud from "@sys/driver-deno-cloud";

Add Package

bunx jsr add @sys/driver-deno-cloud

Import symbol

import * as driver_deno_cloud from "@sys/driver-deno-cloud";