0.0.13 • Published 5 years ago

@knotel/gdrive-lib v0.0.13

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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)
)
0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago