travel/admin/node_modules/omelette/example/hello

24 lines
371 B
JavaScript

#!/usr/bin/env node
const omelette = require('../');
omelette('hello').tree({
how: {
much: {
is: {
this: ['car'],
that: ['house'],
}
},
are: ['you'],
many: ['cars', 'houses'],
},
where: {
are: {
you: ['from'],
the: ['houses', 'cars'],
},
is: {
your: ['house', 'car'],
},
},
}).init();