@wepin/fetch-js
v0.0.24
Published
Wepin fetch library for Web
Downloads
968
Readme
@wepin/fetch-js
Wepin Fetch Library from Web. This package is exclusively available for use in web environments.
⏩ Install
npm install @wepin/fetch-js
or
yarn add @wepin/fetch-js
⏩ Import SDK
import { WepinFetch } from '@wepin/fetch-js'
⏩ Initialize
const wepinFetch = new WepinFetch({
appId: 'wepinAppId',
appKey: 'wepinAppKey',
domain: 'wepinDomain',
sdk: {version, type}
})
await wepinFetch.init()