{"id":13787139,"url":"https://github.com/adonisjs/adonis-middleware","last_synced_at":"2025-05-12T00:30:43.172Z","repository":{"id":57173574,"uuid":"49374459","full_name":"adonisjs/adonis-middleware","owner":"adonisjs","description":"List of official middleware for adonis framework","archived":true,"fork":false,"pushed_at":"2018-02-20T18:50:16.000Z","size":66,"stargazers_count":11,"open_issues_count":1,"forks_count":6,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2025-04-18T12:18:51.738Z","etag":null,"topics":[],"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/adonisjs.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-10T16:16:28.000Z","updated_at":"2024-08-31T23:47:22.000Z","dependencies_parsed_at":"2022-08-24T14:40:44.643Z","dependency_job_id":null,"html_url":"https://github.com/adonisjs/adonis-middleware","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fadonis-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fadonis-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fadonis-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fadonis-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adonisjs","download_url":"https://codeload.github.com/adonisjs/adonis-middleware/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253655761,"owners_count":21943068,"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":[],"created_at":"2024-08-03T20:00:29.856Z","updated_at":"2025-05-12T00:30:42.872Z","avatar_url":"https://github.com/adonisjs.png","language":"JavaScript","funding_links":[],"categories":["Utilities"],"sub_categories":[],"readme":"# Adonis Middleware\n\n[![Gitter](https://img.shields.io/badge/+%20GITTER-JOIN%20CHAT%20%E2%86%92-1DCE73.svg?style=flat-square)](https://gitter.im/adonisjs/adonis-framework)\n[![Trello](https://img.shields.io/badge/TRELLO-%E2%86%92-89609E.svg?style=flat-square)](https://trello.com/b/yzpqCgdl/adonis-for-humans)\n[![Version](https://img.shields.io/npm/v/adonis-middleware.svg?style=flat-square)](https://www.npmjs.com/package/adonis-middleware)\n[![Build Status](https://img.shields.io/travis/adonisjs/adonis-middleware/master.svg?style=flat-square)](https://travis-ci.org/adonisjs/adonis-middleware)\n[![Coverage Status](https://img.shields.io/coveralls/adonisjs/adonis-middleware/master.svg?style=flat-square)](https://coveralls.io/github/adonisjs/adonis-middleware?branch=master)\n[![Downloads](https://img.shields.io/npm/dt/adonis-middleware.svg?style=flat-square)](https://www.npmjs.com/package/adonis-middleware)\n[![License](https://img.shields.io/npm/l/adonis-framework.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n\n\u003e :pray: This repository contains official list of middleware to keep your adonis application rock solid :evergreen_tree:\n\nAdonis frameworks ships with a bunch of middleware for commonly required tasks.\n\n## List\n\n- [Body Parser](http://adonisjs.com/docs/request)\n- [Cors](http://adonisjs.com/docs/cors)\n- [Flash](http://adonisjs.com/docs/sessions#flash-messages)\n- [Shield](http://adonisjs.com/docs/shield)\n\nYou can learn more about AdonisJS and all of its awesomeness on http://adonisjs.com :evergreen_tree:\n\n## Table of Contents\n\n* [Team Members](#team-members)\n* [Requirements](#requirements)\n* [Getting Started](#getting-started)\n* [Contribution Guidelines](#contribution-guidelines)\n\n## \u003ca name=\"team-members\"\u003e\u003c/a\u003eTeam Members\n\n* Harminder Virk ([Caffiene Blogging](http://amanvirk.me/)) \u003cvirk.officials@gmail.com\u003e\n\n## \u003ca name=\"requirements\"\u003e\u003c/a\u003eRequirements\n\nAdonisJS is build on the top of ES2015, which makes the code more enjoyable and cleaner to read. It doesn't make use of any transpiler and depends upon Core V8 implemented features.\n\nFor these reasons, AdonisJS require you to use `node \u003e= 4.0` and `npm \u003e= 3.0`.\n\n## \u003ca name=\"getting-started\"\u003e\u003c/a\u003eGetting Started\n\n```bash\nnpm i --save adonis-middleware\n```\n\nAdd middleware provider to the list of providers inside `bootstrap/app.js` file.\n\n```javascript\nconst providers = [\n  'adonis-middleware/providers/AppMiddlewareProvider'\n]\n```\n\n## \u003ca name=\"contribution-guidelines\"\u003e\u003c/a\u003eContribution Guidelines\n\nIn favor of active development we accept contributions for everyone. You can contribute by submitting a bug, creating pull requests or even improving documentation.\n\nYou can find a complete guide to be followed strictly before submitting your pull requests in the [Official Documentation](http://adonisjs.com/docs/2.0/contributing).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadonisjs%2Fadonis-middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadonisjs%2Fadonis-middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadonisjs%2Fadonis-middleware/lists"}