Skip to content

Latest commit

 

History

History

tree2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

$mol_tree2

Tools for working with Tree format

Import

const tree = $mol_tree2_from_string(`
	foo
		bar
		lol
	hello \\world
`)
const tree_json = $mol_tree2_from_json({ hello: [ 'world' ] })
const tree_xml = $mol_tree2_xml_from_dom( document.body )