{"name":"google-p12-pem","version":"2.0.1","description":"Convert Google .p12 keys to .pem keys.","main":"./build/src/index.js","types":"./build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/google/google-p12-pem.git"},"bin":{"gp12-pem":"build/src/bin/gp12-pem.js"},"scripts":{"test":"nyc mocha build/test","check":"gts check && npm run license-check","clean":"gts clean","compile":"tsc -p .","fix":"gts fix && eslint --fix '**/*.js'","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check","license-check":"jsgl --local .","samples-test":"cd samples/ && npm link ../ && npm test && cd ../","presystem-test":"npm run compile","system-test":"mocha build/system-test","lint":"gts check && eslint '**/*.js'","docs":"compodoc src/","docs-test":"linkinator docs -r --skip www.googleapis.com","predocs-test":"npm run docs"},"author":{"name":"Ryan Seys"},"license":"MIT","dependencies":{"node-forge":"^0.8.0"},"devDependencies":{"@compodoc/compodoc":"^1.1.7","@types/mocha":"^5.2.0","@types/node":"^10.0.9","@types/node-forge":"^0.8.0","codecov":"^3.0.2","eslint":"^5.11.0","eslint-config-prettier":"^4.0.0","eslint-plugin-node":"^9.0.0","eslint-plugin-prettier":"^3.0.0","gts":"^1.0.0","intelli-espower-loader":"^1.0.1","js-green-licenses":"^1.0.0","mocha":"^6.0.0","nyc":"^14.0.0","prettier":"^1.15.3","source-map-support":"^0.5.6","typescript":"~3.5.0","linkinator":"^1.1.2"},"engines":{"node":">=8.10.0"},"gitHead":"3b7746c483c0cc427254de5b8db68d616afa103d","bugs":{"url":"https://github.com/google/google-p12-pem/issues"},"homepage":"https://github.com/google/google-p12-pem#readme","_id":"google-p12-pem@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"dist":{"integrity":"sha512-6h6x+eBX3k+IDSe/c8dVYmn8Mzr1mUcmKC9MdUSwaBkFAXlqBEnwFWmSFgGC+tcqtsLn73BDP/vUNWEehf1Rww==","shasum":"509f9415e50c9bdf76de8150a825f9e97cba2c57","tarball":"http://registry-npm.ywwl.com/google-p12-pem/download/google-p12-pem-2.0.1.tgz","fileCount":8,"unpackedSize":18351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdE/U7CRA9TVsSAnZWagAAu5UQAID58J3E+RkdJCmm8Pfy\nKC+AUm12BCU3TmTXAdYtndODgOl/kheOm9r/4ZmUQSJHtkYibc3TGG4NMfOp\natOVfYvvuTfYeOxJGvNUgm99uMQnhrfa8b+omIFULDKJGT67AB2XsfQ9e8Kd\nTQ/gvFuhVUjt6iQ+9qxWDhGDyA2rbmnFUohd5MMZcwLGHMd9/JFCH3wHTMmj\n3+fuK7jANoyW6M7Cf5SURZa8r7z6huviBePRtqSeOSn7BhFAtrO6pXrPPjYC\n+ZuCyl9QuSL6s/KW8WAHMfvIC14MVkS7FaPRSFl6Q4mN169CUD6XcPidBlUo\nZHmVIZ8so3Pat/y/WLOJIiwpeW0kEqKwOawArOwSgEXe6A37xTiQAYzpfKQJ\nBMLfwbw8DtkDtsU+9zkXqLdqRi/Tjht1oqYRHeRtYeJL6HiD4rn/YHQlGlQB\nY9wArsu+1lkdBG6CG+o7R+BVgOWKelXf7b/WuqkdiNNfIr2v/c17Oowm2FmX\nGzDL6BMOMvod7AHbKqvzUjzGJS5s6y+PP3kKtMBupStu/aDlHVvJW1OaVJKd\nQq36JuNG6oajN8CStola3lxHzwPE8VrZuqlJ8XHCBLwgb3fla84FBYxAU17j\n47XDtQ5PQhWGSpE5skHNZ4yq33TgK569BUcfvOr/3u8Odm97g4TB0PLZBcGT\nkHWD\r\n=fdDy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH+qgOX4e6SoVRIPiPT7Mr9iFNe3M6txCDgoKtvUtkRfAiBU9uYVPo5DMZszTaZYe65csHDAuPBVh24kOx3OCWCY6Q=="}],"size":6103,"noattachment":false,"key":"/google-p12-pem/-/google-p12-pem-2.0.1.tgz"},"maintainers":[{"email":"node-team-npm@google.com","name":"google-node-team"},{"email":"node-team-npm+wombot@google.com","name":"google-wombot"},{"email":"ofrobots@google.com","name":"ofrobots"},{"email":"soldair@gmail.com","name":"soldair"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-p12-pem_2.0.1_1561589050734_0.6696235834726529"},"_hasShrinkwrap":false,"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-p12-pem: Node.js Client](https://github.com/googleapis/google-p12-pem)\n\n[![release level](https://img.shields.io/badge/release%20level-general%20availability%20%28GA%29-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)\n[![npm version](https://img.shields.io/npm/v/google-p12-pem.svg)](https://www.npmjs.org/package/google-p12-pem)\n\n\n\n\nConvert Google .p12 keys to .pem keys.\n\n\nA comprehensive list of changes in each version may be found in\n[the CHANGELOG](https://github.com/googleapis/google-p12-pem/blob/main/CHANGELOG.md).\n\n* [google-p12-pem Node.js Client API Reference][client-docs]\n\n* [github.com/googleapis/google-p12-pem](https://github.com/googleapis/google-p12-pem)\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-p12-pem\n```\n\n\n### Using the client library\n\n```javascript\nconst {getPem} = require('google-p12-pem');\n\n/**\n * Given a p12 file, convert it to the PEM format.\n * @param {string} pathToCert The relative path to a p12 file.\n */\nasync function quickstart() {\n  // TODO(developer): provide the path to your cert\n  // const pathToCert = 'path/to/cert.p12';\n\n  const pem = await getPem(pathToCert);\n  console.log('The converted PEM:');\n  console.log(pem);\n}\n\nquickstart();\n\n```\n#### CLI style\n\n``` sh\ngp12-pem myfile.p12 > output.pem\n```\n\n\n## Samples\n\nSamples are in the [`samples/`](https://github.com/googleapis/google-p12-pem/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/google-p12-pem/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-p12-pem&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |\n\n\n\nThe [google-p12-pem 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-p12-pem@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\nThis library is considered to be **General Availability (GA)**. This means it\nis 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 **GA** libraries\nare addressed with the highest priority.\n\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/google-p12-pem/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/google-p12-pem/blob/main/LICENSE)\n\n[client-docs]: https://googleapis.dev/nodejs/google-p12-pem/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/getting-started\n","publish_time":1561589051386,"deprecated":"Package is no longer maintained","_cnpm_publish_time":1561589051386,"dist-tags":{"latest":"5.0.0","legacy-10":"3.1.4","legacy-8":"2.0.4"}}