@dimjs/request
TypeScript icon, indicating that this package has built-in type declarations

1.5.6 • Public • Published

A Typescript based request axios for web of @dimjs of monorepo

Usage

Notes

Dispatch a request Note the request pipe flow below orders:

[requestMiddleware1, requestMiddleware2, ..., transformRequest[], dispatchRequest, ..., transformResponse[], responseMiddleare1, responseMiddleare2]

Optimization

{
  "modularImports": [
    {
      "libraryName": "@dimjs/utils",
      "libraryDirectory": "esm"
    },
    {
      "libraryName": "@dimjs/lang",
      "libraryDirectory": "esm"
    }
  ]
}

Cause of we have an adapter for wx miniprogram, it's depends types @types/wechat-miniprogram, it redeclared duplicate identifier require, console, exports we need to mannully delete this and then do build

Package Sidebar

Install

npm i @dimjs/request

Weekly Downloads

21

Version

1.5.6

License

MIT

Unpacked Size

129 kB

Total Files

6

Last publish

Collaborators

  • tianyingchun