Doubt Cloud Function

Asked

Viewed 82 times

0

Cloud Function is like a server for Nodejs ?

Can I import any package from NPM and use its feature, which will work normally in Cloud Functions? Or he just works with the google resources?

I tried to request a zip API. However the cloud functions did not work, but on the local server it worked.

1 answer

0

Yes, the Cloud Functions executes Nodejs code. And you can import any npm package.

But what happens is that on Firebase’s Spark (free) plan, you can only access Google’s services. If you want to use other Apis, you will need to upgrade to one of paid plans.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.