node-imagify-api
node js wrapper for imagify API
Install
npm install --save node-imagify-api
Usage
Simple upload call
var token ="YOUR_API_TOKEN_HERE"; var nodeImagifyAPI = ; var options = 'ultra':true 'resize': 'width':50; var { console;} nodeImagifyAPI;
You can use any options from data parameters section in the imagify api documentation
Sample result
{
"code":200,
"success":true,
"image":"http://storage.imagify.io/imagify/c7c95fc0-c943-11e5-afa4-fa163e144eda/test_image.jpg",
"percent":92.9,
"new_size":2037,
"original_size":28686
}
Test
to be implemented