PHP 8.2.30
Preview: multi_line.js Size: 414 B
/lib/node_modules/npm/node_modules/archy/examples/multi_line.js

var archy = require('../');

var s = archy({
  label : 'beep\none\ntwo',
  nodes : [
    'ity',
    {
      label : 'boop',
      nodes : [
        {
          label : 'o_O\nwheee',
          nodes : [
            {
              label : 'oh',
              nodes : [ 'hello', 'puny\nmeat' ]
            },
            'creature'
          ]
        },
        'party\ntime!'
      ]
    }
  ]
});
console.log(s);

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
387 B lrw-r--r-- 2021-03-10 14:36:39
Edit Download
414 B lrw-r--r-- 2021-03-10 14:36:39
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).