@romain-faust/upload-file-firebase
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

1

Version

2.1.1

License

MIT

Unpacked Size

6.87 kB

Total Files

6

Last publish

Collaborators

  • romain-faust