0.2.1 • Published 1 year ago
pictshare v0.2.1
pictshare
An unofficial NodeJS SDK for pictshare API
install
yarn add pictshare
# or
npm i pictshare
usage
import Pictshare from 'pictshare'
[...]
const pictshare = new Pictshare('https://www.pictshare.net')
const data = await pictshare.geturl('https://i.picsum.photos/id/866/200/300.jpg?hmac=rcadCENKh4rD6MAp6V_ma-AyWv641M4iiOpe1RyFHeI')
todo
base64 (base64: string)
geturl (url: string, redirect: Boolean)
pasetebin (text: string)
info (hash: string)