Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/example.ts

A JavaScript extension package for building strong and modern applications.
Latest
Deprecated

It turns out that this module isn't really helpful, and has compatibility issues with Bun, tsx and browsers, it will be removed in the future.

import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/example.ts";

Writes unit tests as if writing examples, inspired by Golang.

Functions

f
default
deprecated

Inspired by Golang's Example as Test design, creates a function that carries example code with // output: comments, when the returned function is called, it will automatically check if the actual output matches the one declared in the comment.