1 | [//]: # "This README.md file is auto-generated, all changes to this file will be lost."
|
2 | [//]: # "To regenerate it, use `python -m synthtool`."
|
3 | <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"/>
|
4 |
|
5 | # [Google Cloud Common: Node.js Client](https://github.com/googleapis/nodejs-common)
|
6 |
|
7 | [![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
|
8 | [![npm version](https://img.shields.io/npm/v/@google-cloud/common.svg)](https://www.npmjs.org/package/@google-cloud/common)
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | Common components for Cloud APIs Node.js Client Libraries
|
14 |
|
15 |
|
16 | A comprehensive list of changes in each version may be found in
|
17 | [the CHANGELOG](https://github.com/googleapis/nodejs-common/blob/main/CHANGELOG.md).
|
18 |
|
19 | * [Google Cloud Common Node.js Client API Reference][client-docs]
|
20 |
|
21 | * [github.com/googleapis/nodejs-common](https://github.com/googleapis/nodejs-common)
|
22 |
|
23 | Read more about the client libraries for Cloud APIs, including the older
|
24 | Google APIs Client Libraries, in [Client Libraries Explained][explained].
|
25 |
|
26 | [explained]: https://cloud.google.com/apis/docs/client-libraries-explained
|
27 |
|
28 | **Table of contents:**
|
29 |
|
30 |
|
31 | * [Quickstart](#quickstart)
|
32 |
|
33 | * [Installing the client library](#installing-the-client-library)
|
34 |
|
35 |
|
36 | * [Versioning](#versioning)
|
37 | * [Contributing](#contributing)
|
38 | * [License](#license)
|
39 |
|
40 | ## Quickstart
|
41 |
|
42 | ### Installing the client library
|
43 |
|
44 | ```bash
|
45 | npm install @google-cloud/common
|
46 | ```
|
47 |
|
48 | It's unlikely you will need to install this package directly, as it will be
|
49 | installed as a dependency when you install other `@google-cloud` packages.
|
50 |
|
51 |
|
52 |
|
53 | The [Google Cloud Common Node.js Client API Reference][client-docs] documentation
|
54 | also contains samples.
|
55 |
|
56 | ## Supported Node.js Versions
|
57 |
|
58 | Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
|
59 | Libraries are compatible with all current _active_ and _maintenance_ versions of
|
60 | Node.js.
|
61 | If you are using an end-of-life version of Node.js, we recommend that you update
|
62 | as soon as possible to an actively supported LTS version.
|
63 |
|
64 | Google's client libraries support legacy versions of Node.js runtimes on a
|
65 | best-efforts basis with the following warnings:
|
66 |
|
67 | * Legacy versions are not tested in continuous integration.
|
68 | * Some security patches and features cannot be backported.
|
69 | * Dependencies cannot be kept up-to-date.
|
70 |
|
71 | Client libraries targeting some end-of-life versions of Node.js are available, and
|
72 | can be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
|
73 | The dist-tags follow the naming convention `legacy-(version)`.
|
74 | For example, `npm install @google-cloud/common@legacy-8` installs client libraries
|
75 | for versions compatible with Node.js 8.
|
76 |
|
77 | ## Versioning
|
78 |
|
79 | This library follows [Semantic Versioning](http://semver.org/).
|
80 |
|
81 |
|
82 |
|
83 | This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways
|
84 | unless absolutely necessary (e.g. because of critical security issues) or with
|
85 | an extensive deprecation period. Issues and requests against **stable** libraries
|
86 | are addressed with the highest priority.
|
87 |
|
88 |
|
89 |
|
90 |
|
91 |
|
92 |
|
93 | More Information: [Google Cloud Platform Launch Stages][launch_stages]
|
94 |
|
95 | [launch_stages]: https://cloud.google.com/terms/launch-stages
|
96 |
|
97 | ## Contributing
|
98 |
|
99 | Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-common/blob/main/CONTRIBUTING.md).
|
100 |
|
101 | Please note that this `README.md`, the `samples/README.md`,
|
102 | and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
|
103 | are generated from a central template. To edit one of these files, make an edit
|
104 | to its templates in
|
105 | [directory](https://github.com/googleapis/synthtool).
|
106 |
|
107 | ## License
|
108 |
|
109 | Apache Version 2.0
|
110 |
|
111 | See [LICENSE](https://github.com/googleapis/nodejs-common/blob/main/LICENSE)
|
112 |
|
113 | [client-docs]: https://googleapis.dev/nodejs/common/latest
|
114 |
|
115 | [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
|
116 | [projects]: https://console.cloud.google.com/project
|
117 | [billing]: https://support.google.com/cloud/answer/6293499#enable-billing
|
118 |
|
119 | [auth]: https://cloud.google.com/docs/authentication/getting-started
|