Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 427 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 427 Bytes

Installation

npm i -g upload-image-from-clipboard

Set SM.MS token

  1. Open https://sm.ms/home/apitoken

get-token

  1. Set token to local
ui -t <your_token>
  1. Remove token
rm ~/.config/upload-image.json

Usage

Via Command line

ui

Via JavaScript

import { uploadImage } from 'upload-image-from-clipboard'

uploadImage()