Nervously Proposing Marriage

    @cloudbase/adapter-bd_game

    0.2.0 • Public • Published

    @cloudbase/adapter-bd_game

    NPM Version

    tcb-js-sdk百度小游戏适配器

    安装

    npm i @cloudbase/adapter-bd_game -S

    使用

    ES Module

    import tcb from 'tsb-js-sdk';
    import adapterForWxMp from '@cloudbase/adapter-bd_game';
    
    // 以下两种方式二选一
    // 1.单参数传入
    tcb.useAdapters(adapterForWxMp);
    // 2.数组形式传参
    tcb.useAdapters([adapterForWxMp]);
    // adapter必须在init之前传入
    tcb.init();

    CommonJS

    const tcb = require('tsb-js-sdk');
    const adapterForWxMp = require('@cloudbase/adapter-bd_game');
    
    // 以下两种方式二选一
    // 1.单参数传入
    tcb.useAdapters(adapterForWxMp.adapter);
    // 2.数组形式传参
    tcb.useAdapters([adapterForWxMp.adapter]);
    // adapter必须在init之前传入
    tcb.init();

    Keywords

    none

    Install

    npm i @cloudbase/adapter-bd_game

    DownloadsWeekly Downloads

    0

    Version

    0.2.0

    License

    ISC

    Unpacked Size

    31.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • daniel-dx
    • woodenstone
    • ceoyp
    • xbasesdk
    • issacliu
    • liuyanjie
    • rosefang
    • bobbyzhao
    • greengrey
    • starkwang
    • yhyang
    • godbmw
    • binggg
    • evecalm
    • fengkx