Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 224 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 224 Bytes

wbpic

const path = require('path');
const WBPic = require('weibo-pic');

const wbPic = new WBPic('weibo cookie');

wbPic.upload(path.resolve(__dirname, 'test.jpg'))
  .then((pics) => {
    console.log(pics);
  });