{"_id":"@agrozyme/json-web-key","name":"@agrozyme/json-web-key","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@agrozyme/json-web-key","version":"0.0.0","description":"Convert key format for JWK","author":{"name":"agrozyme@gmail.com"},"bin":{"json-web-key":"bin/run"},"homepage":"https://gitlab.com/agrozyme-package/JavaScript/json-web-key","license":"MIT","main":"dist/index.js","repository":{"type":"git","url":"git+https://gitlab.com/agrozyme-package/JavaScript/json-web-key.git"},"dependencies":{"@ethersproject/bytes":"^5","@oclif/core":"^1","@oclif/plugin-help":"^5","@oclif/plugin-plugins":"^2","@stablelib/base64":"^1","consola":"^2","node":"^16"},"devDependencies":{"@oclif/test":"^2","@types/chai":"^4","@types/jasmine":"^4","@types/node":"^16","chai":"^4","jasmine":"^4","oclif":"^3","prettier-plugin-sort-imports":"^1","shx":"^0","ts-node":"^10","tslib":"^2","typescript":"^4"},"oclif":{"bin":"json-web-key","dirname":"json-web-key","commands":"./dist/commands","plugins":["@oclif/plugin-help"],"topicSeparator":":"},"engines":{"node":">=14"},"bugs":{"url":"https://gitlab.com/agrozyme-package/JavaScript/json-web-key/-/issues"},"keywords":["oclif"],"types":"dist/index.d.ts","scripts":{"clean":"shx rm -rf dist tmp *-debug.log *-error.log .*-debug.log .*-error.log *.tsbuildinfo *.manifest.json npm-shrinkwrap.json","build":"npm run clean && tsc --build","test":"jasmine --config=jasmine.json","version":"npm run build && oclif readme && git add README.md","start":"node ./bin/dev"},"_resolved":"","_integrity":"","_from":"file:agrozyme-json-web-key-0.0.0.tgz","_id":"@agrozyme/json-web-key@0.0.0","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-6Kj6/AE1Nvl9fXsIm74CjF5VnVMrQbz0I3x/UulSK/FaneDj45dYD6/8oWgIZh3MkEPmsplDAiGf9tIdepsmJA==","shasum":"ed42044d0818a61e892ec2cbc4e1e0670e0e524f","tarball":"https://registry.npmjs.org/@agrozyme/json-web-key/-/json-web-key-0.0.0.tgz","fileCount":63,"unpackedSize":129303,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEtwoVPyLMKAxJ4pbYLynpMQFHyt9W4M6cEivQeFSvqXAiA30faeqWR/MXFi9qlhPqTjq5SqIpM2jSgTbjs+kckxyg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilYWJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZSw//Z0fzaWn/msvEBg0ia5dnXwKeXPcnuC4ijPLnRsmTBxcW1WoZ\r\nCnAyEeromlZuUiahmmtH9Bl616TW4sf5t1pHFFy0vIOnMn7Oc/8y+8j6C19F\r\n5Z0AkXEF7ADtmnaU1mvbCeQ07cl/kvvrKKXr6Cf9u0qCQXMWZ7lvWd208vyD\r\n8iP/r6QgxGQvbGx9SEfTem+p/2t7CPvaKcGYeK5Kck7i3tBhn8xVCkugIJNA\r\nKIl4duAM8AhByapl4UqVaAxIsB+Ad+2CKklYVBhYMnngmFxiyWxIAuIFI4PU\r\niHhUtoefT0VJ/0zSQfGLyJpOyeHhIJAWbrZjknSjzZbFlYEY+FWnT2XvD3Xs\r\nkjYv+5SCpPdGdHgIVnfWWWoavw9jnLxx0gQpM3d8l76NWEyvQBHl7C5nns3V\r\nGl6fF01CjVK31P7Px8np9UABtPDKcxkB+ODhcqs2HqIwMPZVIvy50RR3V2SZ\r\nnOkUzTBCcbMuy+6AAmmeWFpNuCGMWvTlAYGlT15OJWWY96rCOfNMr+nC8Vxr\r\nWVU34tEvqansxuVSVEH3/54LeS7Y9r5lFcfmMQUpA2e+fSX640F407lC6/1A\r\nqLK1KYqn+df4euevCZUn4QY6sMk43HYjw1BrUEZ6Khto0XnW5fupmrHmJJAO\r\nnH90ocBbo3QFUN6Y8nSn5vgkslqLzglbVCE=\r\n=eCFv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"agrozyme","email":"agrozyme@gmail.com"},"directories":{},"maintainers":[{"name":"agrozyme","email":"agrozyme@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-web-key_0.0.0_1653966217115_0.7327775714189415"},"_hasShrinkwrap":true}},"time":{"created":"2022-05-31T03:03:37.057Z","0.0.0":"2022-05-31T03:03:37.293Z","modified":"2022-05-31T03:03:37.455Z"},"maintainers":[{"name":"agrozyme","email":"agrozyme@gmail.com"}],"description":"Convert key format for JWK","homepage":"https://gitlab.com/agrozyme-package/JavaScript/json-web-key","keywords":["oclif"],"repository":{"type":"git","url":"git+https://gitlab.com/agrozyme-package/JavaScript/json-web-key.git"},"author":{"name":"agrozyme@gmail.com"},"bugs":{"url":"https://gitlab.com/agrozyme-package/JavaScript/json-web-key/-/issues"},"license":"MIT","readme":"Json Web Key\n=================\n\nConvert key format for JWK\nSupport algorithm: ES256, ES256K, ES384, ES512\nSupport key format: raw, pem, jwk\n\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\n[![Version](https://img.shields.io/npm/v/@agrozyme/json-web-key)](https://npmjs.org/package/@agrozyme/json-web-key)\n[![Downloads/week](https://img.shields.io/npm/dw/@agrozyme/json-web-key.svg)](https://npmjs.org/package/@agrozyme/json-web-key)\n[![License](https://img.shields.io/npm/l/@agrozyme/json-web-key.svg)](https://gitlab.com/agrozyme-package/JavaScript/json-web-key/-/blob/main/package.json)\n\n<!-- toc -->\n* [Usage](#usage)\n* [Commands](#commands)\n<!-- tocstop -->\n# Usage\n<!-- usage -->\n```sh-session\n$ npm install -g @agrozyme/json-web-key\n$ json-web-key COMMAND\nrunning command...\n$ json-web-key (--version)\n@agrozyme/json-web-key/0.0.0 win32-x64 node-v16.14.2\n$ json-web-key --help [COMMAND]\nUSAGE\n  $ json-web-key COMMAND\n...\n```\n<!-- usagestop -->\n# Commands\n<!-- commands -->\n* [`json-web-key help [COMMAND]`](#json-web-key-help-command)\n* [`json-web-key keyPair`](#json-web-key-keypair)\n* [`json-web-key privateKey:convert`](#json-web-key-privatekeyconvert)\n* [`json-web-key privateKey:export`](#json-web-key-privatekeyexport)\n* [`json-web-key publicKey:convert`](#json-web-key-publickeyconvert)\n* [`json-web-key publicKey:export`](#json-web-key-publickeyexport)\n\n## `json-web-key help [COMMAND]`\n\nDisplay help for json-web-key.\n\n```\nUSAGE\n  $ json-web-key help [COMMAND] [-n]\n\nARGUMENTS\n  COMMAND  Command to show help for.\n\nFLAGS\n  -n, --nested-commands  Include all nested commands in the output.\n\nDESCRIPTION\n  Display help for json-web-key.\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.12/src/commands/help.ts)_\n\n## `json-web-key keyPair`\n\nmake keypair\n\n```\nUSAGE\n  $ json-web-key keyPair --type ES256|ES256K|ES384|ES512 [--debug]\n\nFLAGS\n  --debug          show error stack\n  --type=<option>  (required)\n                   <options: ES256|ES256K|ES384|ES512>\n\nDESCRIPTION\n  make keypair\n```\n\n_See code: [dist/commands/keyPair.ts](https://gitlab.com/agrozyme-package/JavaScript/json-web-key/blob/v0.0.0/dist/commands/keyPair.ts)_\n\n## `json-web-key privateKey:convert`\n\nconvert raw private key to other format\n\n```\nUSAGE\n  $ json-web-key privateKey:convert --key <value> --format raw|jwk|pem --type ES256|ES256K|ES384|ES512 [--debug]\n\nFLAGS\n  --debug            show error stack\n  --format=<option>  (required)\n                     <options: raw|jwk|pem>\n  --key=<value>      (required)\n  --type=<option>    (required)\n                     <options: ES256|ES256K|ES384|ES512>\n\nDESCRIPTION\n  convert raw private key to other format\n```\n\n_See code: [dist/commands/privateKey/convert.ts](https://gitlab.com/agrozyme-package/JavaScript/json-web-key/blob/v0.0.0/dist/commands/privateKey/convert.ts)_\n\n## `json-web-key privateKey:export`\n\nexport private key file to other format\n\n```\nUSAGE\n  $ json-web-key privateKey:export --fromFile <value> --toFile <value> --fromFormat raw|jwk|pem --toFormat raw|jwk|pem\n    --type ES256|ES256K|ES384|ES512 [--debug]\n\nFLAGS\n  --debug                show error stack\n  --fromFile=<value>     (required)\n  --fromFormat=<option>  (required)\n                         <options: raw|jwk|pem>\n  --toFile=<value>       (required)\n  --toFormat=<option>    (required)\n                         <options: raw|jwk|pem>\n  --type=<option>        (required)\n                         <options: ES256|ES256K|ES384|ES512>\n\nDESCRIPTION\n  export private key file to other format\n```\n\n_See code: [dist/commands/privateKey/export.ts](https://gitlab.com/agrozyme-package/JavaScript/json-web-key/blob/v0.0.0/dist/commands/privateKey/export.ts)_\n\n## `json-web-key publicKey:convert`\n\nconvert raw public key to other format\n\n```\nUSAGE\n  $ json-web-key publicKey:convert --key <value> --format raw|jwk|pem --type ES256|ES256K|ES384|ES512 [--debug]\n\nFLAGS\n  --debug            show error stack\n  --format=<option>  (required)\n                     <options: raw|jwk|pem>\n  --key=<value>      (required)\n  --type=<option>    (required)\n                     <options: ES256|ES256K|ES384|ES512>\n\nDESCRIPTION\n  convert raw public key to other format\n```\n\n_See code: [dist/commands/publicKey/convert.ts](https://gitlab.com/agrozyme-package/JavaScript/json-web-key/blob/v0.0.0/dist/commands/publicKey/convert.ts)_\n\n## `json-web-key publicKey:export`\n\nexport public key file to other format\n\n```\nUSAGE\n  $ json-web-key publicKey:export --fromFile <value> --toFile <value> --fromFormat raw|jwk|pem --toFormat raw|jwk|pem\n    --type ES256|ES256K|ES384|ES512 [--debug]\n\nFLAGS\n  --debug                show error stack\n  --fromFile=<value>     (required)\n  --fromFormat=<option>  (required)\n                         <options: raw|jwk|pem>\n  --toFile=<value>       (required)\n  --toFormat=<option>    (required)\n                         <options: raw|jwk|pem>\n  --type=<option>        (required)\n                         <options: ES256|ES256K|ES384|ES512>\n\nDESCRIPTION\n  export public key file to other format\n```\n\n_See code: [dist/commands/publicKey/export.ts](https://gitlab.com/agrozyme-package/JavaScript/json-web-key/blob/v0.0.0/dist/commands/publicKey/export.ts)_\n<!-- commandsstop -->\n","readmeFilename":"README.md"}