Skip to content

bundled-es-modules/fetch-mock

Repository files navigation

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.

About

mirror of fetch-mock, bundled and exposed as ES module

Resources

Stars

Watchers

Forks

Packages

No packages published