Skip to content

tglines/filepicker-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
        });

About

A Node.js Filepicker Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published