Updating NPM dependencies
This commit is contained in:
56
node_modules/google-p12-pem/README.md
generated
vendored
56
node_modules/google-p12-pem/README.md
generated
vendored
@@ -14,6 +14,9 @@
|
||||
Convert Google .p12 keys to .pem keys.
|
||||
|
||||
|
||||
A comprehensive list of changes in each version may be found in
|
||||
[the CHANGELOG](https://github.com/googleapis/google-p12-pem/blob/master/CHANGELOG.md).
|
||||
|
||||
|
||||
|
||||
* [github.com/googleapis/google-p12-pem](https://github.com/googleapis/google-p12-pem)
|
||||
@@ -47,22 +50,22 @@ npm install google-p12-pem
|
||||
### Using the client library
|
||||
|
||||
```javascript
|
||||
const {getPem} = require('google-p12-pem');
|
||||
const {getPem} = require('google-p12-pem');
|
||||
|
||||
/**
|
||||
* Given a p12 file, convert it to the PEM format.
|
||||
* @param {string} pathToCert The relative path to a p12 file.
|
||||
*/
|
||||
async function quickstart() {
|
||||
// TODO(developer): provide the path to your cert
|
||||
// const pathToCert = 'path/to/cert.p12';
|
||||
/**
|
||||
* Given a p12 file, convert it to the PEM format.
|
||||
* @param {string} pathToCert The relative path to a p12 file.
|
||||
*/
|
||||
async function quickstart() {
|
||||
// TODO(developer): provide the path to your cert
|
||||
// const pathToCert = 'path/to/cert.p12';
|
||||
|
||||
const pem = await getPem(pathToCert);
|
||||
console.log('The converted PEM:');
|
||||
console.log(pem);
|
||||
}
|
||||
const pem = await getPem(pathToCert);
|
||||
console.log('The converted PEM:');
|
||||
console.log(pem);
|
||||
}
|
||||
|
||||
quickstart();
|
||||
quickstart();
|
||||
|
||||
```
|
||||
#### CLI style
|
||||
@@ -83,6 +86,27 @@ has instructions for running the samples.
|
||||
|
||||
|
||||
|
||||
## Supported Node.js Versions
|
||||
|
||||
Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
|
||||
Libraries are compatible with all current _active_ and _maintenance_ versions of
|
||||
Node.js.
|
||||
|
||||
Client libraries targetting some end-of-life versions of Node.js are available, and
|
||||
can be installed via npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
|
||||
The dist-tags follow the naming convention `legacy-(version)`.
|
||||
|
||||
_Legacy Node.js versions are supported as a best effort:_
|
||||
|
||||
* Legacy versions will not be tested in continuous integration.
|
||||
* Some security patches may not be able to be backported.
|
||||
* Dependencies will not be kept up-to-date, and features will not be backported.
|
||||
|
||||
#### Legacy tags available
|
||||
|
||||
* `legacy-8`: install client libraries from this dist-tag for versions
|
||||
compatible with Node.js 8.
|
||||
|
||||
## Versioning
|
||||
|
||||
This library follows [Semantic Versioning](http://semver.org/).
|
||||
@@ -106,6 +130,12 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
|
||||
|
||||
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-p12-pem/blob/master/CONTRIBUTING.md).
|
||||
|
||||
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 template in this
|
||||
[directory](https://github.com/googleapis/synthtool/tree/master/synthtool/gcp/templates/node_library).
|
||||
|
||||
## License
|
||||
|
||||
Apache Version 2.0
|
||||
|
||||
Reference in New Issue
Block a user