{"id":18318400,"url":"https://github.com/tether/manner-jwt","last_synced_at":"2025-04-09T13:54:09.157Z","repository":{"id":73071243,"uuid":"102786220","full_name":"tether/manner-jwt","owner":"tether","description":"Authenticate manner services using JWT authentication bearer","archived":false,"fork":false,"pushed_at":"2017-09-08T19:56:42.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T07:51:13.618Z","etag":null,"topics":["http","jwt","manner","service"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tether.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-07T21:13:56.000Z","updated_at":"2017-09-08T16:22:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"292029f5-d0f9-4aeb-b6db-4065bd739de0","html_url":"https://github.com/tether/manner-jwt","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"bbbeefb660499d208c9b32981dfa02ab239ef466"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tether%2Fmanner-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tether%2Fmanner-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tether%2Fmanner-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tether%2Fmanner-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tether","download_url":"https://codeload.github.com/tether/manner-jwt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054218,"owners_count":21039951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","jwt","manner","service"],"created_at":"2024-11-05T18:09:30.023Z","updated_at":"2025-04-09T13:54:09.137Z","avatar_url":"https://github.com/tether.png","language":"JavaScript","readme":"# Manner-JWT\n\n[![Build Status](https://travis-ci.org/tether/manner-jwt.svg?branch=master)](https://travis-ci.org/tether/manner-jwt)\n[![NPM](https://img.shields.io/npm/v/manner-jwt.svg)](https://www.npmjs.com/package/manner-jwt)\n[![Downloads](https://img.shields.io/npm/dm/manner-jwt.svg)](http://npm-stat.com/charts.html?package=manner-jwt)\n[![guidelines](https://tether.github.io/contribution-guide/badge-guidelines.svg)](https://github.com/tether/contribution-guide)\n\nCreate and authenticate [manner](https://github.com/tether/manner) service using JWT authentication bearer. \n\n## Usage\n\n```js\nconst http = require('http')\nconst service = require('manner-jwt')\n\n// check authorization header and verify bearer token\nhttp.createServer((req, res) =\u003e {\n  service({\n    get: () =\u003e 'hello world!'\n  })(req, res).pipe(res)\n})\n```\n\nBy default, this module will look for the `JWT_SECRET` environment variable but it is possible to pass as second argument the token secret.\n\n## Installation\n\n```shell\nnpm install manner-jwt --save\n```\n\n[![NPM](https://nodei.co/npm/manner-jwt.png)](https://nodei.co/npm/manner-jwt/)\n\n\n## Question\n\nFor support, bug reports and or feature requests please make sure to read our\n\u003ca href=\"https://github.com/tether/contribution-guide/blob/master/community.md\" target=\"_blank\"\u003ecommunity guidelines\u003c/a\u003e and use the issue list of this repo and make sure it's not present yet in our reporting checklist.\n\n## Contribution\n\nThe open source community is very important to us. If you want to participate to this repository, please make sure to read our \u003ca href=\"https://github.com/tether/contribution-guide\" target=\"_blank\"\u003eguidelines\u003c/a\u003e before making any pull request. If you have any related project, please let everyone know in our wiki.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2017 Tether Inc\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftether%2Fmanner-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftether%2Fmanner-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftether%2Fmanner-jwt/lists"}