files-temp-urls

3.0.3 • Public • Published

files-temp-urls

Module to create SAS url.

Installation

 npm i files-temp-urls

Usage

import FilesTempUrls from 'files-temp-urls';

return FilesTempUrls.getTempUrl(
    bucketName,
    fileName,
    expiresIn,
);

Notes

  • It will automatically take azure creds from process.env
  • To get the CDN url specify AZURE_CDN_ENDPOINT in your .env

Readme

Keywords

none

Package Sidebar

Install

npm i files-temp-urls

Weekly Downloads

29

Version

3.0.3

License

ISC

Unpacked Size

6.39 kB

Total Files

7

Last publish

Collaborators

  • abhidhillon94
  • shashi9leaps
  • divy_nineleaps