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

0.0.1 • Public • Published

jequest 请求库

Installing

$ npm i @wuchuhengtools/jequest

Usage

import router from '@wuchuhengtools/promise-router'
// ...
router('/me/devices/:id/files/:fileId', '/me/devices/11111/files/22222').then(e => {
    console.log(e) // { "routeParams": { "id": "sdfasdfadsfasd", "fileId": "22222" } 
})

Contributing

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT

/@wuchuhengtools/request/

    Package Sidebar

    Install

    npm i @wuchuhengtools/request

    Weekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    5.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • wuchuheng