cartouche
A minimal node.js image service powered by Amazon S3.
Install
npm install cartouche
Quick Overview
Usage
Just get an Amazon Simple Storage Service instance running and include cartouche in your node application. Note: it might be wise to store your keys as environment variables.
var cartouche = key: '<AMAZON_S3_API_KEY>' secret: '<AMAZON_S3_SECRET>' bucket: '<AMAZON_S3_BUCKET>' ;
It's then super simple to upload a picture.
var photo = ; photo;
Transformations
You can define a set of transformations that will be applied to the picture before it is uploaded.
var photo = ; photo;
Versions
You can upload different versions of the same picture. This is extremly useful to generate thumbnails.
var photo = ; photo; photo; photo;
Author
License
Licensed under the MIT License.