From f5de168e62696b270e1a24dc4fa74a1e7f4bbdbc Mon Sep 17 00:00:00 2001 From: PeterRao Date: Mon, 9 Apr 2018 11:14:56 +0800 Subject: [PATCH] doc: add node and browser compatibility desc --- README.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 713b7e4f7..34367be00 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,17 @@ aliyun OSS(object storage service) Node.js client. npm install ali-oss --save ``` +## Compatibility + +### Node +Node.js >= 8.0.0 required. You can use 4.x in Node.js < 8. + +### Browser + +- IE >= 10 & Edge +- Major versions of Chrome/Firefox/Safari +- Major versions of Android/iOS/WP + ## License [MIT](LICENSE) @@ -142,7 +153,7 @@ After account created, you can create the OSS instance and get the `accessKeyId` Each OSS instance required `accessKeyId`, `accessKeySecret` and `bucket`. -### #oss(options) +## oss(options) Create a Bucket store instance. @@ -2962,12 +2973,6 @@ some exceptions: server currently do not support CORS requests for bucket operations (will probably be fixed later) -### Compatibility - -- IE >= 10 & Edge -- Major versions of Chrome/Firefox/Safari -- Major versions of Android/iOS/WP - ### Setup #### Bucket setup