verdaccio-aliyunoss-storage

Aliyun OSS storage implementation for Verdaccio

Usage no npm install needed!

<script type="module">
  import verdaccioAliyunossStorage from 'https://cdn.skypack.dev/verdaccio-aliyunoss-storage';
</script>

README

verdaccio-aliyunoss-storage

Usage

npm install verdaccio-aliyunoss-storage -g

In your verdaccio config, configure

store:
  aliyunoss-storage:
    bucket: npm-packages
    keyPrefix: packages
    # https://help.aliyun.com/document_detail/31837.html
    endpoint: oss-cn-shanghai.aliyuncs.com
    accessKeyId: YOUR ACCESS_KEY_ID
    secretAccessKey: YOUR SECRET_ACCESS_KEY