New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hecom/aliyun

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hecom/aliyun

Aliyun Utility

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

Aliyun

npm version

这是阿里云相关工具的集合。

接口

  • RESIZE_MODE: object:图片压缩模式。
  • getThumbnail(url, height, width, scaleType) => string:将一个阿里云图片链接加上宽高和压缩模式,返回新的链接。
  • setDefSizeAvatarUrl: (size) => void:设置头像压缩大小。
  • getDefSizeAvatarUrl: (url) => string:使用头像压缩大小,获取压缩后的图片链接。

FAQs

Package last updated on 13 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc