Sign in
Log inSign up

Is FormData part of nodejs?

Rahul Bisht's photo
Rahul Bisht
·Aug 10, 2018

so, i was going thru the code of request package in nodejs & found below code. is FormData part of nodejs inbuilt api or it is something else?

  self._form = new FormData()
  self._form.on('error', function (err) {
    err.message = 'form-data: ' + err.message
    self.emit('error', err)
    self.abort()
  })

i am trying to understand the way it transfers large file to remote server.