@bundled-es-modules/fetch-mock
6.5.2 • Public • Published fetch-mock
This is a mirror of fetch-mock, bundled and exposed as ES module.
Install
npm install @bundled-es-modules/fetch-mock
bower install bundled-es-modules/fetch-mock
Use
<script type="module">
import { fetchMock } from 'fetch-mock';
import fetchMock from 'fetch-mock/fetchMock.js';
console.log(fetchMock);
</script>
Make sure you added @bundled-es-modules
scope to the path if used via npm.
Keywords
noneInstall
npm i @bundled-es-modules/fetch-mock
Weekly Downloads