{"_id":"universal-github-app-jwt","_rev":"4181652","name":"universal-github-app-jwt","description":"Calculate GitHub App bearer tokens for Node & modern browsers","dist-tags":{"beta":"2.2.0-beta.1","latest":"2.2.2","release-1.x":"1.2.0"},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"time":{"modified":"2026-03-01T21:52:34.000Z","created":"2019-09-02T03:59:16.846Z","2.2.2":"2025-03-17T22:35:31.674Z","2.2.1":"2025-03-17T16:10:55.541Z","1.2.0":"2024-09-30T22:38:45.406Z","2.2.0":"2024-05-02T21:28:17.447Z","2.2.0-beta.1":"2024-05-02T21:24:13.956Z","2.1.1":"2024-04-29T22:45:56.116Z","2.1.0":"2024-03-02T18:50:06.715Z","2.0.6":"2024-02-05T18:15:54.937Z","1.1.2":"2024-01-04T05:44:04.353Z","2.0.5":"2023-07-09T19:45:05.906Z","2.0.4":"2023-07-09T19:39:46.073Z","2.0.3":"2023-07-09T19:38:24.531Z","2.0.2":"2023-07-08T20:58:37.953Z","1.1.1":"2023-01-06T06:16:13.162Z","2.0.1":"2022-12-22T06:09:48.407Z","2.0.0":"2022-12-21T23:10:58.853Z","1.1.0":"2020-09-07T16:40:14.924Z","1.0.2":"2020-04-23T03:14:49.506Z","1.0.1":"2019-09-02T05:12:26.451Z","1.0.0":"2019-09-02T03:59:16.846Z"},"users":{},"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"versions":{"2.2.2":{"name":"universal-github-app-jwt","type":"module","version":"2.2.2","exports":"./index.js","imports":{"#crypto":{"node":"./lib/crypto-node.js","default":"./lib/crypto-native.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","devDependencies":{"ava":"^6.0.0","c8":"^10.0.0","esbuild":"^0.25.0","mockdate":"^3.0.5","open-cli":"^8.0.0","prettier":"^3.0.0","tsd":"^0.31.0","typescript":"^5.0.0"},"release":{"branches":["+([0-9]).x","main",{"name":"beta","prerelease":true}]},"renovate":{"extends":["github>gr2m/.github"]},"_id":"universal-github-app-jwt@2.2.2","gitHead":"73a95d1873f57d456470f26f5f61cc76d859c165","types":"./index.d.ts","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"38537e5a7d154085a35f97601a5e30e9e17717df","size":12665,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.2.2.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/universal-github-app-jwt_2.2.2_1742250931485_0.5235448371068498"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-17T22:35:31.674Z","publish_time":1742250931674,"_source_registry_name":"default","_cnpm_publish_time":1742250931674},"2.2.1":{"name":"universal-github-app-jwt","type":"module","version":"2.2.1","exports":"./index.js","imports":{"#crypto":{"node":"./lib/crypto-node.js","default":"./lib/crypto-native.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","devDependencies":{"ava":"^6.0.0","c8":"^10.0.0","esbuild":"^0.25.0","mockdate":"^3.0.5","open-cli":"^8.0.0","prettier":"^3.0.0","tsd":"^0.31.0","typescript":"^5.0.0"},"release":{"branches":["+([0-9]).x","main",{"name":"beta","prerelease":true}]},"renovate":{"extends":["github>gr2m/.github"]},"_id":"universal-github-app-jwt@2.2.1","gitHead":"3b0c552c01c6114b4fe63dbd9f4af90ca6403fbb","types":"./index.d.ts","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"8f6ca9b9fa8fbca831cf25826a46e9193917ed3f","size":12588,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.2.1.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/universal-github-app-jwt_2.2.1_1742227855314_0.013793355545025365"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-17T16:10:55.541Z","publish_time":1742227855541,"_source_registry_name":"default","_cnpm_publish_time":1742227855541},"1.2.0":{"name":"universal-github-app-jwt","description":"Calculate GitHub App bearer tokens for Node & modern browsers","version":"1.2.0","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","authentication","app","jwt","webcrypto"],"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"dependencies":{"@types/jsonwebtoken":"^9.0.0","jsonwebtoken":"^9.0.2"},"devDependencies":{"@gr2m/pika-plugin-build-web":"^0.6.0-issue-84.1","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.1","@pika/plugin-bundle-web":"^0.9.1","@pika/plugin-ts-standard-pkg":"^0.9.1","@types/jest":"^26.0.0","@types/lolex":"^5.1.0","jest":"^26.0.0","lolex":"^6.0.0","prettier":"^2.0.0","rollup-plugin-json":"^4.0.0","semantic-release":"^17.0.0","serve-handler":"^6.1.1","ts-jest":"^26.0.0","typescript":"^4.9.4"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","browser":"dist-web/index.bundled.js","readmeFilename":"README.md","gitHead":"d5d5028693671173ab6ff7e445cecdb1e6c81c05","_id":"universal-github-app-jwt@1.2.0","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"shasum":"1314cf2b2aff69d7ae998e8bff90d55a651d2949","size":7986,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-1.2.0.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_1.2.0_1727735925243_0.04952631784944628"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-30T22:38:45.406Z","publish_time":1727735925406,"_source_registry_name":"default","_cnpm_publish_time":1727735925406},"2.2.0":{"name":"universal-github-app-jwt","type":"module","version":"2.2.0","exports":"./index.js","imports":{"#crypto":{"node":"./lib/crypto-node.js","default":"./lib/crypto-native.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","devDependencies":{"ava":"^6.0.0","c8":"^9.0.0","esbuild":"^0.20.0","mockdate":"^3.0.5","open-cli":"^8.0.0","prettier":"^3.0.0","tsd":"^0.31.0","typescript":"^5.0.0"},"release":{"branches":["+([0-9]).x","main",{"name":"beta","prerelease":true}]},"renovate":{"extends":["github>gr2m/.github"]},"_id":"universal-github-app-jwt@2.2.0","gitHead":"24b97d0868a99253251989d3c563cbf11b784cf9","types":"./index.d.ts","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"shasum":"dc6c8929e76f1996a766ba2a08fb420f73365d77","size":12584,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.2.0.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_2.2.0_1714685297295_0.08024283536577115"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-02T21:28:17.447Z","publish_time":1714685297447,"_source_registry_name":"default","_cnpm_publish_time":1714685297447},"2.2.0-beta.1":{"name":"universal-github-app-jwt","type":"module","version":"2.2.0-beta.1","exports":"./index.js","imports":{"#crypto":{"node":"./lib/crypto-node.js","default":"./lib/crypto-native.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","devDependencies":{"ava":"^6.0.0","c8":"^9.0.0","esbuild":"^0.20.0","mockdate":"^3.0.5","open-cli":"^8.0.0","prettier":"^3.0.0","tsd":"^0.31.0","typescript":"^5.0.0"},"release":{"branches":["+([0-9]).x","main",{"name":"beta","prerelease":true}]},"renovate":{"extends":["github>gr2m/.github"]},"_id":"universal-github-app-jwt@2.2.0-beta.1","readmeFilename":"README.md","gitHead":"dc462faf5d95dcfbae5732a74e8cf87f8d909a4f","types":"./index.d.ts","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"shasum":"844390e301a1fa0d41ba0972e2bda5aab8d40d0f","size":12587,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.2.0-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.2.0-beta.1.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_2.2.0-beta.1_1714685053770_0.91613731632523"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-02T21:24:13.956Z","publish_time":1714685053956,"_source_registry_name":"default","_cnpm_publish_time":1714685053956},"2.1.1":{"name":"universal-github-app-jwt","type":"module","version":"2.1.1","exports":"./index.js","imports":{"#crypto":{"node":"./lib/crypto-node.js","default":"./lib/crypto-native.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","devDependencies":{"ava":"^6.0.0","c8":"^9.0.0","esbuild":"^0.20.0","mockdate":"^3.0.5","open-cli":"^8.0.0","prettier":"^3.0.0","tsd":"^0.31.0","typescript":"^5.0.0"},"release":{"branches":["+([0-9]).x","main","next",{"name":"beta","prerelease":true}]},"renovate":{"extends":["github>gr2m/.github"]},"_id":"universal-github-app-jwt@2.1.1","gitHead":"e1e8d57447a08a113243afde5735ba5c14a8d299","types":"./index.d.ts","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"shasum":"1936790dcdddea6d29c116ee5bde3da2b75641bc","size":12358,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.1.1.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_2.1.1_1714430755955_0.6007594005555259"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-29T22:45:56.116Z","publish_time":1714430756116,"_source_registry_name":"default","_cnpm_publish_time":1714430756116},"2.1.0":{"name":"universal-github-app-jwt","type":"module","version":"2.1.0","exports":"./index.js","imports":{"#crypto":{"node":"./lib/crypto-node.js","default":"./lib/crypto-native.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","devDependencies":{"ava":"^6.0.0","c8":"^9.0.0","esbuild":"^0.20.0","mockdate":"^3.0.5","open-cli":"^8.0.0","prettier":"^3.0.0","tsd":"^0.30.0","typescript":"^5.0.0"},"release":{"branches":["+([0-9]).x","main","next",{"name":"beta","prerelease":true}]},"renovate":{"extends":["github>gr2m/.github"]},"_id":"universal-github-app-jwt@2.1.0","gitHead":"1ac050829692806b61c85366f05256fe79ede81f","types":"./index.d.ts","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"shasum":"e9090aa523e50bb9db7231f5ae8b6b292b2fe6e1","size":12151,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.1.0.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_2.1.0_1709405406516_0.5016454414071034"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-02T18:50:06.715Z","publish_time":1709405406715,"_source_registry_name":"default","_cnpm_publish_time":1709405406715},"2.0.6":{"name":"universal-github-app-jwt","type":"module","version":"2.0.6","exports":"./index.js","imports":{"#crypto":{"node":"./lib/crypto-node.js","default":"./lib/crypto-native.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","devDependencies":{"ava":"^6.0.0","c8":"^9.0.0","esbuild":"^0.20.0","mockdate":"^3.0.5","open-cli":"^8.0.0","prettier":"^3.0.0","tsd":"^0.30.0","typescript":"^5.0.0"},"release":{"branches":["+([0-9]).x","main","next",{"name":"beta","prerelease":true}]},"renovate":{"extends":["github>gr2m/.github"]},"_id":"universal-github-app-jwt@2.0.6","gitHead":"36409d83730ae3ba1082d480483303daf5d5392e","types":"./index.d.ts","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"shasum":"e73fb528ae6790bd1488c33e28fb67a918f50dcd","size":12088,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.0.6.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_2.0.6_1707156954758_0.808439786096594"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-05T18:15:54.937Z","publish_time":1707156954937,"_source_registry_name":"default","_cnpm_publish_time":1707156954937},"1.1.2":{"name":"universal-github-app-jwt","description":"Calculate GitHub App bearer tokens for Node & modern browsers","version":"1.1.2","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","authentication","app","jwt","webcrypto"],"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"dependencies":{"@types/jsonwebtoken":"^9.0.0","jsonwebtoken":"^9.0.2"},"devDependencies":{"@gr2m/pika-plugin-build-web":"^0.6.0-issue-84.1","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.1","@pika/plugin-bundle-web":"^0.9.1","@pika/plugin-ts-standard-pkg":"^0.9.1","@types/jest":"^26.0.0","@types/lolex":"^5.1.0","jest":"^26.0.0","lolex":"^6.0.0","prettier":"^2.0.0","rollup-plugin-json":"^4.0.0","semantic-release":"^17.0.0","serve-handler":"^6.1.1","ts-jest":"^26.0.0","typescript":"^4.9.4"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","browser":"dist-web/index.bundled.js","readmeFilename":"README.md","gitHead":"601845387687cde088190d11b2b205bf74c37172","_id":"universal-github-app-jwt@1.1.2","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"8c1867a394d7d9d42cda34f11d1bcb023797d8df","size":7919,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-1.1.2.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_1.1.2_1704347044158_0.48675461089970984"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-04T05:44:04.353Z","publish_time":1704347044353,"_source_registry_name":"default","_cnpm_publish_time":1704347044353},"2.0.5":{"name":"universal-github-app-jwt","type":"module","version":"2.0.5","exports":"./index.js","imports":{"#crypto":{"node":"./lib/crypto-node.js","default":"./lib/crypto-native.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","devDependencies":{"ava":"^5.1.0","c8":"^8.0.0","esbuild":"^0.16.10","mockdate":"^3.0.5","open-cli":"^7.1.0","prettier":"^2.8.1","tsd":"^0.25.0","typescript":"^4.9.4"},"release":{"branches":["+([0-9]).x","main","next",{"name":"beta","prerelease":true}]},"types":"./index.d.ts","gitHead":"519170dbc18f9a15ec6b28df3f67e3d25b19bb54","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_id":"universal-github-app-jwt@2.0.5","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"shasum":"1d277f83bc7c2ad340b45c5eecd8fe170c0e712f","size":12066,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.0.5.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_2.0.5_1688931905737_0.5613201204995715"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-09T19:45:05.906Z","publish_time":1688931905906,"_source_registry_name":"default","_cnpm_publish_time":1688931905906},"2.0.4":{"name":"universal-github-app-jwt","type":"module","version":"2.0.4","exports":"./index.js","imports":{"#crypto":{"node":"./lib/crypto-node.js","default":"./lib/crypto-native.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","devDependencies":{"ava":"^5.1.0","c8":"^8.0.0","esbuild":"^0.16.10","mockdate":"^3.0.5","open-cli":"^7.1.0","prettier":"^2.8.1","tsd":"^0.25.0","typescript":"^4.9.4"},"release":{"branches":["+([0-9]).x","main","next",{"name":"beta","prerelease":true}]},"types":"./index.d.ts","gitHead":"1f67ee2933b7ae0b25b935205bd459bf776a61f7","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_id":"universal-github-app-jwt@2.0.4","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"shasum":"79c90cbc376d24ebcc5065390e9f03e4b9709678","size":12071,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.0.4.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_2.0.4_1688931585881_0.37262218262879476"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-09T19:39:46.073Z","publish_time":1688931586073,"_source_registry_name":"default","_cnpm_publish_time":1688931586073},"2.0.3":{"name":"universal-github-app-jwt","type":"module","version":"2.0.3","exports":"./index.js","imports":{"#crypto":{"node":"./lib/crypto-node.js","default":"./lib/crypto-native.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","devDependencies":{"ava":"^5.1.0","c8":"^8.0.0","esbuild":"^0.16.10","mockdate":"^3.0.5","open-cli":"^7.1.0","prettier":"^2.8.1","tsd":"^0.25.0","typescript":"^4.9.4"},"release":{"branches":["+([0-9]).x","main","next",{"name":"beta","prerelease":true}]},"types":"./index.d.ts","gitHead":"c8021a20d56cf6c1406b9da8147f3ce8442d9dcb","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_id":"universal-github-app-jwt@2.0.3","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"shasum":"f9bcdb304c039b06d8e9a4d7ef5c003f8d9153c1","size":12067,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.0.3.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_2.0.3_1688931504357_0.3089660567186403"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-09T19:38:24.531Z","publish_time":1688931504531,"_source_registry_name":"default","_cnpm_publish_time":1688931504531},"2.0.2":{"name":"universal-github-app-jwt","type":"module","version":"2.0.2","exports":"./index.js","imports":{"#get-token":{"node":"./lib/get-token-node.js","default":"./lib/get-token.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","dependencies":{"jsonwebtoken":"^9.0.0"},"devDependencies":{"ava":"^5.1.0","c8":"^7.12.0","esbuild":"^0.16.10","mockdate":"^3.0.5","open-cli":"^7.1.0","prettier":"^2.8.1","tsd":"^0.25.0","typescript":"^4.9.4"},"types":"./index.d.ts","gitHead":"e79a993248868aa8a877b6489cbf05975c68b75c","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_id":"universal-github-app-jwt@2.0.2","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"shasum":"ed23f09a15c3541599de1e4e982e59d37837e4e5","size":11844,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.0.2.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_2.0.2_1688849917769_0.34945959070854293"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-08T20:58:37.953Z","publish_time":1688849917953,"_source_registry_name":"default","_cnpm_publish_time":1688849917953},"1.1.1":{"name":"universal-github-app-jwt","description":"Calculate GitHub App bearer tokens for Node & modern browsers","version":"1.1.1","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","authentication","app","jwt","webcrypto"],"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"dependencies":{"@types/jsonwebtoken":"^9.0.0","jsonwebtoken":"^9.0.0"},"devDependencies":{"@gr2m/pika-plugin-build-web":"^0.6.0-issue-84.1","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.1","@pika/plugin-bundle-web":"^0.9.1","@pika/plugin-ts-standard-pkg":"^0.9.1","@types/jest":"^26.0.0","@types/lolex":"^5.1.0","jest":"^26.0.0","lolex":"^6.0.0","prettier":"^2.0.0","rollup-plugin-json":"^4.0.0","semantic-release":"^17.0.0","serve-handler":"^6.1.1","ts-jest":"^26.0.0","typescript":"^4.9.4"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","browser":"dist-web/index.bundled.js","readmeFilename":"README.md","gitHead":"2fd1d890fff88d652d01ba6649014c1c5be2c639","_id":"universal-github-app-jwt@1.1.1","_nodeVersion":"18.12.1","_npmVersion":"7.24.2","dist":{"shasum":"d57cee49020662a95ca750a057e758a1a7190e6e","size":7830,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-1.1.1.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_1.1.1_1672985772994_0.898090895589148"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-06T06:22:15.030Z","publish_time":1672985773162,"_cnpm_publish_time":1672985773162},"2.0.1":{"name":"universal-github-app-jwt","type":"module","version":"2.0.1","exports":"./index.js","imports":{"#get-token":{"node":"./lib/get-token-node.js","default":"./lib/get-token.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","dependencies":{"jsonwebtoken":"^9.0.0"},"devDependencies":{"ava":"^5.1.0","c8":"^7.12.0","esbuild":"^0.16.10","mockdate":"^3.0.5","open-cli":"^7.1.0","prettier":"^2.8.1","tsd":"^0.25.0","typescript":"^4.9.4"},"types":"./index.d.ts","gitHead":"259e45a0c171a984bc14623706fdc98378590a3f","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_id":"universal-github-app-jwt@2.0.1","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"shasum":"107da8004bcf69451dc9a0540a33922166cb7c98","size":10809,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.0.1.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_2.0.1_1671689388211_0.3792859877599326"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-22T06:10:31.282Z","publish_time":1671689388407,"_cnpm_publish_time":1671689388407},"2.0.0":{"name":"universal-github-app-jwt","type":"module","version":"2.0.0","exports":"./index.js","imports":{"#get-token":{"node":"./lib/get-token-node.js","default":"./lib/get-token.js"}},"description":"Calculate GitHub App bearer tokens for Node & modern browsers","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"keywords":["github","authentication","app","jwt","webcrypto"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"scripts":{"test":"npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint","test:code":"c8 --100 ava test/node.test.js","test:deno":"deno test test/deno.test.js","test:tsc":"tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js","test:tsd":"tsd","lint":"prettier --check '{src,test}/**/*' README.md package.json","lint:fix":"prettier --write '{src,test}/**/*' README.md package.json","coverage":"c8 report --reporter html","postcoverage":"open-cli coverage/index.html","build":"npm run build:default && npm run build:node","build:default":"esbuild index.js --bundle --outfile=dist/default.js --platform=browser --target=es2020 --format=esm","build:node":"esbuild index.js --bundle --outfile=dist/node.js --platform=node --target=es2020 --format=esm"},"license":"MIT","dependencies":{"jsonwebtoken":"^8.5.1"},"devDependencies":{"ava":"^5.1.0","c8":"^7.12.0","esbuild":"^0.16.10","mockdate":"^3.0.5","open-cli":"^7.1.0","prettier":"^2.8.1","tsd":"^0.25.0","typescript":"^4.9.4"},"types":"./index.d.ts","gitHead":"a1910164568fb50d0837ab099cfe465c8c15c254","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","_id":"universal-github-app-jwt@2.0.0","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"shasum":"34f5c479b2918592f6b050a3506b9cb5ca913f8a","size":10809,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-2.0.0.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_2.0.0_1671664258685_0.609495616916464"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-21T23:18:00.202Z","publish_time":1671664258853,"_cnpm_publish_time":1671664258853},"1.1.0":{"name":"universal-github-app-jwt","description":"Calculate GitHub App bearer tokens for Node & modern browsers","version":"1.1.0","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","authentication","app","jwt","webcrypto"],"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"dependencies":{"@types/jsonwebtoken":"^8.3.3","jsonwebtoken":"^8.5.1"},"devDependencies":{"@gr2m/pika-plugin-build-web":"^0.6.0-issue-84.1","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.1","@pika/plugin-bundle-web":"^0.9.1","@pika/plugin-ts-standard-pkg":"^0.9.1","@types/jest":"^25.1.0","@types/lolex":"^5.1.0","jest":"^25.1.0","lolex":"^6.0.0","playwright":"^1.0.1","prettier":"^2.0.0","rollup-plugin-json":"^4.0.0","semantic-release":"^17.0.0","serve-handler":"^6.1.1","ts-jest":"^26.0.0","typescript":"^3.6.2"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","browser":"dist-web/index.bundled.js","_id":"universal-github-app-jwt@1.1.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"shasum":"0abaa876101cdf1d3e4c546be2768841c0c1b514","size":8014,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-1.1.0.tgz"},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_1.1.0_1599496814728_0.3673477710222912"},"_hasShrinkwrap":false,"publish_time":1599496814924,"_cnpm_publish_time":1599496814924,"_cnpmcore_publish_time":"2021-12-16T16:52:20.213Z"},"1.0.2":{"name":"universal-github-app-jwt","description":"Calculate GitHub App bearer tokens for Node & modern browsers","version":"1.0.2","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","authentication","app","jwt","webcrypto"],"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"dependencies":{"@types/jsonwebtoken":"^8.3.3","jsonwebtoken":"^8.5.1"},"devDependencies":{"@gr2m/pika-plugin-build-web":"^0.6.0-issue-84.1","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.1","@pika/plugin-bundle-web":"^0.9.1","@pika/plugin-ts-standard-pkg":"^0.9.1","@types/jest":"^25.1.0","@types/lolex":"^5.1.0","jest":"^25.1.0","lolex":"^6.0.0","playwright":"^0.13.0","prettier":"^2.0.0","rollup-plugin-json":"^4.0.0","semantic-release":"^17.0.0","serve-handler":"^6.1.1","ts-jest":"^25.1.0","typescript":"^3.6.2"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","browser":"dist-web/index.bundled.js","_id":"universal-github-app-jwt@1.0.2","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"shasum":"9a7305e44b2a0eb565d83d11682eebe5be8bde8b","size":7961,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-1.0.2.tgz"},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_1.0.2_1587611689384_0.23192807705168206"},"_hasShrinkwrap":false,"publish_time":1587611689506,"_cnpm_publish_time":1587611689506,"_cnpmcore_publish_time":"2021-12-16T16:52:20.454Z"},"1.0.1":{"name":"universal-github-app-jwt","description":"Calculate GitHub App bearer tokens for Node & modern browsers","version":"1.0.1","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","authentication","app","jwt","webcrypto"],"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"dependencies":{"@types/jsonwebtoken":"^8.3.3","jsonwebtoken":"^8.5.1"},"devDependencies":{"@gr2m/pika-plugin-build-web":"^0.6.0-issue-84.1","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.6.0","@pika/plugin-bundle-web":"^0.6.0","@pika/plugin-ts-standard-pkg":"^0.6.0","@types/jest":"^24.0.18","@types/lolex":"^3.1.1","jest":"^24.9.0","lolex":"^4.2.0","prettier":"^1.18.2","puppeteer":"^1.19.0","semantic-release":"^15.13.24","serve-handler":"^6.1.1","ts-jest":"^24.0.2","typescript":"^3.6.2"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","_id":"universal-github-app-jwt@1.0.1","_nodeVersion":"12.9.1","_npmVersion":"6.11.2","dist":{"shasum":"d2ecc00249e02c8a244c5b4ab285de8e6bbef1ee","size":7896,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-1.0.1.tgz"},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_1.0.1_1567401146330_0.991030506883922"},"_hasShrinkwrap":false,"publish_time":1567401146451,"_cnpm_publish_time":1567401146451,"_cnpmcore_publish_time":"2021-12-16T16:52:20.867Z"},"1.0.0":{"name":"universal-github-app-jwt","description":"Calculate GitHub App bearer tokens for Node & modern browsers","version":"1.0.0","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","authentication","app","jwt","webcrypto"],"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"repository":{"type":"git","url":"git+https://github.com/gr2m/universal-github-app-jwt.git"},"dependencies":{"@types/jsonwebtoken":"^8.3.3","jsonwebtoken":"^8.5.1"},"devDependencies":{"@gr2m/pika-plugin-build-web":"^0.6.0-issue-84.1","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.6.0","@pika/plugin-bundle-web":"^0.6.0","@pika/plugin-ts-standard-pkg":"^0.6.0","@types/jest":"^24.0.18","@types/lolex":"^3.1.1","jest":"^24.9.0","lolex":"^4.2.0","node-webcrypto-ossl":"^1.0.48","prettier":"^1.18.2","puppeteer":"^1.19.0","semantic-release":"^15.13.24","serve-handler":"^6.1.1","ts-jest":"^24.0.2","typescript":"^3.6.2"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","_id":"universal-github-app-jwt@1.0.0","_nodeVersion":"12.9.1","_npmVersion":"6.11.2","dist":{"shasum":"d38bd0fe2ea3ff06b35bb75f0862f0b048cf9e6d","size":7912,"noattachment":false,"key":"/universal-github-app-jwt/-/universal-github-app-jwt-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/universal-github-app-jwt/download/universal-github-app-jwt-1.0.0.tgz"},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-github-app-jwt_1.0.0_1567396756720_0.314111080575308"},"_hasShrinkwrap":false,"publish_time":1567396756846,"_cnpm_publish_time":1567396756846,"_cnpmcore_publish_time":"2021-12-16T16:52:21.111Z"}},"readme":"# universal-github-app-jwt\n\n> Calculate GitHub App bearer tokens for Node, Deno, and modern browsers\n\n[![@latest](https://img.shields.io/npm/v/universal-github-app-jwt)](https://www.npmjs.com/universal-github-app-jwt)\n[![Build Status](https://github.com/gr2m/universal-github-app-jwt/workflows/Test/badge.svg)](https://github.com/gr2m/universal-github-app-jwt/actions?query=workflow%3ATest+branch%3Amaster)\n\n## Usage\n\n<table>\n<tbody valign=top align=left>\n<tr><th>\nBrowsers\n</th><td width=100%>\nLoad <code>universal-github-app-jwt</code> directly from <a href=\"https://esm.sh\">esm.sh</a>\n        \n```html\n<script type=\"module\">\nimport githubAppJwt from \"https://esm.sh/universal-github-app-jwt\";\n</script>\n```\n\n</td></tr>\n<tr><th>\nNode\n</th><td>\n\nInstall with <code>npm install universal-github-app-jwt</code>\n\n```js\nimport githubAppJwt from \"universal-github-app-jwt\";\n```\n\n</td></tr>\n<tr><th>\nDeno\n</th><td>\n\nLoad <code>universal-github-app-jwt</code> directly from <a href=\"https://esm.sh\">esm.sh</a>, including types.\n\n```js\nimport githubAppJwt from \"https://esm.sh/universal-github-app-jwt\";\n```\n\n</td></tr>\n</tbody>\n</table>\n\n```js\nconst { token, appId, expiration } = await githubAppJwt({\n  id: APP_ID,\n  privateKey: PRIVATE_KEY,\n});\n```\n\nThe retrieved `token` can now be used in Authorization request header, e.g. with [`@octokit/request`](https://github.com/octokit/request.js/#readme):\n\n```js\nrequest(\"GET /app\", {\n  headers: {\n    authorization: `bearer ${token}`,\n  },\n});\n```\n\nFor a complete implementation of GitHub App authentication strategies, see [`@octokit/auth-app.js`](https://github.com/octokit/auth-app.js/#readme).\n\n## `githubAppJwt(options)`\n\n<table width=\"100%\">\n  <thead align=left>\n    <tr>\n      <th width=150>\n        name\n      </th>\n      <th width=70>\n        type\n      </th>\n      <th>\n        description\n      </th>\n    </tr>\n  </thead>\n  <tbody align=left valign=top>\n    <tr>\n      <th>\n        <code>options.id</code>\n      </th>\n      <th>\n        <code>number | string</code>\n      </th>\n      <td>\n        <strong>Required</strong>. The GitHub App's ID or Client ID. For <code>github.com</code> and GHES 3.14+, it is recommended to use the Client ID.\n      </td>\n    </tr>\n    <tr>\n      <th>\n        <code>options.privateKey</code>\n      </th>\n      <th>\n        <code>string</code>\n      </th>\n      <td>\n        <strong>Required</strong>. Content of the <code>*.pem</code> file you downloaded from the app’s about page. You can generate a new private key if needed. Make sure to preserve the line breaks. If your private key contains escaped newlines (`\\\\n`), they will be automatically replaced with actual newlines.\n      </td>\n    </tr>\n    <tr>\n      <th>\n        <code>options.now</code>\n      </th>\n      <th>\n        <code>number</code>\n      </th>\n      <td>\n        An optional override for the current time in seconds since the UNIX epoch. Defaults to <code>Math.floor(Date.now() / 1000))</code>. This value can be overridden to account for a time skew between the local machine and the authentication server.\n      </td>\n    </tr>\n  </tbody>\n</table>\n\n`githubAppJwt(options)` resolves with an object with the following keys\n\n<table width=\"100%\">\n  <thead align=left>\n    <tr>\n      <th width=150>\n        name\n      </th>\n      <th width=70>\n        type\n      </th>\n      <th>\n        description\n      </th>\n    </tr>\n  </thead>\n  <tbody align=left valign=top>\n    <tr>\n      <th>\n        <code>token</code>\n      </th>\n      <th>\n        <code>string</code>\n      </th>\n      <td>\n        The JSON Web Token (JWT) to authenticate as the app.\n      </td>\n    </tr>\n    <tr>\n      <th>\n        <code>appId</code>\n      </th>\n      <th>\n        <code>number</code>\n      </th>\n      <td>\n        The GitHub App database ID or Client ID passed in <code>options.id</code>.\n      </td>\n    </tr>\n    <tr>\n      <th>\n        <code>expiration</code>\n      </th>\n      <th>\n        <code>number</code>\n      </th>\n      <td>\n        Timestamp as UNIX epoch, e.g. <code>1530922170</code>. A Date object can be created using <code>new Date(authentication.expiration)</code>.\n      </td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- do not remove this anchor, it's used in error messages -->\n\n<a name=\"private-key-formats\"></a>\n\n## About Private Key formats\n\nWhen downloading a `private-key.pem` file from GitHub, the format is in `PKCS#1` format. Unfortunately, the WebCrypto API only supports `PKCS#8`.\n\nIf you use 1Password to store a private key as an SSH key, it will be transformed to the `OpenSSH` format, which is also not supported by WebCrypto.\n\nYou can identify the format based on the the first line\n\n| First Line                            | Format  |\n| ------------------------------------- | ------- |\n| `-----BEGIN RSA PRIVATE KEY-----`     | PKCS#1  |\n| `-----BEGIN PRIVATE KEY-----`         | PKCS#8  |\n| `-----BEGIN OPENSSH PRIVATE KEY-----` | OpenSSH |\n\n### Converting `PKCS#1` to `PKCS#8`\n\n- #### Using an Online Private Key Converter\n\nConvert quickly using the Web interface at https://private-key-converter.vercel.app\n\n- #### Using Node.js\n\nIf you use Node.js, you can convert the format before passing it to `universal-github-app-jwt`:\n\n```js\nimport crypto from \"node:crypto\";\nimport githubAppJwt from \"universal-github-app-jwt\";\n\nconst privateKeyPkcs8 = crypto\n  .createPrivateKey(process.env.PRIVATE_KEY)\n  .export({\n    type: \"pkcs8\",\n    format: \"pem\",\n  });\n\nconst { token, appId, expiration } = await githubAppJwt({\n  id: process.env.APP_ID,\n  privateKey: privateKeyPkcs8,\n});\n```\n\n- #### Using OpenSSL\n\nConvert the format using `openssl` before passing it to your app.\n\n```\nopenssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in private-key.pem -out private-key-pkcs8.key\n```\n\n### Converting `OpenSSH` to `PKCS#8`\n\n```\ncp private-key.pem private-key-pkcs8.key && ssh-keygen -p -m PKCS8  -N \"\" -f private-key-pkcs8.key\n```\n\nThis command forces a format change by asking `ssh-keygen` to set no password and then output in a different format.\n\nI'm looking for help to create a minimal `OpenSSH` to `PKCS` convert library that I can recommend people to use before passing the private key to `githubAppJwt`. Please create an issue if you'd like to help.\n\n## License\n\n[MIT](LICENSE)\n","_attachments":{},"homepage":"https://github.com/gr2m/universal-github-app-jwt#readme","bugs":{"url":"https://github.com/gr2m/universal-github-app-jwt/issues"},"license":"MIT"}