Gathering detailed insights and metrics for @google-cloud/projectify
Gathering detailed insights and metrics for @google-cloud/projectify
Gathering detailed insights and metrics for @google-cloud/projectify
Gathering detailed insights and metrics for @google-cloud/projectify
A simple utility for replacing the projectId token in objects.
npm install @google-cloud/projectify
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
8 Stars
248 Commits
6 Forks
43 Watching
82 Branches
114 Contributors
Updated on 23 Oct 2024
TypeScript (62.32%)
JavaScript (29%)
Python (8.68%)
Cumulative downloads
Total Downloads
Last day
-10.5%
1,075,430
Compared to previous day
Last week
1.3%
6,315,626
Compared to previous week
Last month
7.7%
26,764,439
Compared to previous month
Last year
42.9%
268,836,641
Compared to previous year
A simple utility for replacing the projectid token in objects.
A comprehensive list of changes in each version may be found in the CHANGELOG.
Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.
Table of contents:
1npm install @google-cloud/projectify
1const {replaceProjectIdToken} = require('@google-cloud/projectify'); 2const options = { 3 projectId: '{{projectId}}', 4}; 5replaceProjectIdToken(options, 'fake-project-id'); 6
Samples are in the samples/
directory. Each sample's README.md
has instructions for running its sample.
Sample | Source Code | Try it |
---|---|---|
Quickstart | source code |
The Google Cloud Common Projectify Node.js Client API Reference documentation also contains samples.
Our client libraries follow the Node.js release schedule. Libraries are compatible with all current active and maintenance versions of Node.js. If you are using an end-of-life version of Node.js, we recommend that you update as soon as possible to an actively supported LTS version.
Google's client libraries support legacy versions of Node.js runtimes on a best-efforts basis with the following warnings:
Client libraries targeting some end-of-life versions of Node.js are available, and
can be installed through npm dist-tags.
The dist-tags follow the naming convention legacy-(version)
.
For example, npm install @google-cloud/projectify@legacy-8
installs client libraries
for versions compatible with Node.js 8.
This library follows Semantic Versioning.
This library is considered to be stable. The code surface will not change in backwards-incompatible ways unless absolutely necessary (e.g. because of critical security issues) or with an extensive deprecation period. Issues and requests against stable libraries are addressed with the highest priority.
More Information: Google Cloud Platform Launch Stages
Contributions welcome! See the Contributing Guide.
Please note that this README.md
, the samples/README.md
,
and a variety of configuration files in this repository (including .nycrc
and tsconfig.json
)
are generated from a central template. To edit one of these files, make an edit
to its templates in
directory.
Apache Version 2.0
See LICENSE
No vulnerabilities found.
Reason
all changesets reviewed
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 2
Details
Reason
1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More