{"repo":"kraken-io/kraken-node","free":true,"listed":false,"github":"https://github.com/kraken-io/kraken-node","clone":"git clone https://github.com/kraken-io/kraken-node.git","description":"Official Kraken.io module for Node.js","language":"JavaScript","stars":76,"topics":["nodejs-library","api-client","image-optimization"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Node.js module for Kraken.io API With this Node module you can plug into the power and speed of Kraken.io Image Optimizer. - Node.js module for Kraken.io API - Installation - Requirements - Dependencies - Getting Started - Downloading Images - How to use - Wait and Callback URL - Wait option - Callback URL - Promises - Async/Await - Authentication - Usage - Image URL - Usage - Image Upload - Usage - User status - Lossy Optimization - PNG Images - JPEG Images - Image Resizing - WebP Compression - PDF Compression - Amazon S3, Rackspace Cloud Files, and Google Cloud Storage - Amazon S3 - Rackspace Cloud Files - Google Cloud Storage - LICENSE - MIT Installation npm install kraken --save Requirements - Minimum NodeJS version: 12.20.0 Dependencies - form-data - axios Getting Started First you need to sign-up for the Kraken API and obtain your unique API Key and API Secret . You will find both under API Credentials. Once you have set up your account, you can start using Kraken.io's image optimization API in your applications. Downloading Images Remember: never link to optimized images offered to download. You have to download them first, and then replace them in your websites or applications. Optimized images are available on our servers for one hour only, after which they are permanently deleted. How to use You can optimize your images in two ways - by providing an URL of the image you want to optimize or by uploading an image file directly to Kraken API. The first option (image UR","default_branch":null,"files":null,"tree":[],"storefront":"/r/kraken-io","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kraken-io/kraken-node/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}