JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 343638
  • Score
    100M100P100Q176012F
  • License MIT

GET HTTP contents

Package Exports

  • nodemailer-fetch

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nodemailer-fetch) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

nodemailer-fetch

Fetches HTTP URL contents for nodemailer.

Build Status NPM version

Usage

var fetch = require('nodemailer-fetch');
fetch('http://www.google.com/').pipe(process.stdout);

The method takes a single argument, the destination URL. Only GET is supported.

The defaults are the following:

  • Basic auth is supported
  • Up to 5 redirects are followed (Basic auth gets lost after first redirect)
  • gzip is handled if present
  • Cookies are supported
  • No shared HTTP Agent
  • Invalid SSL certs are allowed

License

MIT