@knotel/gdrive-lib

0.0.13 • Public • Published

gdrive-lib

Library for common Google Drive functionality.

Get Started

yarn add @knotel/gdrive-lib --save

Google Folders

  1. Recursively generate an n-deep folder structure with files created using existing Google Drive templates.
  2. Get all
  • Add metadata about children length (i.e. file count) (need).
  • Add meta data about file size of directory itself (love).
  • Hide data concerning user authorized to create files.
  1. Get
  2. Update
  3. Delete

Config Options

  1. Specify credentials.json.

Google Drive REST API Reference

Supported MIME Types

Getting Started

const GDrive = require('@knotel/gdrive-lib')
gdrive.init() // set auth within internal state of gdrive instance
gdrive.getAll({
  rootFolderId: 'XXX'
}).then((files) =>
  console.log(files)
)

Readme

Keywords

none

Package Sidebar

Install

npm i @knotel/gdrive-lib

Weekly Downloads

12

Version

0.0.13

License

MIT

Unpacked Size

14.8 kB

Total Files

9

Last publish

Collaborators

  • calebfaruki
  • lukechastain
  • jiverson-knotel