1.0.0 • Published 4 years ago
hyper-func v1.0.0
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'}
}
1.0.0
4 years ago