src/index.js
function promiseSeries(items, iterator) {
	return items.reduce((iterable, name) => {
		return iterable.then(() => iterator(name));
	}, Promise.resolve());
}
function promiseSeries(items, iterator) {
	return items.reduce((iterable, name) => {
		return iterable.then(() => iterator(name));
	}, Promise.resolve());
}
function promiseSeries ( items , iterator ) { return items . reduce ( ( iterable , name ) => { return iterable . then ( ( ) => iterator ( name ) ) ; } , Promise . resolve ( ) ) ; }
Runs an array of promises in series

@method promiseSeries

@param  {Array} items
@param  {Function} iterator
@return {Promise}
Runs an array of promises in series