@itsrauf/filer
File/Image Uploader and Link Shortener
Last updated 10 months ago by itsrauf .
MIT · Original npm · Tarball · package.json
$ cnpm install @itsrauf/filer 
SYNC missed versions from official npm registry.

Filer

File/Image Uploader and Link Shortener


Installation

npm install @itsrauf/filer

Usage Example

append __dirname to destination to upload to your directory password is not required as Filer generates a new password per session if a password is not specified

const { Filer, Plugins } = require("@itsrauf/filer");

const uploader = new Filer(
  { destination: `${__dirname}/uploads`, port: 4200, password: <some random password> },
  [new Plugins.Files(), new Plugins.Images(), new Plugins.Links()]
);

uploader.init();

uploader.on("ready", () => {
  console.log("Ready at", uploader.options.port);
});

Built With

Express - Underlying Web Server
LowDB - JSON Database
Multer - multipart/form-data Parser


Current Tags

  • 1.4.1                                ...           latest (10 months ago)

11 Versions

  • 1.4.1                                ...           10 months ago
  • 1.4.0                                ...           10 months ago
  • 1.3.4                                ...           10 months ago
  • 1.3.3                                ...           10 months ago
  • 1.3.2                                ...           10 months ago
  • 1.3.1                                ...           10 months ago
  • 1.2.0                                ...           10 months ago
  • 1.1.2                                ...           10 months ago
  • 1.1.1                                ...           10 months ago
  • 1.1.0                                ...           10 months ago
  • 1.0.0                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 11
Dependencies (4)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |