google-drive-upload

1.0.5 • Public • Published

Google Drive Upload

GitHub license Package Control total downloads npm Website shields.io PRs Welcome

Easily build applications allowing users to upload text to Google Drive as Docs files.

Demo

Installation

npm i google-drive-upload

Example

import GoogleDriveUpload from 'google-drive-upload';

GoogleDriveUpload.init({
    apiKey: 'your-api-key',
    clientId: 'your-client-id',
});

GoogleDriveUpload.upload({
    title: 'Document title',
    text: 'Message you want to save on your Google Drive',
})
.then(() => alert("Note successfully uploaded!"));

The user will be asked for permission to access their Google Drive during the first upload.

In case of any questions don't hesitate to contact me. Visit my Github account where you will find my email address and Twitter.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.50latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i google-drive-upload

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

48.5 kB

Total Files

6

Last publish

Collaborators

  • frycz