xgqfrms-GitHub / Node-CLI-Tools

一个 Node.js CLI 工具,查看指定 git 仓库的 commit history ; 能对 commit history 进行搜索; 能查看指定时间范围的 commit history.
https://node-cli-tools.xgqfrms.xyz
MIT License
6 stars 2 forks source link

fetch for node.js #4

Open xgqfrms-GitHub opened 7 years ago

xgqfrms-GitHub commented 7 years ago

fetch for node.js

how to useing fetch in node.js

node-fetch

A light-weight module that brings window.fetch to Node.js

一个轻量级的模块,将window.fetch带到Node.js

https://www.npmjs.com/package/node-fetch


$ npm install node-fetch

$ npm i -S node-fetch

https://scotch.io/tutorials/how-to-use-the-javascript-fetch-api-to-get-data

https://www.npmjs.com/package/fetch

https://github.com/github/fetch#installation

https://github.com/github/fetch/issues/184

node-fetch

https://github.com/github/fetch/issues/184#issuecomment-307622071