Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@36node/fetch

36node396MIT0.7.2TypeScript support: included

Fetch tool.

readme

@36node/fetch

version downloads

Usage

yarn add @36node/fetch
import fetch from "@36node/fetch";

const res = await fetch("some url", { headers: {} });
console.log(res.headers);
console.log(res.body);

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

module © 36node, Released under the MIT License.

Authored and maintained by 36node with help from contributors (list).

github.com/zzswang · GitHub @36node

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.7.2 (2022-03-28)

Note: Version bump only for package @36node/fetch

0.7.1 (2022-03-28)

Bug Fixes

0.7.0 (2020-12-31)

Features

  • fetch: remove module entry (17f7dde)

0.6.5 (2020-12-29)

Bug Fixes

  • fetch: query string use import instead of require (20dbd02)

0.6.4 (2019-10-14)

Bug Fixes

  • tmp disable test for mongoose-helper and fetch (8d92019)

0.6.3 (2019-10-14)

Bug Fixes

0.6.2 (2019-10-10)

Bug Fixes

  • redux: payload not object type for action initPayload (098d9d7)

0.6.1 (2019-10-08)

Note: Version bump only for package @36node/fetch

0.6.0 (2019-06-06)

Bug Fixes

Features

  • middleware koa-health and koa-openapi (7a5fe8c)
  • support fetch in wxapp (#86) (98c1b0c)

0.5.1 (2019-03-31)

Bug Fixes

0.5.0 (2019-03-21)

Features

0.4.11 (2018-12-24)

Bug Fixes

  • fetch should not clean null or undefined body (aa1c47e)

0.4.10 (2018-12-22)

Bug Fixes

  • fetch should use create-error (11972a8)

0.4.9 (2018-12-12)

Bug Fixes

0.4.8 (2018-11-21)

Bug Fixes

0.4.7 (2018-11-20)

Bug Fixes

  • fetch: remove Access-Control-Allow-Origin in req header (89fdd2c)

0.4.6 (2018-11-18)

Bug Fixes

0.4.5 (2018-11-02)

Bug Fixes

0.4.4 (2018-11-02)

Bug Fixes

0.4.3 (2018-11-02)

Bug Fixes

0.4.2 (2018-11-02)

Bug Fixes

0.4.1 (2018-11-02)

Bug Fixes

0.4.0 (2018-11-02)

Features

0.3.8 (2018-10-28)

Bug Fixes

0.3.7 (2018-10-26)

Note: Version bump only for package @36node/fetch

0.3.6 (2018-10-21)

Bug Fixes

  • eslint babel and jest uncompatible issue && change a lot (1e2576b)

0.3.5 (2018-10-11)

Bug Fixes

0.3.4 (2018-10-11)

Bug Fixes

  • err response with text & isomorpic fetch support (94df7ea)
  • fetch test (7b0099b)

0.3.3 (2018-10-09)

Note: Version bump only for package @36node/fetch

0.3.2 (2018-10-06)

Note: Version bump only for package @36node/fetch

0.3.1 (2018-10-06)

Note: Version bump only for package @36node/fetch

0.3.0 (2018-10-04)

Features

0.2.0 (2018-09-25)

Features

  • tpl-react switch to create react app (84a6038)

0.1.3 (2018-09-22)

Note: Version bump only for package @36node/fetch

0.1.2 (2018-09-22)

Bug Fixes

  • fetch: jest test envrionment (880eb62)
  • fetch: remove default authentication headers (282f0aa)

0.1.1 (2018-09-22)

Note: Version bump only for package @36node/fetch

0.1.0 (2018-09-21)

Features