javascript-tree-library This is treeview based on pure javascript Tree open/close state save into cookie. If you wanna use api, you can replace api. Not used any plugin or library. Thank you for reaching out. Hope that would be helpful