Skip to main content

Built and signed on GitHub Actions

Tiny util to await an endpoint to respond.

This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
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 Score
100%
Published
2 months ago (0.3.1)

await-response

Tiny util to await an endpoint to respond

Usage

import { waitResponse } from "@gaute/await-response/";

await waitResponse('http://localhost:8080/')
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@gaute/await-response

Import symbol

import * as mod from "@gaute/await-response";

---- OR ----

Import directly with a jsr specifier

import * as mod from "jsr:@gaute/await-response";

Add Package

npx jsr add @gaute/await-response

Import symbol

import * as mod from "@gaute/await-response";

Add Package

yarn dlx jsr add @gaute/await-response

Import symbol

import * as mod from "@gaute/await-response";

Add Package

pnpm dlx jsr add @gaute/await-response

Import symbol

import * as mod from "@gaute/await-response";

Add Package

bunx jsr add @gaute/await-response

Import symbol

import * as mod from "@gaute/await-response";