Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including qiiu with all npm packages installed. Try it out:

var qiiu = require("qiiu")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

qiiu v1.1.0

Upload image to Qiita

qiiu

Upload image to Qiita.

Version CircleCI Appveyor CI Codecov Downloads/week License

yarn global add qiiu

# or

npm install -g qiiu

Usage

$ qiiu --username=$QIITA_USERNAME --password=$PASSWORD ./path/to/example.png

https://qiita-image-store.s3.amazonaws.com/0/2432/df89ffdd-f8f8-fd0s-4124-sdddfd9d6f5f.png

Options

$ qiiu --help
Upload image to Qiita

USAGE
  $ qiiu [IMAGEPATH]

OPTIONS
  -c, --backupcode=backupcode  Qiita backup code. this required if you 2 factor authentication enabled
  -h, --help                   show CLI help
  -p, --password=password      (required) Qiita password
  -u, --username=username      (required) Qiita username
  -v, --version                show CLI version
  --verbose                    output verbose messages on internal operations
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free