ko-axios
v1.0.0
Published
基于axios和fetch封装的request工具,添加有拦截器,方便快速配置使用
Downloads
3
Maintainers
Readme
ko-requset
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();