HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: /var/www/indoadvisory_new/webapp/node_modules/@cloudflare/unenv-preset/README.md
# @cloudflare/unenv-preset

[unenv](https://github.com/unjs/unenv) preset for cloudflare.

unenv provides polyfills to add [Node.js](https://nodejs.org/) compatibility for any JavaScript runtime, including browsers and edge workers.

## Usage

```ts
import { cloudflare } from "@cloudflare/unenv-preset";
import { defineEnv } from "unenv";

const { env } = defineEnv({
	presets: [cloudflare],
});

const { alias, inject, external, polyfill } = env;
```

See the unenv [README](https://github.com/unjs/unenv/blob/main/README.md) for more details.

## Tests

This package is tested via wrangler e2e tests.