Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mobile-avatar-crop

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobile-avatar-crop

面向移动端的,利用`HTML5`的`File API`和`Canvas`实现本地的图片裁剪

  • 1.3.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

MobileAvatarCrop

面向移动端的,利用HTML5File APICanvas实现本地的图片裁剪

项目灵感来自于: ArronYR/html5AvatarCrop

Image

引用方式

本项目是基于webpack+babel+ES2015编写,如果你的项目已经是基于此开发,那么请使用mobile-avatar-crop.js

如果不是,可以直接使用dist/index.js

具体的使用方式,可以参看demo

TODO

  • 选择框缩放
  • 清理依赖,尝试使用peerDependencies

FAQs

Package last updated on 11 May 2021

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