Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-structures

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-structures - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc