@jequest/jequest
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

Readme

Keywords

Package Sidebar

Install

npm i @jequest/jequest

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

4.72 kB

Total Files

10

Last publish

Collaborators

  • wuchuheng