/egg-fetch

node-fetch for egg

Primary LanguageJavaScriptMIT LicenseMIT

egg-fetch

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-fetch --save

Usage

// {app_root}/config/plugin.js
exports.fetch = {
  enable: true,
  package: 'egg-fetch',
};

Configuration

// {app_root}/config/config.default.js
exports.fetch = {
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT