1.0.1 • Published 8 years ago

aop-s v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

AOPnpm version

AOP in JavaScript

Install

Install with npm

$ npm install aop-s --save

###Usage

  • register advice
var AOP = require('aop-s');
AOP.before('func',function(args){});
AOP.after(/^func/,function(args){})
AOP.around(/^func/,function(args){},function(ret,args){})
  • execution
func.exec(args);
1.0.1

8 years ago

1.0.0

8 years ago