Package Exports
- @nextcloud/axios
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nextcloud/axios) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@nextcloud/axios
Simple, typed wrapper of an Axios instance for Nextcloud that automatically sends authentication headers. Cancellation is supported as well.
Installation
npm i -S @nextcloud/axios
Usage
import axios from '@nextcloud/axios'
axios.get('nextcloud.com')
See https://github.com/axios/axios for details.