UNPKG

gdal-async

Version:

Bindings to GDAL (Geospatial Data Abstraction Library) with full async support

6 lines (4 loc) 105 B
'use strict' module.exports = function spin (spinstr, spun) { return spinstr[spun % spinstr.length] }