Socket
Socket
Sign inDemoInstall

yu-img-upload

Package Overview
Dependencies
4
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.24 to 1.0.25

2

package.json
{
"name": "yu-img-upload",
"version": "1.0.24",
"version": "1.0.25",
"description": "a simple images upload plugin with preview",

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

@@ -1,17 +0,15 @@

## Introduce
## Introduce
this script is just for image upload,it support pc ios and android. in pc & ios you can clear what you picked and repick the pictures;in android you should pick and delete the picture only one by one.
## Quick to start
Using npm:
```shell
$ npm install --save yu-img-upload
$ import YuImgUpload from 'yu-img-upload'
```
install:
`npm install --save yu-img-upload `
import:
`import YuImgUpload from 'yu-img-upload' `
## Example
>You can use `npm run dev` to check the example file in node package
new imgUpload({
You can use `npm run dev` to check the example file in node package
```js
new imgUpload({
popup:true,

@@ -26,7 +24,8 @@ multiple:true,

});
```
## JSDoc
```jsdoc
* @param {object[]} option
* @param {boolean} [option[].popup = true] - should it use yu-popup or alert
* @param {boolean} [option[].popup = true] - should it use yu-popup or alert
* @param {boolean} [option[].multiple = true] - should it accept multiple files

@@ -39,8 +38,6 @@ * @param {string} [option[].name = file] - the name of input

* @param {string} [option[].hint = icon] - how button shows
```
## Links
##### github
see https://github.com/watanabeyu0709/yu-img-upload
##### npm
see https://www.npmjs.com/package/yu-img-upload
[![github](http://p0kpwl4c8.bkt.clouddn.com/icon/github_c.png!icon_sm "https://github.com/watanabeyu0709/yu-img-upload")](https://github.com/watanabeyu0709/yu-img-upload)
[![npm](http://p0kpwl4c8.bkt.clouddn.com/icon/npm_c.png!icon_sm "https://www.npmjs.com/package/yu-img-upload")](https://www.npmjs.com/package/yu-img-upload)
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc