hexi-auth

An auth extension for hexi

Usage no npm install needed!

<script type="module">
  import hexiAuth from 'https://cdn.skypack.dev/hexi-auth';
</script>

README

hexi-auth

An auth extension for hexi

Dependency Status Build Status npm version Coverage Status

Installation

npm install --save hexi-auth

Usage

const server = hexi()

server.register([
  {
    register: require('hexi-auth'),
  },
])
.then(() => {
  server.auth((req, res, next) => {
    
  })
})

License

MIT © Zoltan Kochan