Skip to main content
Home

SwissKnife is a Deno module that allows you to do some useful tasks on Windows OS using NirCmd v2.86

This package works with Deno
This package works with Deno
JSR Score
94%
Published
a year ago (1.8.0)
function beep
beep(
frequency: number,
duration: number,
): Promise<number>

Play system beep

Examples

Example 1

import * as swissKnife from "https://deno.land/x/swissKnife/mod.ts"
await swissKnife.beep(500, 1000) //play 500 hz for 1 sec.

Parameters

frequency: number

Beep frequency

duration: number

Beep duration in milliseconds

Return Type

the process exit code

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:@fakoua/swiss-knife

Import symbol

import { beep } from "@fakoua/swiss-knife";
or

Import directly with a jsr specifier

import { beep } from "jsr:@fakoua/swiss-knife";