Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 464 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 464 Bytes

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);