0.0.0-beta-7 • Published 5 years ago
ngx-custom-decorators v0.0.0-beta-7
ngx-custom-decorators
Betta version not yet ready for production use. Any ideas for decorators would be appreciated :)
Targets
- Create set of framework agnostic decorators supported by JS and TS
- Set of TS dedicated decorators, mainly "method's params decorators"
- Create subset of specific framework based decorators
- Angular
- React
- Vue.Js
Get It
npm i ngx-custom-decorators -S
Use It
import { timer } from 'ngx-custom-decorators';
class MyClass{
constructor(...){...}
@timer('my message to see in logs')
someLongRunMethod(){
// ....//
}
@timer() // param is optional
someLongRunMethod(){
// ....//
}
}
Develop
git clone https://github.com/danduh/ngx-custom-decorators.git
cd ngx-custom-decorators
npm i
File structure:
Library
src/lib/
actual library of all decorators
ng build
will build the library
Demo
projects/demo/
demo app for use, test and examples
ng serve demo
will run demo app .
0.0.0-beta-7
5 years ago
0.0.0-beta-6
5 years ago
0.0.0-beta.2
5 years ago
0.0.0-beta-5
5 years ago
0.0.0-beta-4
5 years ago
0.0.0-beta-3
5 years ago
0.0.0-beta-2
5 years ago
0.0.0-beta-1
5 years ago