Filepicker Server-side Library
The fantastic folks at Filepicker.io have a service that allows for easy storage of files, primarily on the client-side. There may, however, be instances in which you want to put photos from the server-side into your Filepicker bucket.
That's where this library comes in. Modified from the client library maintained by the Filepicker staff, this server-side library simply makes RESTy requests.
$ npm install filepicker
or using Git
$ git clone git://github.com/filepicker/cellar.git node_modules/filepicker/
API/How to Use
This library only implements one of the methods from the client library (getUrlFromData) as well as two methods more suited to a Node environment
var Filepicker = ;var filepicker = 'YOUR_API_KEY';
- A direct translation from the client library, stores contents of a file
- Makes a request to the specified location, and stores the data found there on Filepicker
- Stores a Buffer on Filepicker