Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score70%
Downloads48/wk
Published2 years ago (0.1.0)

wraps std/assert with more ergonomic friendly functions

@gnome/assert

The assert module is purely opinionated and is a wrapper around the Deno standard library's assert module to make testing easier.

Built and signed on
GitHub Actions

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:@gnome/assert

Import symbol

import * as assert from "@gnome/assert";
or

Import directly with a jsr specifier

import * as assert from "jsr:@gnome/assert";

Add Package

pnpm i jsr:@gnome/assert
or (using pnpm 10.8 or older)
pnpm dlx jsr add @gnome/assert

Import symbol

import * as assert from "@gnome/assert";

Add Package

yarn add jsr:@gnome/assert
or (using Yarn 4.8 or older)
yarn dlx jsr add @gnome/assert

Import symbol

import * as assert from "@gnome/assert";

Add Package

vlt install jsr:@gnome/assert

Import symbol

import * as assert from "@gnome/assert";

Add Package

npx jsr add @gnome/assert

Import symbol

import * as assert from "@gnome/assert";

Add Package

bunx jsr add @gnome/assert

Import symbol

import * as assert from "@gnome/assert";