kyr-lens

1.0.3 • Public • Published

Lens

Front-End GraphQL Client 接入库

结构示意图

How To Use

import { Lens } from '../dest/index';

const lens = new Lens('you want to request GraphQL Uri');
lens.req('request json').then((result:string)=>{
    console.log(result);
})

Roadmap

  • [X] 代码实现
  • [X] 集成封装
  • [ ] 功能调试

Reference

使用apollo作为前端接入框架,对其封装后供前端使用。

Readme

Keywords

none

Package Sidebar

Install

npm i kyr-lens

Weekly Downloads

0

Version

1.0.3

License

none

Unpacked Size

12.9 kB

Total Files

14

Last publish

Collaborators

  • koyoshiro