Skip to content

yuki-torii/qiniu-image-view2

Repository files navigation

qiniu-image-view2

⛩ qiniu-image-view2

Travis GitHub license Standard - JavaScript Style Guide

Install

$ npm i --save qiniu-image-view2
# or
$ yarn add qiniu-image-view2

Usage

import qiniuImageView2 from 'qiniu-image-view2'

const imageURL = 'http://www.something.com/one.png'

qiniuImageView2(imageURL, {
  mode: 0,
  h: 200,
  q: 80,
  format: 'webp'
})

// => http://www.something.com/one.png?imageView2/mode/0/h/200/q/80/format/webp

License

MIT © Limichange

About

⛩ qiniu imageView2 api handle

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published