1.0.10 • Published 8 months ago

@jswork/next-fetch-with-content-type v1.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

next-fetch-with-content-type

Request middleware for contentType.

version license size download

installation

npm install -S @jswork/next-fetch-with-content-type

usage

import '@jswork/next-fetch-with-content-type';

const betterFetch = nx.fetchWithContentType(fetch);
betterFetch('https://api.github.com/users/afeiship', { contentType: 'urlencoded' }).then(
  (res) => {
    // console.log(res);
  }
);

license

Code released under the MIT license.

1.0.10

8 months ago

1.0.9

12 months ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.0

3 years ago