Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@adonisjs/static

adonisjs40.9kMIT1.1.1TypeScript support: included

Static file server for AdonisJS

static, adonisjs, static-middleware, static-file-server

readme

@adonisjs/static


gh-workflow-image npm-image license-image

Introduction

Middleware to serve static files from a given directory of your AdonisJS apps

Official Documentation

The documentation is available on the AdonisJS website

Contributing

One of the primary goals of AdonisJS is to have a vibrant community of users and contributors who believes in the principles of the framework.

We encourage you to read the contribution guide before contributing to the framework.

Code of Conduct

In order to ensure that the AdonisJS community is welcoming to all, please review and abide by the Code of Conduct.

License

AdonisJS static files middleware is open-sourced software licensed under the MIT license.