New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

6px

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

6px - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

3

examples/crop.js

@@ -18,3 +18,4 @@ var px = require('../.')({

})
.url('6px');
.url('6px')
.tag('cropped');

@@ -21,0 +22,0 @@ image.save(function(err, res) {

@@ -16,3 +16,4 @@ var px = require('../.')({

})
.url('6px');
.url('6px')
.tag('filtered');

@@ -19,0 +20,0 @@ image.save(function(err, res) {

var px = require('../.')({
userId: '***API_KEY***',
apiKey: '***API_KEY***',
apiSecret: '***API_SECRET***'
userId: '53570317ed81710200aa471e',
apiKey: '0284e6a8b711cf89ae0897040029b34b',
apiSecret: '1039ebfde3d76eff6aeaea0e87fcf987'
});

@@ -16,3 +16,4 @@

})
.url('6px');
.url('6px')
.tag('watermarked');

@@ -19,0 +20,0 @@ image.save(function(err, res) {

@@ -15,3 +15,4 @@ var px = require('../.')({

})
.url('6px');
.url('6px')
.tag('resized');

@@ -18,0 +19,0 @@ image.save(function(err, res) {

@@ -15,3 +15,4 @@ var px = require('../.')({

})
.url('6px');
.url('6px')
.tag('rotated');

@@ -18,0 +19,0 @@ image.save(function(err, res) {

@@ -18,2 +18,3 @@ 'use strict';

this.filters = {};
this.tagName = '';

@@ -23,2 +24,17 @@ };

/**
* It's pretty crucial to give your outputs a name so that you can easily
* grab the information that you need from the processed object returned from
* the API.
*
* @param {String} name The name of the output
* @chainable
*/
Output.prototype.tag = function(name) {
this.tagName = name;
return this;
};
/**
* Resize an image based off of the size object.

@@ -191,2 +207,3 @@ *

type: this.type,
tag: this.tagName,
methods: this.actions

@@ -193,0 +210,0 @@ };

{
"name": "6px",
"version": "0.0.11",
"version": "0.0.12",
"description": "NodeJS SDK for 6px.io",

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

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