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)

Functions

f
loadAvg

Retrieves the system load averages.

f
memoryUsage

Provides information about the overall system memory usage.

f
systemMemoryInfo

Retrieves information about the system memory usage.

f
uptime

Retrieves the system uptime.

Interfaces

I
ProcessMemoryInfo

Provides information about the memory usage of the current process.

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/sysinfo";
or

Import directly with a jsr specifier

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

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/sysinfo";

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/sysinfo";

Add Package

vlt install jsr:@cross/utils

Import symbol

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

Add Package

npx jsr add @cross/utils

Import symbol

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

Add Package

bunx jsr add @cross/utils

Import symbol

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