Skip to main content

Query Neon PostgreSQL from serverless/worker/edge functions over WebSockets or https

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
70%
Published
3 weeks ago (1.0.1)
class Cert

Constructors

new
Cert()

Properties

Methods

toJSON(): { serialNumber: string; algorithm: string; issuer: DistinguishedName; validityPeriod: { notBefore: string; notAfter: string; }; subject: DistinguishedName; publicKey: { identifiers: string[]; data: string; all: string; }; signature: string; keyUsage: { critical: boolean | undefined; usages: (
"digitalSignature"
| "nonRepudiation"
| "keyEncipherment"
| "dataEncipherment"
| "keyAgreement"
| "keyCertSign"
| "cRLSign"
| "encipherOnly"
| "decipherOnly"
)[]
; }
; subjectAltNames: string[] | undefined; extKeyUsage: { clientTls?: true; serverTls?: true; } | undefined; authorityKeyIdentifier: string | undefined; subjectKeyIdentifier: string | undefined; basicConstraints: { critical?: boolean; ca?: boolean; pathLength?: number; } | undefined; signedData: string; rawData: string; }

Static Methods

Add Package

deno add jsr:@neon/serverless

Import symbol

import { Cert } from "@neon/serverless";
or

Import directly with a jsr specifier

import { Cert } from "jsr:@neon/serverless";

Add Package

pnpm i jsr:@neon/serverless
or (using pnpm 10.8 or older)
pnpm dlx jsr add @neon/serverless

Import symbol

import { Cert } from "@neon/serverless";

Add Package

yarn add jsr:@neon/serverless
or (using Yarn 4.8 or older)
yarn dlx jsr add @neon/serverless

Import symbol

import { Cert } from "@neon/serverless";

Add Package

vlt install jsr:@neon/serverless

Import symbol

import { Cert } from "@neon/serverless";

Add Package

npx jsr add @neon/serverless

Import symbol

import { Cert } from "@neon/serverless";

Add Package

bunx jsr add @neon/serverless

Import symbol

import { Cert } from "@neon/serverless";