tek-gcs-upload
v1.0.4
Published
## Name
Downloads
4
Readme
Tekupload
Name
Teko Google cloud service uploader
Description
This library provides hooks to upload GCS via teko file service.
Installation
- NPM: npm install tek-gcs-uploader
- YARN: yarn add tek-gcs-uploader
Usage
- Init GCSUpload after TekoID to get token:
TekoID.init({
clientId,
scopes: IAM_SCOPES,
oauthDomain,
}).then(() => {
initGcsUpload(getAuthorization, 'https://files.tekoapis.dev.vn');
});
- Use
useGCSUpload
in your component
License
For open source projects, say how it is licensed.