Bivrost save blob adapter
Bivrost adapter. Allows to save api resposne as blob.
yarn add bivrost-save-blob-adapter
Usage
With Bivrost:
;;;; const api = ; steps = 'api'; api = loadAll: ; { return this; } const usersDataSource = ; // Will save GET /users response as "users.json" fileusersDataSource;
Direct calls:
;;; const axiosAdapter = ;const saveBlob = ; const requestOptions = method: 'GET'; ; // browser will save and download response as file
Bivrost allows to organize a simple interface to asyncronous APIs.