@codeday/uploader-node

1.0.1 • Public • Published

uploader-node

A simple utility to send files to uploader

Usage

const Uploader = require('@codeday/uploader-node');

const upload = Uploader(process.env.UPLOADER_URL, process.env.SECRET);
upload.file(some_file, 'filename.zip');
upload.image(some_other_file); // If filename is not provided, Uploader will try to guess it from the contents.
upload.video(some_video);

Readme

Keywords

none

Package Sidebar

Install

npm i @codeday/uploader-node

Weekly Downloads

9

Version

1.0.1

License

Artistic-2.0

Unpacked Size

11.5 kB

Total Files

5

Last publish

Collaborators

  • oohwooh
  • tylermenezes
  • ottomated
  • nexite