0.5.1-1 • Published 5 years ago
kyx v0.5.1-1
KyX
Ky that supports ESM5 and UMD.
Ky is a tiny and elegant HTTP client based on the browser Fetch API
Read more: https://github.com/sindresorhus/ky
Install
npm install
Usage
TS/ES2015
import ky from 'kyx';
const result = await ky.get('/').json();
Browser
Add dist/kyx.min.js
to your project.
var ky = kyx['default'];
// ...
License
MIT
0.5.1-1
5 years ago