0.0.4 • Published 7 years ago
publish-decorator v0.0.4
Overview :
@publish is a decorator that makes classes or/and methods accessible globally . It is useful for debugging in the client-side (browser) and it is valuable also in server-side (Node.js).
Install
npm install publish-decorator --save;
Example :
import {publish} from 'publish-decorator';
@publish
class MyClass {
method1() {
}
@publish
method2(){
}
}
License:
MIT .