Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
imboclient
Advanced tools
A Javascript (node/browser) client for Imbo.
imboclient-js can be installed using npm or bower:
# NPM:
npm install imboclient
# Bower:
bower install imboclient
Imbo 2.0 and up prefers imboclient-js >= 3.0.0
Imbo 1.0 and up requires imboclient-js >= 2.1.0
Imbo 0.3.3 and below requires imboclient-js <= 2.0.2
var Imbo = require('imboclient');
var client = new Imbo.Client({
hosts: 'http://<hostname>',
user: '<someUser>',
publicKey: '<publicKey>',
privateKey: '<privateKey>'
});
client.addImage('/path/to/image.jpg', function(err, imageIdentifier) {
if (err) {
return console.error('Oh no, an error occured: ' + err);
}
console.log('Image added! Image identifier: ' + imageIdentifier);
// Grab a transformed URL
var url = client.getImageUrl(imageIdentifier)
.maxSize({ 'width': 320 })
.sepia()
.border({ 'color': 'BF1942', 'width': 4 });
console.log('URL to transformed image: ' + url.toString());
// Edit the metadata of the image
client.editMetadata(imageIdentifier, {
'title': 'Cat in the sun',
'description': 'A cat relaxing in Santorini, Greece'
});
});
See the documentation for more details on how to use the client.
Documentation is available at http://imboclient-js.readthedocs.org/.
Check out the examples
folder for a few intros on how to use the client.
Copyright (c) 2011-2015, Espen Hovlandsdal espen@hovlandsdal.com
Licensed under the MIT License
[3.2.0] - 2015-12-15
expandGroups
-option to getAccessControlRules()
FAQs
An Imbo client for node.js and modern browsers
The npm package imboclient receives a total of 105 weekly downloads. As such, imboclient popularity was classified as not popular.
We found that imboclient 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.