deno land nest badge

npm version bundle size npm download dependencies Status codecov Codacy Badge npm type definitions Commitizen friendly Gitmoji semantic-release

equal | lauqe

Deep comparison between two values to determine if they are equivalent

🚚 Install

npm i lauqe
or
yarn add lauqe

💫 Usage

equal provides multi platform modules.

🦕 Deno

Click to toggle contents of `code`

deno.land

import { equal } from "https://deno.land/x/equal/mod.ts";

equal([[[]]], [[[]]]); // true

nest.land

import { equal } from "https://x.nest.land/equal/mod.ts";

equal([[[]]], [[[]]]); // true

📦 NPM

Click to toggle contents of `code`

ESM

import { equal } from "lauqe";

equal([[[]]], [[[]]]); // true

UMD

const { add } = require("lauqe");

equal([[[]]], [[[]]]); // true

🌐 CDN

Click to toggle contents of `code`

ESM

<script type="module">
  import { equal } from "https://unpkg.com/lauqe?module";
  console.log(equal({}, {})); // true
</script>

UMD

<script src="https://unpkg.com/lauqe"></script>

<script>
  console.log(E.equal({}, {})); // true
</script>

💡 License

MIT