@cranium/api
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

@cranium/api

Promise based HTTP client for web and React-Native based on fetch API

Features

  • Make HTTP request using fetch API
  • Supports the Promise API
  • Intercept request and response
  • Cancel requests
  • Automatic transforms for JSON data
  • Automatic transform FormData

Instalation

yarn add @cranium/api

Documentation

Package Sidebar

Install

npm i @cranium/api

Weekly Downloads

2

Version

2.0.3

License

ISC

Unpacked Size

66.4 kB

Total Files

41

Last publish

Collaborators

  • alexgul4enko