xref: /third_party/node/deps/npm/node_modules/archy/examples/beep.js
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/deps/npm/node_modules/archy/examples/
11cb0ef41Sopenharmony_civar archy = require('../');
21cb0ef41Sopenharmony_civar s = archy({
31cb0ef41Sopenharmony_ci  label : 'beep',
41cb0ef41Sopenharmony_ci  nodes : [
51cb0ef41Sopenharmony_ci    'ity',
61cb0ef41Sopenharmony_ci    {
71cb0ef41Sopenharmony_ci      label : 'boop',
81cb0ef41Sopenharmony_ci      nodes : [
91cb0ef41Sopenharmony_ci        {
101cb0ef41Sopenharmony_ci          label : 'o_O',
111cb0ef41Sopenharmony_ci          nodes : [
121cb0ef41Sopenharmony_ci            {
131cb0ef41Sopenharmony_ci              label : 'oh',
141cb0ef41Sopenharmony_ci              nodes : [ 'hello', 'puny' ]
151cb0ef41Sopenharmony_ci            },
161cb0ef41Sopenharmony_ci            'human'
171cb0ef41Sopenharmony_ci          ]
181cb0ef41Sopenharmony_ci        },
191cb0ef41Sopenharmony_ci        'party\ntime!'
201cb0ef41Sopenharmony_ci      ]
211cb0ef41Sopenharmony_ci    }
221cb0ef41Sopenharmony_ci  ]
231cb0ef41Sopenharmony_ci});
241cb0ef41Sopenharmony_ciconsole.log(s);
25

Indexes created Thu Nov 07 10:32:03 CST 2024