tree-manipulator
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "tree-manipulator", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Tree object manipulator", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -59,3 +59,3 @@ # Tree Manipulator [![npm version](https://badge.fury.io/js/tree-manipulator.svg)](http://badge.fury.io/js/tree-manipulator) | ||
/* | ||
Inserts a new node after the node '4'. Returns a new node with identifier '8' and its path. | ||
Inserts a new node before the node '4'. Returns a new node with identifier '8' and its path. | ||
returns { | ||
@@ -69,3 +69,3 @@ node: {id:'8' ... }, | ||
/* | ||
Inserts a new node before the node '3'. Returns a new node with identifier '8'. | ||
Inserts a new node after the node '3'. Returns a new node with identifier '8' and its path. | ||
returns { | ||
@@ -79,3 +79,3 @@ node: {id:'8' ... }, | ||
/* | ||
Appends a new node as a last child of the node '2'. Returns a new node with identifier '8'. | ||
Appends a new node as a last child of the node '2'. Returns a new node with identifier '8' and its path. | ||
returns { | ||
@@ -82,0 +82,0 @@ node: {id:'8' ... }, |
8597