Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 324 Bytes

readme.md

File metadata and controls

22 lines (17 loc) · 324 Bytes

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