{"_id":"@types/jwa","_rev":"3016444","name":"@types/jwa","description":"TypeScript definitions for jwa","dist-tags":{"latest":"2.0.1","ts3.6":"2.0.0","ts3.7":"2.0.0","ts3.8":"2.0.0","ts3.9":"2.0.0","ts4.0":"2.0.0","ts4.1":"2.0.0","ts4.2":"2.0.0","ts4.3":"2.0.0","ts4.4":"2.0.0","ts4.5":"2.0.1","ts4.6":"2.0.1","ts4.7":"2.0.1","ts4.8":"2.0.1","ts4.9":"2.0.1","ts5.0":"2.0.1","ts5.1":"2.0.1","ts5.2":"2.0.1","ts5.3":"2.0.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-10-17T06:04:19.000Z","created":"2021-08-03T20:31:38.605Z","2.0.1":"2023-09-15T21:09:21.013Z","2.0.0":"2021-08-03T20:31:38.605Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/jwa"},"versions":{"2.0.1":{"name":"@types/jwa","version":"2.0.1","description":"TypeScript definitions for jwa","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jwa","license":"MIT","contributors":[{"name":"Daniel Hritzkiv","url":"https://github.com/dhritzkiv","githubUsername":"dhritzkiv"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/jwa"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"0a55cf5fd5cf430fa9f53e6afd134ddf87d233f3bb757e4c63c3c31993e530cc","typeScriptVersion":"4.5","_id":"@types/jwa@2.0.1","dist":{"shasum":"7624531a435e60e421cb9b5922dba16e776e03d3","size":1738,"noattachment":false,"key":"/@types/jwa/-/@types/jwa-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/jwa/download/@types/jwa-2.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jwa_2.0.1_1694812160811_0.7829397132619906"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-15T21:09:21.013Z","publish_time":1694812161013,"_source_registry_name":"default","_cnpm_publish_time":1694812161013},"2.0.0":{"name":"@types/jwa","version":"2.0.0","description":"TypeScript definitions for jwa","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jwa","license":"MIT","contributors":[{"name":"Daniel Hritzkiv","url":"https://github.com/dhritzkiv","githubUsername":"dhritzkiv"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/jwa"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"8a5cee239a6e03cba23e21f15b328159cb94e7513c5ee6ba6f8830030adee5ec","typeScriptVersion":"3.6","_id":"@types/jwa@2.0.0","dist":{"shasum":"321310068d96ef40974cebe7dbfbee36feae4ed9","size":1676,"noattachment":false,"key":"/@types/jwa/-/@types/jwa-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/jwa/download/@types/jwa-2.0.0.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jwa_2.0.0_1628022698461_0.6427467560961071"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T08:42:17.971Z","publish_time":1628022698605,"_cnpm_publish_time":1628022698605}},"readme":"# Installation\r\n> `npm install --save @types/jwa`\r\n\r\n# Summary\r\nThis package contains type definitions for jwa (https://github.com/auth0/node-jwa#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jwa.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jwa/index.d.ts)\r\n````ts\r\n// Type definitions for jwa 2.0\n// Project: https://github.com/auth0/node-jwa#readme\n// Definitions by: Daniel Hritzkiv <https://github.com/dhritzkiv>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\ntype Algorithm =\n    | \"HS256\"\n    | \"HS384\"\n    | \"HS512\"\n    | \"RS256\"\n    | \"RS384\"\n    | \"RS512\"\n    | \"PS256\"\n    | \"PS384\"\n    | \"PS512\"\n    | \"ES256\"\n    | \"ES384\"\n    | \"ES512\"\n    | \"none\";\n\ninterface JWA {\n    sign(input: string, secretOrPrivateKey: string): string;\n\n    verify(input: string, signature: string, secretOrPublicKey: string): boolean;\n}\n\ndeclare function jwa(algorithm: Algorithm): JWA;\n\nexport = jwa;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 15 Sep 2023 20:36:37 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Daniel Hritzkiv](https://github.com/dhritzkiv).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jwa","license":"MIT"}