0.0.1 • Published 6 years ago
menhera-glob v0.0.1
Install
$ yarn menhera menhera-glob
Example
import Mhr from 'menhera';
import glob from 'menhera-glob';
Mhr.$use({
_mount: {glob},
glob: {
'*.md': {
opts: {},
exec({_val}) {
console.log(_val);
},
execs: [({_val}) => console.log(_val)],
execPipe: [
ctx => {
console.log(ctx._val);
return ctx;
},
ctx => {
console.log(ctx._val);
return ctx;
},
],
},
},
});
0.0.1
6 years ago