1.4.1 • Published 5 years ago

@itsrauf/filer v1.4.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

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


1.4.1

5 years ago

1.4.0

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago