{"id":18318388,"url":"https://github.com/tether/manner-options","last_synced_at":"2025-04-09T13:54:08.558Z","repository":{"id":73071245,"uuid":"117480365","full_name":"tether/manner-options","owner":"tether","description":"Generate the communication options for a manner resource","archived":false,"fork":false,"pushed_at":"2018-01-15T01:53:04.000Z","size":9,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T18:17:50.375Z","etag":null,"topics":["http","manner","options"],"latest_commit_sha":null,"homepage":"","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":"2018-01-15T00:57:13.000Z","updated_at":"2018-01-15T01:47:54.000Z","dependencies_parsed_at":"2023-07-11T14:35:28.727Z","dependency_job_id":null,"html_url":"https://github.com/tether/manner-options","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"98b57615ff5bc1354473f36245aab303407ffd0b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tether%2Fmanner-options","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tether%2Fmanner-options/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tether%2Fmanner-options/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tether%2Fmanner-options/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tether","download_url":"https://codeload.github.com/tether/manner-options/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","manner","options"],"created_at":"2024-11-05T18:09:19.307Z","updated_at":"2025-04-09T13:54:08.535Z","avatar_url":"https://github.com/tether.png","language":"JavaScript","readme":"# Manner-Options\n\n[![Build Status](https://travis-ci.org/tether/manner-options.svg?branch=master)](https://travis-ci.org/tether/manner-options)\n[![NPM](https://img.shields.io/npm/v/manner-options.svg)](https://www.npmjs.com/package/manner-options)\n[![Downloads](https://img.shields.io/npm/dm/manner-options.svg)](http://npm-stat.com/charts.html?package=manner-options)\n[![guidelines](https://tether.github.io/contribution-guide/badge-guidelines.svg)](https://github.com/tether/contribution-guide)\n\n\nGenerate the communication options for a target resource. Core module of the [manner](https://github.com/tether/manner) framework.\n\n## Usage\n\nThe following example generates OPTIONS for every HTTP resource (GET /, GET /:name and POST /) and describe the communication options for each of them.\n\n```js\nconst options = require('manner-options')\n\nconst service = options({\n  get: {\n    '/': () =\u003e {},\n    '/:name': () =\u003e {}\n  },\n  post: () =\u003e {}\n})\n```\n\n## Installation\n\n```shell\nnpm install manner-options --save\n```\n\n[![NPM](https://nodei.co/npm/manner-options.png)](https://nodei.co/npm/manner-options/)\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-options","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftether%2Fmanner-options","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftether%2Fmanner-options/lists"}