@routup/i18n

Translation and internationalization plugin for routup.


Keywords
i18n, translation, internationalization, language, bilingual, translate, framework, http, http-server, plugins, router, routing
License
MIT
Install
npm install @routup/i18n@2.0.0

Documentation

Routup banner

Plugins 🔌

npm version main codecov Known Vulnerabilities Conventional Commits

This repository contains plugins for the Routup ecosystem.

Table of Contents

Documentation

To read the docs, visit https://routup.net

Plugins

According to the fact that routup is a minimalistic framework, it depends on plugins to cover some typically http framework functions, which are not integrated in the main package.

Name Description
assets Serve static files from a directory.
basic Bundle of the body, cookie and query plugin.
body Read and parse the request body.
cookie Read and parse request cookies and serialize cookies for the response.
decorators Create request handlers with class-, method- & parameter-decorators.
i18n Provide translations for incoming requests.
prometheus Collect and serve metrics for prometheus.
query Read and parse the query string of the request url.
rate-limit Rate limit incoming requests.
rate-limit-redis Redis adapter for the rate-limit plugin.
swagger Serve generated docs from URL or based on a JSON file.

Contributing

Before starting to work on a pull request, it is important to review the guidelines for contributing and the code of conduct. These guidelines will help to ensure that contributions are made effectively and are accepted.

License

Made with 💚

Published under MIT License.