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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    0
  • 0.1.2
    0
  • 0.1.1
    0

Package Sidebar

Install

npm i push-file

Weekly Downloads

0

Version

0.1.3

License

MIT

Last publish

Collaborators

  • tobihrbr
  • tobi~