oxr-to-linear-presets
Transform open exchange rates API response to linear presets format.
Install
npm i oxr-to-linear-presets
Usage
See the tested example or check the live Tonic notebook.
It also works with fixer.io out of the box (live example).
Node.js
var oxrTransform = ;var oxr = ; oxr; oxr;
jQuery
// browserified or similarvar oxrTransform = ; $;