fire-api
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

fire-api

统一的api接口访问类,便于在各类项目中进行移植。

安装

yarn add fire-api

初始化

初始化的时候需要设置对应的各类平台的api

import FireApi from 'fire-api';
import ShareChargeApi from 'sharecharge-api';

FireApi.setAdapter(new ShareChargeApi());

Readme

Keywords

none

Package Sidebar

Install

npm i fire-api

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

7.97 kB

Total Files

6

Last publish

Collaborators

  • jzoom