aop-s

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i aop-s

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • hingsir