send file to multer from client code example
Example 1: express multer
$ npm install --save multer
var express = require("express");
var multer = require('multer');
var upload = multer({dest:'uploads/'});
Example 2: multer()
var multer = require('multer');
var upload = multer({dest:'uploads/'});