Have ideas to improve npm?Join in the discussion! »

    @mpxjs/fetch
    TypeScript icon, indicating that this package has built-in type declarations

    2.6.57 • Public • Published

    mpx-fetch

    a http request lib for mpx framework.

    Usage

    import mpx from '@mpxjs/core'
    import fetch from '@mpxjs/fetch'
    
    mpx.use(fetch)
    
    mpx.xfetch.fetch({
      url,
      data: {},
      header: {'content-type': 'application/x-www-form-urlencoded'},
      method: 'GET'
    }).then(res => {
      console.log(res)
    })

    Keywords

    none

    Install

    npm i @mpxjs/fetch

    DownloadsWeekly Downloads

    48

    Version

    2.6.57

    License

    ISC

    Unpacked Size

    25.1 kB

    Total Files

    11

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar