Bones/node_modules/archy/examples/beep.js

25 lines
387 B
JavaScript
Raw Normal View History

2017-05-17 13:45:25 -04:00
var archy = require('../');
var s = archy({
label : 'beep',
nodes : [
'ity',
{
label : 'boop',
nodes : [
{
label : 'o_O',
nodes : [
{
label : 'oh',
nodes : [ 'hello', 'puny' ]
},
'human'
]
},
'party\ntime!'
]
}
]
});
console.log(s);