🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@filerobot/google-drive

Package Overview
Dependencies
Maintainers
2
Versions
1588
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@filerobot/google-drive

Google Drive plugin for Filerobot Widget lets users import files from their Google Drive account into Filerobot

npmnpm
Version
1.0.1
Version published
Weekly downloads
1.6K
0.06%
Maintainers
2
Weekly downloads
 
Created
Source

@filerobot/google-drive

Usage

From NPM

The plugin is on NPM as @filerobot/google-drive

npm install --save @filerobot/google-drive

then

import GoogleDrive from '@filerobot/google-drive'
...
...
...
filerobot.use(GoogleDrive, optionsObject)

From CDN

The plugin from CDN is found inside Filerobot global object Filerobot.GoogleDrive

const googleDrive = window.Filerobot.GoogleDrive
...
...
...
filerobot.use(googleDrive, optionsObject)

Options

There are some few options for this plugin for helping in customization, as follow:

target: plugin (required)

default: null

The Filerobot plugin that would contain/render this plugin and show it in their acquires or uploading options menu, most probably this would be explorer plugin.

example,

filerobot.use(GoogleDrive, { target: Explorer })

title: string

default: 'Google Drive'

The title/label that would be shown & used for the plugin.

companionHeaders: null | object

default: null

If you need to pass additonal headers for in companion requests then pass them in this property.

FAQs

Package last updated on 08 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts