Package @google-cloud/projectify (2.1.1)

Classes

MissingProjectIdError

Custom error type for missing project ID errors.

Functions

replaceProjectIdToken(value, projectId)

  export 
  
 declare 
  
 function 
  
 replaceProjectIdToken 
 ( 
 value 
 : 
  
 any 
 , 
  
 projectId 
 : 
  
 string 
 ) 
 : 
  
 any 
 ; 
 

Populate the {{projectId}} placeholder.

Parameters
Name
Description
value
any
projectId
string

A projectId. If not provided {*} - The original argument with all placeholders populated.

Returns
Type
Description
any
Create a Mobile Website
View Site in Mobile | Classic
Share by: