edit-img

1.2.1 • Public • Published

使用说明

npm i edit-img -S

引入

import EditImg from 'edit-img'

方法

getMiniImg 100x100

getSmallImg 300x300

getBigImg 500x500

例子:

new EditImg(url).getMiniImg()

注释:

* @name: EditImg

* @msg: new EditImg(url)

* @param {*} url --- img-url

* @return {*} url : xxx/xx/xx/xxx.jpg_100x100.jpg

Readme

Keywords

none

Package Sidebar

Install

npm i edit-img

Weekly Downloads

1

Version

1.2.1

License

ISC

Unpacked Size

1.82 kB

Total Files

3

Last publish

Collaborators

  • zhanggenyuan