Created
May 25, 2020 08:49
-
-
Save jirawatee/e324a80ac64c4766423e9571a2a2e8c7 to your computer and use it in GitHub Desktop.
Resize image by Firebase Extensions - 0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const functions = require('firebase-functions') | |
const request = require('request-promise') | |
// สำหรับการเข้าถึง Cloud Storage | |
const admin = require('firebase-admin') | |
admin.initializeApp() | |
// สำหรับสร้าง public url ใน Cloud Storage | |
const UUID = require('uuid-v4') | |
// สำหรับจัดการไฟล์ | |
const path = require('path') | |
const os = require('os') | |
const fs = require('fs') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment