hyper-func

1.0.0 • Public • Published

Installation

npm install hyper-func

Examples / How to use

const hyper = require('hyper-func');

let branches = {
    n: 'one',
    color: ['white', 'yellow'],
    type: ['dog', 'cat'],
}

hyper(branches, function callback(name,param) {
    //This Callback gonna be called 4 times with params:
    //'one white dog', {n:'one',color:'white',type:'dog'}
    //'one yellow dog', {n:'one',color:'yellow',type:'dog'}
    //'one white cat', {n:'one',color:'white',type:'cat'}
    //'one yellow cat', {n:'one',color:'yellow',type:'cat'}
}

Readme

Keywords

none

Package Sidebar

Install

npm i hyper-func

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.32 kB

Total Files

6

Last publish

Collaborators

  • goolyuyi