Skip to content

hoa-js/language

Repository files navigation

@hoajs/language

Language detector middleware for Hoa.

Installation

$ npm i @hoajs/language --save

Quick Start

import { Hoa } from 'hoa'
import { cookie } from '@hoajs/cookie'
import { language } from '@hoajs/language'

const app = new Hoa()
app.extend(cookie())
app.use(language())

export default app

Documentation

The documentation is available on hoa-js.com

Test (100% coverage)

$ npm test

License

MIT

About

Language middleware for Hoa.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •