leancloud-sdk
v0.0.1
Published
Mini Leancloud SDK for browser/node.js
Downloads
1
Readme
leancloud-sdk
Mini Leancloud SDK for browser/node.js
// for browser
const SDK = require('leancloud-sdk');
// for node.js
// const SDK = require('leancloud-sdk/node');
const client = SDK({
appId: 'xxxx',
appKey: 'xxx',
endpoint: 'https://xxxx.api.lncld.net/1.1/'
})
client.get('classes/Demo').then(console.log).catch(console.log);
License
MIT
通过支付宝捐赠: