rk-axios

axios的封装: 1. 暴露出两个方法:错误时回调函数:setErrorCallback,请求前的钩子函数setBeforeRequire。 2. 对get函数进行封装,第二个参数是数据,第三个参数是AxiosRequestConfig 3. 对所有请求的data数据进行封装,传递json格式即可,库会进行转换 # Install ```` yarn add rk-axios ```` # Usage ```` import rkAxios from 'rk-axios' rkAxios.get('ht

85

Security score

0 known advisories in v0.0.8

0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.advisory penalty −0 · staleness penalty −15

Weekly downloads

Downloads across all versions in the last 7 days, from the official npm downloads API (api.npmjs.org).

8

Unpacked size

Size of v0.0.8 on disk after npm install extracts the tarball, as reported by the npm registry.

382.5 kB

Dependencies

Direct runtime dependencies declared by v0.0.8. Transitive dependencies are not counted here — use the lockfile audit for the full tree.

4

Last publish

When v0.0.8 was published to the registry. Long gaps can indicate an unmaintained package.

5 years ago

Security advisories

Vulnerabilities affecting v0.0.8 specifically, from OSV.dev — the open database aggregating the GitHub Advisory Database (GHSA) and CVEs. Links open the full advisory.

No known vulnerabilities affect v0.0.8.

Downloads — last 30 days

Daily download counts across all versions for the last 30 days, from the npm downloads API. Weekend dips are normal for developer tooling.

23 total 27.3% vs prior week

Jul 17Aug 15