0.0.1 • Published 6 years ago

menhera-glob v0.0.1

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

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;
        },
      ],
    },
  },
});