
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
simple_blitline_node
Advanced tools
Thin wrapper around the Blitline service. No rocket science here, just a helper wrapper
This is a EVEN THINNER wrapper around the Blitline.com web service. Blitline provides a web based image processing service.
You must first have a Blitline.com account to successfully use the gem. You can obtain one (free and without obligation, not even an email address) by going to http://www.blitline.com
Once you have your account, you will need to find you ACCOUNT_ID which you can get by logging in and clicking on the Account tab.
For your node project, simply npm install it
$ npm install simple_blitline_node
Once installed, you can try the following code in your NodeJS app:
var Blitline = require('simple_blitline_node');
var nodeutil = require('util');
var blitline = new Blitline();
/* Replace MY_APP_ID with your Blitline applicationID */
var applicationID = "MY_APP_ID";
blitline.addJob({
"application_id": applicationID,
"src":"http://cdn.blitline.com/filters/boys.jpeg",
"functions":[
{
"name":"resize_to_fit",
"params":{
"width":100
},
"save":{
"image_identifier":"MY_CLIENT_ID"
}
}
]
});
var promise = blitline.postJobs();
promise.then(function(data) {
console.log(data);
});
And you will get JSON back describing where the resulting image will be located There are many more things you can do with images (including pushing them to your own S3 buckets).
You can find documentation about Blitline.com and it's services by following the links in the Further reading section below
Further reading:
== Contributing to blitline
FAQs
Thin wrapper around the Blitline service. No rocket science here, just a helper wrapper
We found that simple_blitline_node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.