To clone, install & build run the following commands:-
git clone [email protected]:matthew-andrews/fetch-browserify-demo.git
cd fetch-browserify-demo
npm install
browserify -e main.js -o built.js
If you'd prefer an isomorphic version of Fetch — one that works on both server and client head over to isomorphic-fetch.