drive-folder-qrcode 2.3.0
Install from the command line:
Learn more about npm packages
$ npm install @pittica/drive-folder-qrcode@2.3.0
Install via package.json:
"@pittica/drive-folder-qrcode": "2.3.0"
About this version
Creates QR codes from Google Drive folder names.
- Google Drive API v3 enabled on Service Account.
- A Service Account and Drives shared with it.
Variable | Type | Default | Notes |
---|---|---|---|
GOOGLE_APPLICATION_CREDENTIALS | String | null | Google JSON credentials default file path. |
DRIVE_QRCODER_GOOGLE_CREDENTIALS | String | null | Google JSON credentials content. |
DRIVE_QRCODER_SOURCE | String | null | Google Drive source folder ID. |
DRIVE_QRCODER_DESTINATION_DRIVE | String | null | Google Drive destination folder ID. |
DRIVE_QRCODER_DESTINATION_LOCAL | String | null | Local destination folder path. |
DRIVE_QRCODER_SIZE | Integer | 300 | QR code image size. |
DRIVE_QRCODER_MARGIN | Integer | 15 | Image margin size. |
DRIVE_QRCODER_ROUNDED | Boolean | False | Indicates whether the image has rounde borders. |
DRIVE_QRCODER_LOGO | String | null | The path or URL of the SVG logo image. |
DRIVE_QRCODER_FORMAT | String | Output format. Possibile formats "SVG" or "PDF". | |
DRIVE_QRCODER_COLOR_FORE | String | #000000 | Foreground color. |
DRIVE_QRCODER_COLOR_DOTS | String | #000000 | QR code dots color. |
DRIVE_QRCODER_COLOR_SQUARE | String | #000000 | Inner square color. |
DRIVE_QRCODER_COLOR_BACKGROUND | String | #ffffff | Background color. |
DRIVE_QRCODER_COLOR_BORDER | String | #ffffff | Border color. |
DRIVE_QRCODER_FONT_COLOR | String | #000000 | Font color. |
DRIVE_QRCODER_FONT_PATH | String | null | Font file path. |
DRIVE_QRCODER_FONT_FAMILY | String | Arial | Font family name. |
This project is licensed.
Copyright 2024-2025 Pittica S.r.l..