@datastructures-js/linked-list
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -9,2 +9,8 @@ # Changelog | ||
## [3.0.2] - 2021-01-02 | ||
### Fixed | ||
- readme | ||
## [3.0.1] - 2021-01-02 | ||
@@ -11,0 +17,0 @@ |
{ | ||
"name": "@datastructures-js/linked-list", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "a javascript implementation of LinkedList & DoublyLinkedList", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -60,7 +60,11 @@ # @datastrucures-js/linked-list | ||
const { | ||
LinkedListNode, | ||
LinkedList, | ||
DoublyLinkedListNode, | ||
DoublyLinkedList, | ||
} = require('@datastructures-js/linked-list'); | ||
// list node classes are also exported | ||
const { | ||
LinkedListNode, | ||
DoublyLinkedListNode | ||
} = require('@datastructures-js/linked-list'); | ||
``` | ||
@@ -71,7 +75,11 @@ | ||
import { | ||
LinkedListNode, | ||
LinkedList, | ||
DoublyLinkedListNode, | ||
DoublyLinkedList | ||
} from '@datastructures-js/linked-list'; | ||
// list node classes are also exported | ||
import { | ||
LinkedListNode, | ||
DoublyLinkedListNode | ||
} from '@datastructures-js/linked-list'; | ||
``` | ||
@@ -564,2 +572,15 @@ | ||
#### new LinkedListNode(value, next) | ||
<table> | ||
<tr><th>params</th></tr> | ||
<tr> | ||
<td> | ||
value: any | ||
<br /> | ||
next: LinkedListNode | ||
</td> | ||
</tr> | ||
</table> | ||
#### .setValue(value) | ||
@@ -600,2 +621,17 @@ sets the node's value. | ||
#### new DoublyLinkedListNode(value, prev, next) | ||
<table> | ||
<tr><th>params</th></tr> | ||
<tr> | ||
<td> | ||
value: any | ||
<br /> | ||
prev: DoublyLinkedListNode | ||
<br /> | ||
next: DoublyLinkedListNode | ||
</td> | ||
</tr> | ||
</table> | ||
#### .setValue(value) | ||
@@ -602,0 +638,0 @@ sets the node's value. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32719
688