push-file

0.1.3 • Public • Published

Push-file

Push-file makes file uploads a breeze.

Push-file handles all the client side file upload so, so you don't have to.

Installation

npm install --save push-file

Usage

const pushFile = require ('push-file');
 
pushFile('serverurl.com', 'filepath.md', function (err, body) {
    if (err) {
        // Do something with the error.
    } else {
        // yay!! It worked.
    }
});

That's how easy it is to upload a file with push-file

Readme

Keywords

none

Package Sidebar

Install

npm i push-file

Weekly Downloads

2

Version

0.1.3

License

MIT

Last publish

Collaborators

  • tobihrbr
  • tobi~