JSPM

ko-axios

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1
    • Score
      100M100P100Q19937F
    • License ISC

    基于axios和fetch封装的request工具,添加有拦截器,方便快速配置使用

    Package Exports

    • ko-axios

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ko-axios) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    ko-requset

    npm version Linux Build Status

    Install

    yarn add ko-requset
    npm install ko-requset

    Usage

    <script src="/path/to/ko-util.js">
    //或
    </script><script src="/path/to/ko-util.min.js"></script>
    //或
    import * as util from 'ko-util'

    Package Managers

    JavaScript ko-util supports npm and yarn under the name ko-util. Module Loaders

    Module Loaders

    JavaScript ko-util can also be loaded as an iiff, AMD, CommonJS or ES6 module.

    Basic Usage

    cosnt {LocalDb} from 'ko-util';
    localDb.set('dux','nblt');
    localDb.get('dux');
    localDb.clear();