{"_id":"@arquivei/jwt-generator","name":"@arquivei/jwt-generator","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@arquivei/jwt-generator","version":"0.1.0","description":"JWT generator by Arquivei","author":{"name":"Arquivei Servicos On Line Ltda"},"license":"UNLICENSED","bin":{"jwt-generator":"dist/cli.js"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","check-format":"yarn prettier --list-different","format":"yarn prettier --write","lint":"eslint --ignore-path ../../.gitignore --ext .ts --fix . --resolve-plugins-relative-to ../../node_modules/@arquivei/eslint-config","precommit":"yarn build && lint-staged","prepublish":"npm run build","prettier":"prettier --ignore-path ../../.gitignore \"**/*.+(ts|json)\"","validate":"yarn check-format && yarn lint"},"keywords":["react","jwt","test","mock","arquivei"],"repository":{"type":"git","url":"git+https://github.com/arquivei/arquivei-tools.git"},"homepage":"https://github.com/arquivei/arquivei-tools/tree/master/packages/jwt-generator","bugs":{"url":"https://github.com/arquivei/arquivei-tools/issues"},"publishConfig":{"access":"public"},"engines":{"node":">= 14"},"devDependencies":{"@types/node":"18.15.3","typescript":"5.0.2"},"dependencies":{"@faker-js/faker":"7.6.0","jsonwebtoken":"9.0.0","minimist":"1.2.8"},"gitHead":"e9702ef51d50c5cb553c2b6bc13e543e07415224","_id":"@arquivei/jwt-generator@0.1.0","_nodeVersion":"16.20.0","_npmVersion":"lerna/5.1.8/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-ecj4pJzek53/fweZ5YSHCgXcVqegkVfb8FkBDvWZMCFEPLC4YY3cxYhwzd64L5P/dguu2hba/yTKKtcp3ThYhA==","shasum":"b8a165ca276d29099e70a337104756d587dbe5cf","tarball":"https://registry.npmjs.org/@arquivei/jwt-generator/-/jwt-generator-0.1.0.tgz","fileCount":23,"unpackedSize":11431,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGA1rO4jYMJ5FwSCGzwLk66EpbtA1YeH21EdYEKcfT7GAiEAkku/HoqZDSAJpm2zq1qFsi6KROwSPFqhtfqE+cBfwCI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkODq2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1og/+IPTZL+4KN1wgyzH3wAPMvZV9dSrfz4XGNYp+FQ/eG6sMQUVs\r\nqPBeiSvGJ3ZuiV57lm+PjXO6HndIiuhfjma+KJ2nE07vxowe+sCL6OB7iF5Y\r\nQJqZ9jJ3m9qdNILcB3fEMZN212WP0DFQqRAJO9MQ+0vnulpvnSS93j3ZaWNd\r\nyPiMODLzndB/fnVZTKWGnq3MDSheNmqMhRayNvW08Emvslh7C9qhmDoCjU6G\r\nW14YGoIs9AvuK497b0GCzVYR7DlNe541GnmDOoWheW99nSb1MhW5xRNz3ge7\r\nHzoo0FIT+pdfNiFFDVj6gSfvX86ESlrWvEdH9bQogtvrU/XwSkBs+NFhGNzG\r\n5AaAB88OIUMULH83QVOgqnMCJh7cxBa79FRCSwpncfyZdlRbVL9e4x3UWvbX\r\nNzfzoRtDDBcLMJ1UpmGo/E1iRDbX+/rYd8Gi0Qktgy8P2UNfnX5lKIg/xmR/\r\n8dSjm6JhCIwZqASVyEWBH7cnQ9vDlssCpF2GbIdbDS3xmpdi0oDhUYDFxIx/\r\nNjicRpSrhCbfykteWa8ZyI289+fzDq29Z7S/EW8TZWYZkdNi+nfd9ilmbZaR\r\njPfo9UiQfT+bU6r91vgrrvPCivVLhE3oIZ7Zm2JWzQDYh25lFnzcH4tnuY1X\r\nIBkZ9sLkCwAMZr4wGuDgW6ZuT866MATOH4U=\r\n=SEB6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arquivei","email":"frontend@arquivei.com.br"},"directories":{},"maintainers":[{"name":"arquivei","email":"frontend@arquivei.com.br"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jwt-generator_0.1.0_1681406645832_0.7016978556850633"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-13T17:24:05.742Z","0.1.0":"2023-04-13T17:24:05.988Z","modified":"2023-04-13T17:24:06.159Z"},"maintainers":[{"name":"arquivei","email":"frontend@arquivei.com.br"}],"description":"JWT generator by Arquivei","homepage":"https://github.com/arquivei/arquivei-tools/tree/master/packages/jwt-generator","keywords":["react","jwt","test","mock","arquivei"],"repository":{"type":"git","url":"git+https://github.com/arquivei/arquivei-tools.git"},"author":{"name":"Arquivei Servicos On Line Ltda"},"bugs":{"url":"https://github.com/arquivei/arquivei-tools/issues"},"license":"UNLICENSED","readme":"<div align=\"center\">\n<h1>Arquivei - JWT Generator</h1>\n\n<p>JTW mock generator for all of <a href=\"https://arquivei.com.br\" target=\"_blank\" rel=\"noopener, noreferrer\">Arquivei</a> BFF projects.</p>\n</div>\n\n---\n\n## Table of Contents\n\n- [Installation](#installation)\n  - [Dependencies](#dependencies)\n- [Usage](#usage)\n\n## Installation\n\n```\nnpm i -D -E @arquivei/jwt-generator\n```\n\n### Dependencies\n\nThis package has a required `peerDependencies` listing [jwt-authorization](https://gitlab.com/arquivei/saas/access-management/nodejs-jwt-authorization)\n\n```\nnpm i -E @arquivei/jwt-authorization@1.1.3\n```\n\n## Usage\n\nAdd a script in your `package.json` file:\n\n```json\n// package.json\n\n{\n  ...,\n  \"scripts\": {\n    ...,\n    \"generate:jwt\": \"@arquivei/jwt-generator\",\n  },\n}\n```\n\nOr import as module:\n\n```js\nimport generateJWT from '@arquivei/jwt-generator';\n\nconst authToken = generateJWT();\n```\n","readmeFilename":"README.md"}