@bundled-es-modules/chai

mirror of chai, bundled and exposed as ES module (incl. typescript types)

Usage no npm install needed!

<script type="module">
  import bundledEsModulesChai from 'https://cdn.skypack.dev/@bundled-es-modules/chai';
</script>

README

chai

This is a mirror of chai, bundled and exposed as ES module.

Install

npm install @bundled-es-modules/chai
bower install bundled-es-modules/chai

Use

<script type="module">
  import { chai, expect, should, assert } from '@bundles-es-modules/chai';
  // or directly
  import chai from '@bundles-es-modules/chai/chai.js';
</script>

Bower use

<script type="module">
  import { chai, expect, should, assert } from 'chai';
  // or directly
  import chai from 'chai/chai.js';
</script>