1.0.8 • Published 12 months ago
@jswork/weibo-pid2url v1.0.8
weibo-pid2url
Get url from weibo pid.
installation
npm install @jswork/weibo-pid2urlusage
import WeiboPid2url from '@jswork/weibo-pid2url';
const ins = new WeiboPid2url({ host: 'tva1.js.work'});
// get:
ins.get(pid);
// gets:
ins.gets(pid, ['small', 'large'])
// gets all:
ins.gets(pid);license
Code released under the MIT license.