Skip to main content

Take web app easy to the edge.

This package works with Node.js, Deno, Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers
It is unknown whether 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
94%
Published
11 months ago (0.0.10)
function is_assets_path
is_assets_path(url: URL): boolean

Check if the requested url is for assets or not.

Parameters

url: URL

Return Type

Add Package

deno add jsr:@ydcjeff/ezedge

Import symbol

import { is_assets_path } from "@ydcjeff/ezedge";

---- OR ----

Import directly with a jsr specifier

import { is_assets_path } from "jsr:@ydcjeff/ezedge";

Add Package

npx jsr add @ydcjeff/ezedge

Import symbol

import { is_assets_path } from "@ydcjeff/ezedge";

Add Package

yarn dlx jsr add @ydcjeff/ezedge

Import symbol

import { is_assets_path } from "@ydcjeff/ezedge";

Add Package

pnpm dlx jsr add @ydcjeff/ezedge

Import symbol

import { is_assets_path } from "@ydcjeff/ezedge";

Add Package

bunx jsr add @ydcjeff/ezedge

Import symbol

import { is_assets_path } from "@ydcjeff/ezedge";