2.0.2 • Published 7 years ago

@ckldeveloper/fetch v2.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

fetch

Opinionated fetch wrapper for modern front-end.

Install

npm install --save @ckldeveloper/fetch

Initialize

  // request.js
  import fetch from '@ckldeveloper/fetch'
  export default fetch.api('http://your_api.io/api/v1/', defaultOptions)

REQUEST

  import fetch from './request'

  fetch.get('users')
  fetch.post('users', options, body)
  fetch.patch('users', options, body)
  fetch.put('users', options, body)
  fetch.delete('users')
  fetch.upload('users', options, formData)
2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.7-unfetch

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago