kyx
TypeScript icon, indicating that this package has built-in type declarations

0.5.1-1 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i kyx

Homepage

lamnhan.com

Weekly Downloads

1

Version

0.5.1-1

License

MIT

Unpacked Size

100 kB

Total Files

10

Last publish

Collaborators

  • lamnhan