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

upldng

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

upldng - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

.travis.yml

4

index.js

@@ -26,3 +26,2 @@ #!/usr/bin/env node

})
console.log(matched);
matched.forEach(image => {

@@ -32,3 +31,4 @@ let imagePath = path.resolve(process.cwd(), image);

axios.post(endpoint, {
data: imageAsBase64
data: imageAsBase64,
name: image
})

@@ -35,0 +35,0 @@ .then(response => {

{
"name": "upldng",
"version": "0.0.1",
"version": "0.0.2",
"description": "Simple uploader for personal use",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "exit 0",
"start": "node index.js"

@@ -9,0 +9,0 @@ },

# upldng
Simple image uploader for personal use
Simple image uploader for personal use. Will upload all jpgs in the current directory to a specified endpoint.
## Installation
`npm install -g upldng`
## Usage
Add a `upldng.config.json` file in the directory with the following properties:
```javascript
{
"endpoint":"http://sample.com/upload"
}
```
Then, just navigate to that directory in your terminal and run `upldng`. You will be notified when each file uploads.
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