mrdownload

0.0.1 • Public • Published

mrdownload

Static file download server and counter.

Install

npm install mrdownload

Usage

Make a directory called "files". Put some files in there that you'd like to serve. Run mrdownload with the command below.

Download statistics are served as JSON at /stats. The files are accessible by filename at /:filename.

var mrdl = require('mrdownload');
mrdl.start({
  dbName: 'downloads.db',
  filesDir: 'files',
  port: 8007
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    2

Package Sidebar

Install

npm i mrdownload

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • drewbharris