6.5.2 • Published 6 years ago

@bundled-es-modules/fetch-mock v6.5.2

Weekly downloads
168
License
-
Repository
-
Last release
6 years ago

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">
  // from main file
  import { fetchMock } from 'fetch-mock';
  // or directly
  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.