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

idcrop

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idcrop - npm Package Compare versions

Comparing version 0.0.9 to 1.0.0

2

package.json
{
"name": "idcrop",
"version": "0.0.9",
"version": "1.0.0",
"description": "Embed for cropping images and returning a base64 of the cropped area.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -30,8 +30,19 @@ # IdCrop

You must create a container for display (cropping area), toolbar (upload button and filename) and preview (cropped area preview)
You must create a container for display (cropping area), toolbar (for now, only filename) and preview (cropped area preview).
```
<div id="displayContainer"></div>
<div id="toolbarContainer"></div>
<div id="previewContainer"></div>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>IdCrop</title>
<link rel="stylesheet" type="text/css" href="./node_modules/idcrop/dist/css/main.min.css">
</head>
<body>
<div id="displayContainer"></div>
<div id="toolbarContainer"></div>
<div id="previewContainer"></div>
<script type="text/javascript" src="./path/to/js/file.js"></script>
</body>
</html>
```
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