{"_id":"@bestcodetools/jwt-cli","_rev":"2-c4f9a7ae391f24076637913df2e48825","name":"@bestcodetools/jwt-cli","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@bestcodetools/jwt-cli","version":"0.1.0","keywords":["jwt","jwt-cli","jwt cli","jsonwebtoken","jwt-generator","jwt generator","jwt-verifier","jwt verifier","jwt-validator","jwt validator","jwt-reader","jwt reader","jwt-parser","jwt parser"],"author":{"url":"https://douglasdomingues.com.br","name":"Douglas Alves Domingues","email":"kamikai@gmail.com"},"license":"ISC","_id":"@bestcodetools/jwt-cli@0.1.0","maintainers":[{"name":"kamikai","email":"kamikai@gmail.com"}],"homepage":"https://gitlab.com/bestcodetools/nodejs/jwt-cli#readme","bugs":{"url":"https://gitlab.com/bestcodetools/nodejs/jwt-cli/issues"},"bin":{"jwt":"bin/main","jwt-cli":"bin/main"},"dist":{"shasum":"b05bff298a17ad5da87be43136be5bff9d974d4d","tarball":"https://registry.npmjs.org/@bestcodetools/jwt-cli/-/jwt-cli-0.1.0.tgz","fileCount":9,"integrity":"sha512-wyDWq7GoCctRr+drzreVgRxvsM8moSNRdnuokT9JTYF4vjzazVLRZeyGqGJInE/I7qTAerBAYf8i/jV71Eza1Q==","signatures":[{"sig":"MEQCIF8ayJklGYJn+/btNDjKpOxiOsp+C9IQEX5Y3ikRNfPIAiA21GbRrmfMQEZfCZSsVK4fj4R6Dw+LItbQ2qSfQ5noNQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8248},"main":"src/index.js","gitHead":"9f86f067bdecfe5239a241abc2a5d9a90b8fad96","scripts":{},"_npmUser":{"name":"kamikai","email":"kamikai@gmail.com"},"repository":{"url":"git+https://gitlab.com/bestcodetools/nodejs/jwt-cli.git","type":"git"},"_npmVersion":"10.2.4","description":"","directories":{},"_nodeVersion":"20.11.0","dependencies":{"dotenv":"^16.4.5","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/jwt-cli_0.1.0_1727292974991_0.9373338418998458","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@bestcodetools/jwt-cli","version":"0.1.1","keywords":["jwt","jwt-cli","jwt cli","jsonwebtoken","jwt-generator","jwt generator","jwt-verifier","jwt verifier","jwt-validator","jwt validator","jwt-reader","jwt reader","jwt-parser","jwt parser"],"author":{"url":"https://douglasdomingues.com.br","name":"Douglas Alves Domingues","email":"kamikai@gmail.com"},"license":"ISC","_id":"@bestcodetools/jwt-cli@0.1.1","maintainers":[{"name":"kamikai","email":"kamikai@gmail.com"}],"homepage":"https://gitlab.com/bestcodetools/nodejs/jwt-cli#readme","bugs":{"url":"https://gitlab.com/bestcodetools/nodejs/jwt-cli/issues"},"bin":{"jwt":"bin/main","jwt-cli":"bin/main"},"dist":{"shasum":"26712c06d2450b34bfa2b703010848acc103444b","tarball":"https://registry.npmjs.org/@bestcodetools/jwt-cli/-/jwt-cli-0.1.1.tgz","fileCount":9,"integrity":"sha512-G3L0DlHrawuK93cUrIS+H9OLBXB9c2s1Wlsju3RknyF5MKQOimMDvO+fXdciM9wz6QIz+/Ki5b28w/lCDyuzQA==","signatures":[{"sig":"MEUCICazSSW3Q3KT5jKcKrjQSrZDVN+FE4FQhJIe7eJqqTLWAiEA8CreDT9A3BV1f99p20UEHaKreZEkGbWsmBNFCJdUkA8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8412},"main":"src/index.js","gitHead":"28ab43f71f5ef14976b455dbc1f02c6f20f51e73","scripts":{},"_npmUser":{"name":"kamikai","email":"kamikai@gmail.com"},"repository":{"url":"git+https://gitlab.com/bestcodetools/nodejs/jwt-cli.git","type":"git"},"_npmVersion":"10.2.4","description":"","directories":{},"_nodeVersion":"20.11.0","dependencies":{"dotenv":"^16.4.5","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/jwt-cli_0.1.1_1727293559151_0.6157100305295828","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@bestcodetools/jwt-cli","version":"0.1.2","description":"","main":"src/index.js","publishConfig":{"access":"public"},"scripts":{},"keywords":["jwt","jwt-cli","jwt cli","jsonwebtoken","jwt-generator","jwt generator","jwt-verifier","jwt verifier","jwt-validator","jwt validator","jwt-reader","jwt reader","jwt-parser","jwt parser"],"author":{"name":"Douglas Alves Domingues","email":"kamikai@gmail.com","url":"https://douglasdomingues.com.br"},"license":"ISC","dependencies":{"dotenv":"^16.4.5","jsonwebtoken":"^9.0.2"},"bin":{"jwt":"bin/main","jwt-cli":"bin/main"},"devDependencies":{},"repository":{"type":"git","url":"git+https://gitlab.com/bestcodetools/nodejs/jwt-cli.git"},"bugs":{"url":"https://gitlab.com/bestcodetools/nodejs/jwt-cli/issues"},"homepage":"https://gitlab.com/bestcodetools/nodejs/jwt-cli#readme","_id":"@bestcodetools/jwt-cli@0.1.2","gitHead":"81f884086dade45c51fa55516b9e8c414609c207","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-twxbjU/aeHcD3rk3knU4pbqctZhJeky9oZEUWA47NrL4QCK1Ch9uDdnmffsouy8WP6DKOXC0Q0reeok5P1bNZg==","shasum":"1a369bdff31b44c6be4e7800a81a0909b1b54a28","tarball":"https://registry.npmjs.org/@bestcodetools/jwt-cli/-/jwt-cli-0.1.2.tgz","fileCount":9,"unpackedSize":8510,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCG7tUua958P8iQvIEXy6b7i22xMRVSltHAxO3FIZfBKQIhAOxyyCObvha3Y46mo1xobUaFhqt6kTOr7mwZQbDojSe+"}]},"_npmUser":{"name":"kamikai","email":"kamikai@gmail.com"},"directories":{},"maintainers":[{"name":"kamikai","email":"kamikai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jwt-cli_0.1.2_1727293920847_0.9645137405998159"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-25T19:36:14.893Z","modified":"2024-09-25T19:52:02.033Z","0.1.0":"2024-09-25T19:36:15.219Z","0.1.1":"2024-09-25T19:45:59.422Z","0.1.2":"2024-09-25T19:52:01.064Z"},"bugs":{"url":"https://gitlab.com/bestcodetools/nodejs/jwt-cli/issues"},"author":{"name":"Douglas Alves Domingues","email":"kamikai@gmail.com","url":"https://douglasdomingues.com.br"},"license":"ISC","homepage":"https://gitlab.com/bestcodetools/nodejs/jwt-cli#readme","keywords":["jwt","jwt-cli","jwt cli","jsonwebtoken","jwt-generator","jwt generator","jwt-verifier","jwt verifier","jwt-validator","jwt validator","jwt-reader","jwt reader","jwt-parser","jwt parser"],"repository":{"type":"git","url":"git+https://gitlab.com/bestcodetools/nodejs/jwt-cli.git"},"maintainers":[{"name":"kamikai","email":"kamikai@gmail.com"}],"readme":"# @bestcodetools/jwt-cli\n\n\n## Usage\n\n```shell\njwt <command> [options]\n```\n    \n## Commands:\n\n### generate\nGenerate a token\n\n```shell\njwt sign --secret=secret --data='{\"name\": \"John Doe\"}'\n```\n\non Windows Command Prompt:\n\n```shell\njwt sign --secret=secret \"--data={\"\"name:\"\": \"\"John Doe\"\"}\"\n```\n\nYou can also set some optional parameters like algorithm (default is none), subject, issuer, expiresIn; for example:\n\n* --algorithm=H256\n* --expires-in \"1 day\"\n* --subject=login\n* --issuer=myapp\n* --allow-insecure-key-sizes\n* --allow-invalid-asymmetric-key-types\n\n### parse\nParse a token\n\n```shell\njwt parse --token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ\n```\n\n### verify\nVerify a token\n\n```shell\njwt verify  --secret=secret --token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ\n```\n\n","readmeFilename":"README.md"}