node-structures
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "node-structures", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Albert Hambardzumyan", |
@@ -110,4 +110,4 @@ # node-structures | ||
```` javascript | ||
const LikedList = require('node-structures').LikedList; | ||
let likedList = new LikedList(); | ||
const LinkedList = require('node-structures').LinkedList; | ||
let linkedList = new LinkedList(); | ||
@@ -118,3 +118,3 @@ /** | ||
*/ | ||
likedList.isEmpty(); | ||
linkedList.isEmpty(); | ||
@@ -125,3 +125,3 @@ /** | ||
*/ | ||
likedList.addFirst("A"); | ||
linkedList.addFirst("A"); | ||
@@ -132,3 +132,3 @@ /** | ||
*/ | ||
likedList.addLast("B"); | ||
linkedList.addLast("B"); | ||
@@ -143,3 +143,3 @@ /** | ||
*/ | ||
likedList.add(1, "C"); | ||
linkedList.add(1, "C"); | ||
@@ -154,3 +154,3 @@ /** | ||
*/ | ||
likedList.remove(2); | ||
linkedList.remove(2); | ||
@@ -163,3 +163,3 @@ /** | ||
*/ | ||
likedList.get(1); | ||
linkedList.get(1); | ||
@@ -170,3 +170,3 @@ /** | ||
*/ | ||
likedList.size(); | ||
linkedList.size(); | ||
@@ -176,3 +176,3 @@ /** | ||
*/ | ||
likedList.clear(); | ||
linkedList.clear(); | ||
```` | ||
@@ -179,0 +179,0 @@ |
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
25228