Socket
Socket
Sign inDemoInstall

datastructskit

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "datastructskit",
"version": "1.0.0",
"version": "1.0.1",
"description": "DataStructuresJSKit is an easy-to-use package that adds essential data structures to your JavaScript code. With support for Typescript.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -5,3 +5,3 @@ # DataStructsKit

- [`linked lists`](#linkedlists)
- [`linked lists`](#linked-lists)

@@ -22,12 +22,4 @@ ### Installation

## Linked lists {#linkedlists}
## Linked lists
#### supported methods:
- [`add`](#linkedlist-add): Adds a new node to the end of the linked list.
- [`insert`](#linkedlist-insert): Inserts a new node at a specified position in the linked list.
- [`toArray`](#linkedlist-toarray): Returns an array of all the values in the linked list.
- [`has`](#linkedlist-has): Returns `true` if the specified value is found in the linked list, `false` otherwise.
- [`delete`](#linkedlist-delete): Deletes the node at the specified index in the linked list.
You can then create a new linked list by calling the `LinkedList` constructor:

@@ -49,3 +41,3 @@

##### `add` {#linkedlist-add}
##### `add`

@@ -58,3 +50,3 @@ The `add` method adds a new node to the end of the linked list.

##### `insert` {#linkedlist-insert}
##### `insert`

@@ -67,3 +59,3 @@ The `insert` method inserts a new node at a specified position in the linked list.

##### `toArray` {#linkedlist-toarray}
##### `toArray`

@@ -76,3 +68,3 @@ The `toArray` method returns an array of all the values in the linked list.

##### `has` {#linkedlist-has}
##### `has`

@@ -85,3 +77,3 @@ The `has` method returns `true` if the specified value is found in the linked list, `false` otherwise.

##### `delete` {#linkedlist-delete}
##### `delete`

@@ -88,0 +80,0 @@ The `delete` method deletes the node at the specified `index` in the linked list.

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc