parcoursup/node_modules/archy/examples/beep.js
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01:00

25 lines
387 B
JavaScript

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);