Skip to main content
Home

@cross/utils@0.16.0
Built and signed on GitHub Actions

A collection of useful routines to simplify cross runtime (Node, Deno and Bun) development.

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
100%
Published
10 months ago (0.16.0)

Classes

Functions

f
args

Retrieves command-line arguments in a cross-runtime compatible manner.

Interfaces

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@cross/utils

Import symbol

import * as mod from "@cross/utils/args";
or

Import directly with a jsr specifier

import * as mod from "jsr:@cross/utils/args";

Add Package

pnpm i jsr:@cross/utils
or (using pnpm 10.8 or older)
pnpm dlx jsr add @cross/utils

Import symbol

import * as mod from "@cross/utils/args";

Add Package

yarn add jsr:@cross/utils
or (using Yarn 4.8 or older)
yarn dlx jsr add @cross/utils

Import symbol

import * as mod from "@cross/utils/args";

Add Package

vlt install jsr:@cross/utils

Import symbol

import * as mod from "@cross/utils/args";

Add Package

npx jsr add @cross/utils

Import symbol

import * as mod from "@cross/utils/args";

Add Package

bunx jsr add @cross/utils

Import symbol

import * as mod from "@cross/utils/args";