0.2.1 • Published 5 years ago

alioss-pocessing-utils v0.2.1

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

alioss-pocessing-utils-js

Easy to generate the processing API of AliOSS.

CircleCI branch Codecov Dependencies DevDependencies

npm package npm downloads

Install

yarn

yarn add alioss-pocessing-utils

npm

npm i alioss-pocessing-utils -S

Usage

There are some example to show how to use alioss-pocessing-utils

ES6

import AliOSSProcessUtil, { ImageResizeMode } from 'alioss-pocessing-utils';

const aliOSSImageUrl = `https://image-demo.oss-cn-hangzhou.aliyuncs.com/example.jpg`;
const imgProcesshandler = new AliOSSProcessUtil(aliOSSImageUrl);

imgProcesshandler.getAliOSSImageResizeAPI({
  mode: ResizeMode.FIXED
});

CommonJS

const {
  default: AliOSSProcessUtil,
  ImageResizeMode
} = require('alioss-pocessing-utils');

const aliOSSImageUrl = `https://image-demo.oss-cn-hangzhou.aliyuncs.com/example.jpg`;
const imgProcesshandler = new AliOSSProcessUtil(aliOSSImageUrl);

imgProcesshandler.getAliOSSImageResizeAPI({
  mode: ImageResizeMode.FIXED
});

API

Full API

Contruibution

DefinitelyTyped only works because of contributions by users like you!

Git Message

Follow the Angular git commit message specification

But, you can ignore the scope

ALi OSS DOC

中文文档

English Document

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago