{"versions":{"3.0.2":{"name":"@apidevtools/swagger-methods","version":"3.0.2","description":"HTTP methods that are supported by Swagger 2.0","keywords":["swagger","http","methods"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://github.com/APIDevTools/swagger-methods","main":"lib/index.js","scripts":{"clean":"shx rm -rf .nyc_output coverage","lint":"eslint lib test","test":"mocha && npm run lint","coverage":"nyc node_modules/mocha/bin/mocha","upgrade":"npm-check -u && npm audit fix","bump":"bump --tag --push --all","release":"npm run upgrade && npm run clean && npm test && npm run bump"},"repository":{"type":"git","url":"git+https://github.com/APIDevTools/swagger-methods.git"},"devDependencies":{"@jsdevtools/eslint-config":"^1.0.4","@jsdevtools/version-bump-prompt":"^6.0.6","chai":"^4.2.0","eslint":"^7.5.0","methods":"^1.1.2","mocha":"^8.0.1","npm-check":"^5.9.0","nyc":"^15.1.0","shx":"^0.3.2","swagger-schema-official":"2.0.0-bab6bed"},"dependencies":{},"gitHead":"0618494d842f2fb35de03158ed0950e4fdfc2acd","bugs":{"url":"https://github.com/APIDevTools/swagger-methods/issues"},"_id":"@apidevtools/swagger-methods@3.0.2","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"shasum":"b789a362e055b0340d04712eafe7027ddc1ac267","size":2905,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz"},"maintainers":[{"name":"anonymous","email":"james.messinger@gmail.com"},{"name":"anonymous","email":"j.ames.messinger@gmail.com"},{"name":"anonymous","email":"me@philsturgeon.uk"}],"_npmUser":{"name":"anonymous","email":"james.messinger@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-methods_3.0.2_1595154577195_0.784356963795418"},"_hasShrinkwrap":false,"publish_time":1595154577302,"_cnpm_publish_time":1595154577302,"contributors":[]},"3.0.1":{"name":"@apidevtools/swagger-methods","version":"3.0.1","description":"HTTP methods that are supported by Swagger 2.0","keywords":["swagger","http","methods"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://github.com/APIDevTools/swagger-methods","main":"lib/index.js","scripts":{"clean":"shx rm -rf .nyc_output coverage","lint":"eslint lib test","test":"mocha && npm run lint","coverage":"nyc node_modules/mocha/bin/mocha","upgrade":"npm-check -u && npm audit fix","bump":"bump --tag --push --all","release":"npm run upgrade && npm run clean && npm test && npm run bump"},"repository":{"type":"git","url":"git+https://github.com/APIDevTools/swagger-methods.git"},"devDependencies":{"@jsdevtools/eslint-config-modular":"^8.0.0","@jsdevtools/version-bump-prompt":"^6.0.2","chai":"^4.2.0","eslint":"^6.5.1","methods":"^1.1.2","mocha":"^7.1.0","npm-check":"^5.9.0","nyc":"^15.0.0","shx":"^0.3.2","swagger-schema-official":"2.0.0-bab6bed"},"dependencies":{},"gitHead":"ee70f88608483f382ba9b03e8fc2de9f02681cc4","bugs":{"url":"https://github.com/APIDevTools/swagger-methods/issues"},"_id":"@apidevtools/swagger-methods@3.0.1","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"shasum":"cf3b1c6b92f811d3f14d51645d277fb54ddd5211","size":2913,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@apidevtools/swagger-methods/-/swagger-methods-3.0.1.tgz"},"maintainers":[{"name":"anonymous","email":"james.messinger@gmail.com"},{"name":"anonymous","email":"j.ames.messinger@gmail.com"},{"name":"anonymous","email":"me@philsturgeon.uk"}],"_npmUser":{"name":"anonymous","email":"james.messinger@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-methods_3.0.1_1584283664956_0.5390781880086193"},"_hasShrinkwrap":false,"publish_time":1584283665088,"_cnpm_publish_time":1584283665088,"contributors":[]},"3.0.0":{"name":"@apidevtools/swagger-methods","version":"3.0.0","description":"HTTP methods that are supported by Swagger 2.0","keywords":["swagger","http","methods"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://github.com/APIDevTools/swagger-methods","main":"lib/index.js","scripts":{"clean":"shx rm -rf .nyc_output coverage","lint":"eslint lib test","test":"mocha && npm run lint","coverage":"nyc node_modules/mocha/bin/mocha","upgrade":"npm-check -u && npm audit fix","bump":"bump --tag --push --all","release":"npm run upgrade && npm run clean && npm test && npm run bump"},"repository":{"type":"git","url":"git+https://github.com/APIDevTools/swagger-methods.git"},"devDependencies":{"@jsdevtools/eslint-config-modular":"^8.0.0","@jsdevtools/version-bump-prompt":"^6.0.2","chai":"^4.2.0","eslint":"^6.5.1","methods":"^1.1.2","mocha":"^7.1.0","npm-check":"^5.9.0","nyc":"^15.0.0","shx":"^0.3.2","swagger-schema-official":"2.0.0-bab6bed"},"dependencies":{},"gitHead":"507b41b7fba57a8e6bef0230a1784d36dea01fa1","bugs":{"url":"https://github.com/APIDevTools/swagger-methods/issues"},"_id":"@apidevtools/swagger-methods@3.0.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"shasum":"90904b0ceab0dae795985a92917b3aac419f7114","size":2712,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@apidevtools/swagger-methods/-/swagger-methods-3.0.0.tgz"},"maintainers":[{"name":"anonymous","email":"james.messinger@gmail.com"},{"name":"anonymous","email":"j.ames.messinger@gmail.com"},{"name":"anonymous","email":"me@philsturgeon.uk"}],"_npmUser":{"name":"anonymous","email":"james.messinger@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-methods_3.0.0_1583839949833_0.11892756144749628"},"_hasShrinkwrap":false,"publish_time":1583839949934,"_cnpm_publish_time":1583839949934,"contributors":[]},"2.0.2":{"name":"@apidevtools/swagger-methods","version":"2.0.2","description":"HTTP methods that are supported by Swagger 2.0","keywords":["swagger","http","methods"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://github.com/APIDevTools/swagger-methods","main":"lib/index.js","scripts":{"clean":"shx rm -rf .nyc_output coverage","lint":"eslint lib test","test":"mocha && npm run lint","coverage":"nyc node_modules/mocha/bin/mocha","upgrade":"npm-check -u && npm audit fix","bump":"bump --tag --push --all","release":"npm run upgrade && npm run clean && npm test && npm run bump"},"repository":{"type":"git","url":"git+https://github.com/APIDevTools/swagger-methods.git"},"devDependencies":{"@jsdevtools/eslint-config-modular":"^8.0.0","@jsdevtools/version-bump-prompt":"^6.0.2","chai":"^4.2.0","eslint":"^6.5.1","methods":"^1.1.2","mocha":"^7.1.0","npm-check":"^5.9.0","nyc":"^15.0.0","shx":"^0.3.2","swagger-schema-official":"2.0.0-bab6bed"},"dependencies":{},"gitHead":"215487fd460d50debcecc0efd3624dc56963e0d8","bugs":{"url":"https://github.com/APIDevTools/swagger-methods/issues"},"_id":"@apidevtools/swagger-methods@2.0.2","_nodeVersion":"13.3.0","_npmVersion":"6.13.1","dist":{"shasum":"22bca6d3cbd202659a31a624b5214994c68592df","size":2715,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@apidevtools/swagger-methods/-/swagger-methods-2.0.2.tgz"},"maintainers":[{"name":"anonymous","email":"james.messinger@gmail.com"},{"name":"anonymous","email":"j.ames.messinger@gmail.com"},{"name":"anonymous","email":"me@philsturgeon.uk"}],"_npmUser":{"name":"anonymous","email":"james.messinger@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-methods_2.0.2_1583838221767_0.0854322523895723"},"_hasShrinkwrap":false,"publish_time":1583838221927,"_cnpm_publish_time":1583838221927,"contributors":[]}},"dist-tags":{"latest":"3.0.2"},"name":"@apidevtools/swagger-methods","time":{"modified":"2026-01-24T16:03:06.502Z","created":"2022-01-26T22:21:26.009Z","3.0.2":"2020-07-19T10:29:37.302Z","3.0.1":"2020-03-15T14:47:45.088Z","3.0.0":"2020-03-10T11:32:29.934Z","2.0.2":"2020-03-10T11:03:41.927Z"},"readme":"Swagger Methods\n============================\n#### HTTP methods that are supported by Swagger 2.0\n\n[![Cross-Platform Compatibility](https://apitools.dev/img/badges/os-badges.svg)](https://github.com/APIDevTools/swagger-methods/actions)\n[![Build Status](https://github.com/APIDevTools/swagger-methods/workflows/CI-CD/badge.svg)](https://github.com/APIDevTools/swagger-methods/actions)\n\n[![Coverage Status](https://coveralls.io/repos/github/APIDevTools/swagger-methods/badge.svg?branch=master)](https://coveralls.io/github/APIDevTools/swagger-methods?branch=master)\n[![Dependencies](https://david-dm.org/APIDevTools/swagger-methods.svg)](https://david-dm.org/APIDevTools/swagger-methods)\n\n[![npm](https://img.shields.io/npm/v/@apidevtools/swagger-methods.svg?branch=master)](https://www.npmjs.com/package/@apidevtools/swagger-methods)\n[![License](https://img.shields.io/npm/l/@apidevtools/swagger-methods.svg)](LICENSE)\n[![Buy us a tree](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-lightgreen)](https://plant.treeware.earth/APIDevTools/swagger-methods)\n\nThis is an array of lower-case HTTP method names that are supported by the [Swagger 2.0 spec](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md).\n\nThis module is [tested](test/index.spec.js) against the [Swagger 2.0 schema](https://www.npmjs.com/package/swagger-schema-official)\n\n\nInstallation\n--------------------------\nInstall using [npm](https://docs.npmjs.com/about-npm/):\n\n```bash\nnpm install @apidevtools/swagger-methods\n```\n\n\n\nUsage\n--------------------------\n\n```javascript\nvar methods = require('@apidevtools/swagger-methods');\n\nmethods.forEach(function(method) {\n  console.log(method);\n});\n\n// get\n// put\n// post\n// delete\n// options\n// head\n// patch\n```\n\n\n\nContributing\n--------------------------\nI welcome any contributions, enhancements, and bug-fixes.  [Open an issue](https://github.com/APIDevTools/swagger-methods/issues) on GitHub and [submit a pull request](https://github.com/APIDevTools/swagger-methods/pulls).\n\n#### Building/Testing\nTo build/test the project locally on your computer:\n\n1. **Clone this repo**<br>\n`git clone https://github.com/APIDevTools/swagger-methods.git`\n\n2. **Install dev dependencies**<br>\n`npm install`\n\n3. **Run the unit tests**<br>\n`npm test`\n\n\n\nLicense\n--------------------------\n[MIT license](LICENSE). Use it however you want.\n\nThis package is [Treeware](http://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/APIDevTools/swagger-methods) to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.\n\n\n\nBig Thanks To\n--------------------------\nThanks to these awesome companies for their support of Open Source developers ❤\n\n[![Travis CI](https://jstools.dev/img/badges/travis-ci.svg)](https://travis-ci.com)\n[![SauceLabs](https://jstools.dev/img/badges/sauce-labs.svg)](https://saucelabs.com)\n[![Coveralls](https://jstools.dev/img/badges/coveralls.svg)](https://coveralls.io)","users":{}}