1 | var Promise = require('es6-promise');
|
2 | var fetch = require('fetch-ponyfill')(Promise).fetch;
|
3 | global.Promise = Promise;
|
4 | var fetchCsv = function (postCodeFront) {
|
5 | return fetch("https://ken-all.numb86.net/csv/" + postCodeFront + ".csv");
|
6 | };
|
7 | export default fetchCsv;
|
8 | //# sourceMappingURL=fetchCsv.js.map |
\ | No newline at end of file |