@bundled-es-modules/chai
v4.3.7
Published
mirror of chai, bundled and exposed as ES module (incl. typescript types)
Downloads
3,020
Keywords
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>