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

xnd

Safely augmenting and supplementing JavaScript built-ins since 2021.

See the documentation to discover all that Xnd has to offer. Xnd is inspired by prior art such as the Kotlin Standard Library, Google Guava, and many others.

Usage

Xnd is a collection of augmentations and supplements to JavaScript built-ins. Augmentations and supplements are defined in JavaScript modules meaning that you can use them in Deno, Node.js, and on the web.

Deno

import also from "https://deno.land/x/xnd/also.ts";

Node.js

npm i xnd
import also from "xnd/also";

Web

import also from "https://cdn.skypack.dev/xnd/also.js";