This package has been deprecated

Author message:

move to @the-/mixin-controller ( https://github.com/the-labo/the/tree/master/packages/mixin-controller#readme )

the-controller-mixins

2.1.4 • Public • Published

the-controller-mixins

Build Status npm Version JS Standard

Mixins for the-controller

Installation

$ npm install the-controller-mixins --save

Usage

'use strict'
 
const {TheCtrl} = require('the-controller-base')
const {withAuthorized} = require('the-controller-mixins')
 
async function tryExample () {
  class MyCtrl extends withAuthorized(TheCtrl) {
    /* ... */
  }
}
 
tryExample().catch((err) => console.error(err))
 

API Guide

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i the-controller-mixins

Weekly Downloads

2

Version

2.1.4

License

MIT

Unpacked Size

141 kB

Total Files

67

Last publish

Collaborators

  • okunishinishi