Skip to content
A Node.js Filepicker Library
JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples
.gitignore
README.md
index.js
package.json
testme.coffee

README.md

filepicker-node

A Node.js Filepicker Library

Installation

$ npm install filepicker-node

Instantiation

var Filepicker = require('filepicker-node');
var filepicker = new Filepicker('YOUR_API_KEY');

Methods

  1. store

    • Stores a file into filepicker and passes the url in the response
    filepicker.store("test", {persist:true}, function(err, url) {
        console.log(url);
    });
  2. read

    • Reads a file from filepicker and passes the contents in the callback
      • For now uses utf8
        filepicker.read(url, {}, function(err,data){
          console.log(data);
        });
Something went wrong with that request. Please try again.