Wondering what’s next for npm?Check out our public roadmap! »

@availity/dl-core

3.0.9 • Public • Published

dl-core

Utility to download files from services

Install

npm install @availity/api-core @availity/api-angular @availity/dl-core @availity/dl-angular --save

Usage

app.service('myCustomService', AvDownloadApi => {
    const downloadApi = new AvDownloadApi({
        clientId: '1234',
    });
 
    dowloadApi.getAttachment().then(response => {
        const { data } = response;
        downloadApi.downloadAttachment(data, 'filename.csv');
    });
});

Install

npm i @availity/[email protected]

Version

3.0.9

License

MIT

Unpacked Size

7.1 kB

Total Files

6

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar