universal-picgo
v1.12.1
Published
picgo lib for node, browser and electron
Downloads
225
Readme
universal-picgo
picgo lib for node, browser and electron
Usage
// usage
import { UniversalPicGo } from "universal-picgo"
try {
const picgo = new UniversalPicGo()
console.log("picgo =>", picgo)
const result = await picgo.upload()
console.log("upload success =>", result)
} catch (e: any) {
console.error(e)
}
Deps
├── universal-picgo-store
Dev
pnpm dev -F universal-picgo
Build
pnpm build -F universal-picgo
Test
Execute the unit tests via vitest
pnpm test -F universal-picgo
Publish
pnpm publish -F universal-picgo --tag latest