filepicker-node

0.0.0 • Public • Published

filepicker-node

A Node.js Filepicker Library

Installation

$ npm install filepicker

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    1

Package Sidebar

Install

npm i filepicker-node

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • travisglines