Skip to content

NodeJS Filepicker library adapted from filepicker-node. Added streaming support, and built with coffee-script :D

Notifications You must be signed in to change notification settings

sourcec0de/filepicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filepicker.js

A Node.js Filepicker Library, with streaming

Installation

$ npm install filepicker.js

Instantiation

var Filepicker = require('filepicker.js');
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);
        });
  3. stream

    • see examples/stream.coffe
    • see examples/stream.js

About

NodeJS Filepicker library adapted from filepicker-node. Added streaming support, and built with coffee-script :D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •