zhi-picgo-core
TypeScript icon, indicating that this package has built-in type declarations

1.7.0 • Public • Published

zhi-picgo-core

A tool for picture uploading forked from PicGO-Core, for electron usage.

picgo-core

Usage

Use in node project

Common JS

const { PicGo } = require("picgo")

ES Module

import { PicGo } from "picgo"

API usage example

const picgo = new PicGo()

// upload a picture from path
picgo.upload(["/xxx/xxx.jpg"])

// upload a picture from clipboard
picgo.upload()

Use in electron

const { PicGo } = require("/Users/terwer/Documents/mydocs/zhi-framework/zhi/libs/zhi-picgo-core/dist/index.cjs.js")
const picgo = new PicGo()
console.log(picgo)

Documentation

For more details, you can checkout documentation.

Readme

Keywords

Package Sidebar

Install

npm i zhi-picgo-core

Weekly Downloads

1

Version

1.7.0

License

MIT

Unpacked Size

961 kB

Total Files

108

Last publish

Collaborators

  • terwer-org