2.1.1 • Published 1 year ago

@romain-faust/upload-file-firebase v2.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@romain-faust/upload-file-firebase

File upload with Firebase.

Installation

With NPM:

npm install @romain-faust/upload-file-firebase

With PNPM:

pnpm add @romain-faust/upload-file-firebase

With Yarn:

yarn add @romain-faust/upload-file-firebase

Dependencies

Usage

import { buildUploadFile } from '@romain-faust/upload-file-firebase'

const FileUploadInput = () => {
    const uploadFile = buildUploadFile()

    const handleFileInputSubmit = (data: ArrayBuffer) => {
        uploadFile('path/to/the/file', data).subscribe()
    }

    // ...
}

License

MIT

2.1.1

1 year ago

2.1.0

1 year ago

2.0.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago