
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
Simple array list implementation.
$ npm install array-list --save
var arrayList = require('array-list')
// with limit
var arr = arrayList(100)
// without limit
var arr = arrayList()
Type: integer
Specify the limit of the array. It's need to be a positive integer number.
Returns how many elements are stored in the array list.
This value is different from .length, that returns the size reserved for the array.
It adds a new element in the array list.
This methods could be throw an error if:
It gets the elements in the array list.
You can specify an index, in other case the methods will return all the elements.
It removes all the elements in the array list.
It returns a copy of the elements in array list.
An alias from concat .get + .clear.
Returns true is the .size is 0; false in other case.
Returns true is the .size is equal to limit; false in other case.
MIT © Kiko Beats.
FAQs
Simple array list implementation.
We found that array-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.