open-index/open-npm huggingface dataset:
npm package: @ftes/gatsby-plugin-drive
Description: Downloads and caches a Google Drive folder that you can then query with gatsby-source-filesystem.
Author: Fabian Schultz
Latest version: 0.1.3

# gatsby-plugin-drive

Downloads and caches a Google Drive folder that you can then query with `gatsby-source-filesystem`.
Optionally exports Google Docs to a usable format.

## Installation

```bash
yarn add @fs/gatsby-plugin-drive
```

## Usage

In order to use this plugin, you'll need to generate a Google Service Account and share your drive folder with its email. [Here's a guide](https://www.twilio.com/blog/2017/03/google-spreadsheets-and-javascriptnode-js.html).

```js
// In your gatsby-config.js

plugins: [
  {
    resolve: '@fs/gatsby-plugin-drive',
    options: {
      folderId: 'GOOGLE_DRIVE_FOLDER_ID',
      gtoken: {
        keyFile: path.resolve(__dirname, 'YOUR_SERVICE_ACCOUNT_KEYFILE.json'),
        // key: 'or pass the key as a string instead of the keyfile',
        // email: 'if you pass key also pass the email of the service account',
      },
      destination: path.join(__dirname, 'src/content'),
      exportGDocs: true,
      exportMimeType: 'text/html',
      exportMiddleware: someFunction
    }
  }
]
```
If the `exportGDocs` option is enabled, all Google Docs in the folder will be exported with the MIME type set in the `exportMimeType` option. You can see a list of available Google Docs export MIME types [here](https://developers.google.com/drive/api/v3/manage-downloads).
If the `exportGDocs` option is disabled, all Google Docs in the folder will be ignored.

The `exportMiddleware` option is optional. If set, the plugin will run each Google Doc through the function, before it writes it to disk.
A usecase for this, could be cleaning up, or manipulating, the HTML that the Google Drive API returns.  
The expected function signature is `Buffer -> Buffer`.

Your drive folder will download all files everytime it builds, except when a file already exists or is cached. To download all files again, set up an npm clean script like:

```json
"clean": "rimraf src/content",
```

## Rate Limiting

The default amount of allowed requests per user per 100 seconds is `1,000`. If you're planning to download a large folder with this plugin, you might have to increase this limit. To do that, open the "Services" tab in the Google Cloud Console, select "Google Drive API" and change the limit under ["Quotas"](https://console.developers.google.com/apis/api/drive.googleapis.com/quotas).

## Author

* Fabian Schultz ([@fschultz\_](https://twitter.com/fschultz_)) - [Stink Studios](https://stinkstudios.com)
* Elias Jørgensen ([@\_eliasjorgensen](https://twitter.com/_eliasjorgensen))
npm package: @ftf/book-cli
Description: A tool for front development
Latest version: 1.1.0

# book-cli

pop 商家研发部脚手架工具，使用了大部分 vue-cli 2.0 的源码。

[Docs](http://ftf.jd.com/book-cli)

## 安装

安装 book-cli

```bash
(sudo) npm i @ftf/book-cli -g
```

## 使用

使用方式同 vue-cli 2.0，比如拉取 gitee 中的 `book-cli-templates` 组下的 `vappweapp` 模板。

```bash
book init vappweapp book-example
```
npm package: @ftf/element-ui
Description: A Component Library for Vue.js.
Latest version: 3.3.2-alpha.2

# Element UI

element ui 商家后台样式

<p align="center">
  <img src="https://cdn.rawgit.com/ElemeFE/element/dev/element_logo.svg">
</p>

> A Vue.js 2.0 UI Toolkit for Web.

## Install
```shell
npm install @ftf/element-ui -S
```

## Quick Start
``` javascript
import Vue from 'vue'
import Element from '@ftf/element-ui'

Vue.use(Element)

// or
import {
  Select,
  Button
  // ...
} from '@ftf/element-ui'

Vue.component(Select.name, Select)
Vue.component(Button.name, Button)
```
For more information, please refer to [Quick Start](https://ftf.jd.com/element-shop/#/zh-CN/component/quickstart) in our documentation.

## Browser Support
Modern browsers and Internet Explorer 10+.

## 同步更新Element UI

上次更新时间：Commits on Nov 21, 2018，release 2.4.11