debug-decorator

0.0.9 • Public • Published

debug-decorator Build Status

The decorator for debugging es6 classes.

npm install --save-dev debug-decorator

Babel

import debug from 'debug-decorator';
...

@debug
class Cat extends Animal {
}

Node.js:

const debug = require('debug-decorator');
...

class Cat extends Animal {
}
debug(Cat);

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i debug-decorator

    Weekly Downloads

    0

    Version

    0.0.9

    License

    ISC

    Last publish

    Collaborators

    • maxmaximov