This package has been deprecated

    Author message:

    WARNING: This module has been renamed to aliyun-oss-sign. Please install it instead

    oss-sign

    0.0.3 • Public • Published

    oss-sign

    用于返回阿里云oss服务器签名

    安装

    npm install oss-sign
    

    使用

    import ossSign from 'oss-sign'
    ossSign({
      accessId: 'your accessId',
      accessKey: 'your accessKey',
      // 超时时间 单位:毫秒
      expiration: 300000,
      // 最大上传文件大小
      contentLength: 2097152
    })
    // 返回
    {
      policy: 'policy',
      OSSAccessKeyId: 'OSSAccessKeyId',
      signature: 'signature'
    }
    

    Keywords

    none

    Install

    npm i oss-sign

    DownloadsWeekly Downloads

    2

    Version

    0.0.3

    License

    none

    Last publish

    Collaborators

    • aweiu