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

sectioned-list

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sectioned-list - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "sectioned-list",
"version": "1.0.0",
"version": "1.0.1",
"description": "A linked list of arrays with predefined max lengths. Add to the list and items flow into sections.",

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

@@ -20,2 +20,4 @@ A linked list of arrays with predefined max lengths.

- `addItems(Array<any>)` Adds the items to the list by calling `addItem()` for each item in order.
- `sections` Get all sections in the list.
- `sectionedItems` Get an array of the items in the list in their section arrays. The returned value looks like this: `Array<Array<any>>`

@@ -22,0 +24,0 @@ See the tests (`tests/sectionedList_test.js`) to see how these methods are used.

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