Skip to main content
WorkerOptions.argv - node__worker_threads.d.ts - Node documentation
property WorkerOptions.argv

Usage in Deno

```typescript import { type WorkerOptions } from "node:node__worker_threads.d.ts"; ```
List of arguments which would be stringified and appended to `process.argv` in the worker. This is mostly similar to the `workerData` but the values will be available on the global `process.argv` as if they were passed as CLI options to the script.

Type

any[] | undefined