free-upload-image

1.0.1 • Public • Published

免费图床上传图片

图床列表

figurebed:

smms

USAGE

const fupload = require('free-upload-image')
 
// default use smms
fupload('./ico.png').then(url => console.log(url))
 
const {addFigurebed} = fupload
 
// 添加图床
addFigurebed('test', async (file) => {
  // do something
  return await file
})
 
// use test
fupload('./ico.png', 'test').then(url => console.log(url))

Readme

Keywords

none

Package Sidebar

Install

npm i free-upload-image

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

12.2 kB

Total Files

7

Last publish

Collaborators

  • landn172