{"name":"@google-cloud/projectify","version":"6.0.0","keywords":[],"author":{"name":"Google Inc."},"license":"Apache-2.0","_id":"@google-cloud/projectify@6.0.0","maintainers":[{"name":"google-wombot","email":"node-team-npm+wombot@google.com"}],"homepage":"https://github.com/googleapis/google-cloud-node/tree/main/core/projectify","bugs":{"url":"https://github.com/googleapis/google-cloud-node/issues"},"dist":{"shasum":"f15a76053bd79ab22a19bfd34923e0ad04a9c8c3","tarball":"http://registry-npm.ywwl.com/@google-cloud/projectify/download/@google-cloud/projectify-6.0.0.tgz","fileCount":5,"integrity":"sha512-bqE2P1oByVRB+AAHPMk89YGkOYzT35SVvKltc6KskqXCrjxEoC+CHOmhFYwLi9Xjl/uCKR0TD3R+woAgFGH9NQ==","signatures":[{"sig":"MEUCIQCD8wAFsH0vDL+srZ+nW+F+eV1GFeqlSv2l55HF9cJ8fQIgce2TicCT3cK8JSKCw1ZbIoMnfOXJ3srXV5SMLiDL7WY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIBHAePvjR6872pyRIuTQ8IKf6MqtTGSkK0fYPem+4vMoAiA9j93baRtEhEmwT4qvkW5X82IPhc3J+iL0d6tTenSWmw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20865,"size":7382,"noattachment":false,"key":"/@google-cloud/projectify/-/@google-cloud/projectify-6.0.0.tgz"},"main":"build/src/index.js","_from":"file:google-cloud-projectify-6.0.0.tgz","types":"build/src/index.d.ts","engines":{"node":">=22"},"scripts":{"fix":"gts fix","docs":"jsdoc -c .jsdoc.js","lint":"gts check","test":"c8 mocha build/test","clean":"gts clean","compile":"tsc -p .","prepare":"npm run compile","pretest":"npm run compile","precompile":"gts clean","system-test":"echo 'no system test'"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"_resolved":"/b/f/w/src/git/build-dir/core/projectify/google-cloud-projectify-6.0.0.tgz","_integrity":"sha512-bqE2P1oByVRB+AAHPMk89YGkOYzT35SVvKltc6KskqXCrjxEoC+CHOmhFYwLi9Xjl/uCKR0TD3R+woAgFGH9NQ==","repository":{"url":"git+https://github.com/googleapis/google-cloud-node.git","type":"git","directory":"core/projectify"},"_npmVersion":"10.8.2","description":"A simple utility for replacing the projectid token in objects.","directories":{},"_nodeVersion":"18.20.8","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","gts":"^6.0.2","jsdoc":"^4.0.4","mocha":"^11.1.0","codecov":"^3.8.3","typescript":"^5.8.2","@types/node":"^22.13.9","jsdoc-fresh":"^3.0.0","@types/mocha":"^10.0.10","jsdoc-region-tag":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/projectify_6.0.0_1785428845014_0.9272135934597212","host":"s3://npm-registry-packages-npm-production"},"readme":"[//]: # \"This README.md file is auto-generated, all changes to this file will be lost.\"\n[//]: # \"To regenerate it, use `python -m synthtool`.\"\n<img src=\"https://avatars2.githubusercontent.com/u/2810941?v=3&s=96\" alt=\"Google Cloud Platform logo\" title=\"Google Cloud Platform\" align=\"right\" height=\"96\" width=\"96\"/>\n\n# [Google Cloud Common Projectify: Node.js Client](https://github.com/googleapis/nodejs-projectify)\n\n[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)\n[![npm version](https://img.shields.io/npm/v/@google-cloud/projectify.svg)](https://www.npmjs.org/package/@google-cloud/projectify)\n\n\n\n\nA simple utility for replacing the projectid token in objects.\n\n\nA comprehensive list of changes in each version may be found in\n[the CHANGELOG](https://github.com/googleapis/nodejs-projectify/blob/main/CHANGELOG.md).\n\n* [Google Cloud Common Projectify Node.js Client API Reference][client-docs]\n\n* [github.com/googleapis/nodejs-projectify](https://github.com/googleapis/nodejs-projectify)\n\nRead more about the client libraries for Cloud APIs, including the older\nGoogle APIs Client Libraries, in [Client Libraries Explained][explained].\n\n[explained]: https://cloud.google.com/apis/docs/client-libraries-explained\n\n**Table of contents:**\n\n\n* [Quickstart](#quickstart)\n\n  * [Installing the client library](#installing-the-client-library)\n  * [Using the client library](#using-the-client-library)\n* [Samples](#samples)\n* [Versioning](#versioning)\n* [Contributing](#contributing)\n* [License](#license)\n\n## Quickstart\n\n### Installing the client library\n\n```bash\nnpm install @google-cloud/projectify\n```\n\n\n### Using the client library\n\n```javascript\nconst {replaceProjectIdToken} = require('@google-cloud/projectify');\nconst options = {\n  projectId: '{{projectId}}',\n};\nreplaceProjectIdToken(options, 'fake-project-id');\n\n```\n\n\n\n## Samples\n\nSamples are in the [`samples/`](https://github.com/googleapis/nodejs-projectify/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.\n\n| Sample                      | Source Code                       | Try it |\n| --------------------------- | --------------------------------- | ------ |\n| Quickstart | [source code](https://github.com/googleapis/nodejs-projectify/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-projectify&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |\n\n\n\nThe [Google Cloud Common Projectify Node.js Client API Reference][client-docs] documentation\nalso contains samples.\n\n## Supported Node.js Versions\n\nOur client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).\nLibraries are compatible with all current _active_ and _maintenance_ versions of\nNode.js.\nIf you are using an end-of-life version of Node.js, we recommend that you update\nas soon as possible to an actively supported LTS version.\n\nGoogle's client libraries support legacy versions of Node.js runtimes on a\nbest-efforts basis with the following warnings:\n\n* Legacy versions are not tested in continuous integration.\n* Some security patches and features cannot be backported.\n* Dependencies cannot be kept up-to-date.\n\nClient libraries targeting some end-of-life versions of Node.js are available, and\ncan be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).\nThe dist-tags follow the naming convention `legacy-(version)`.\nFor example, `npm install @google-cloud/projectify@legacy-8` installs client libraries\nfor versions compatible with Node.js 8.\n\n## Versioning\n\nThis library follows [Semantic Versioning](http://semver.org/).\n\n\n\nThis library is considered to be **stable**. The code surface will not change in backwards-incompatible ways\nunless absolutely necessary (e.g. because of critical security issues) or with\nan extensive deprecation period. Issues and requests against **stable** libraries\nare addressed with the highest priority.\n\n\n\n\n\n\nMore Information: [Google Cloud Platform Launch Stages][launch_stages]\n\n[launch_stages]: https://cloud.google.com/terms/launch-stages\n\n## Contributing\n\nContributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-projectify/blob/main/CONTRIBUTING.md).\n\nPlease note that this `README.md`, the `samples/README.md`,\nand a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)\nare generated from a central template. To edit one of these files, make an edit\nto its templates in\n[directory](https://github.com/googleapis/synthtool).\n\n## License\n\nApache Version 2.0\n\nSee [LICENSE](https://github.com/googleapis/nodejs-projectify/blob/main/LICENSE)\n\n[client-docs]: https://cloud.google.com/nodejs/docs/reference/projectify/latest\n\n[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png\n[projects]: https://console.cloud.google.com/project\n[billing]: https://support.google.com/cloud/answer/6293499#enable-billing\n\n[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local\n","publish_time":1785428845093,"_cnpm_publish_time":1785428845093,"dist-tags":{"latest":"6.2.1","legacy-14":"4.0.0","legacy-18":"5.2.0","legacy-8":"1.0.4"}}