Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@bundled-es-modules/axios

bashmish10k0.27.2

mirror of axios, bundled and exposed as ES module

readme

axios

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

Install

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

Use

<script type="module">
  // from main file
  import { axios } from 'axios';
  // or directly
  import axios from 'axios/axios.js';
  console.log(axios);
</script>

Make sure you added @bundled-es-modules scope to the path if used via npm.