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

@daxiazilong/image-preview

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daxiazilong/image-preview - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

2

package.json
{
"name": "@daxiazilong/image-preview",
"version": "2.1.1",
"version": "2.1.2",
"description": "preview image on web page。rotate,zoom.etc. 移动端JS 图片预览 插件 支持 预览图片,旋转,放大(双指/双击)。",

@@ -5,0 +5,0 @@ "keywords": ["image preview", "viewer", "preview image"],

@@ -13,6 +13,8 @@ ENGLISH | [简体中文](./REAEME-zh-CN.md)

### How to use it:
There are two ways:
#### 1. Copy release
There are three ways:
#### 1. npm install
`npm i @daxiazilong/image-preview`
#### 2. Copy release
* The `release/image-preview` directory is built for different module-system , include AMD,CommonJS,ES6,UMD,IIFE. You can choose one adapt to your project.
#### 2.Install:
#### 3.Install:
* Clone it ,then `npm i & npm run build`

@@ -36,2 +38,6 @@ * For different module-sysetem:

```
or if installed in node_modules
```javascript
import {ImagePreview} from '@daxiazilong/image-preview'
```
#### usage:

@@ -38,0 +44,0 @@ 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