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

reverse-iterable-array

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reverse-iterable-array - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

5

package.json
{
"name": "reverse-iterable-array",
"version": "1.1.0",
"version": "1.1.1",
"description": "A reverse-iterable array implementation based on the built-in Array object",

@@ -20,3 +20,4 @@ "main": "./src/reverse-iterable-array",

"reverse-iterable",
"iterable-iterator"
"iterable",
"iterator"
],

@@ -23,0 +24,0 @@ "author": {

26

README.md
# reverse-iterable-array
A reverse-iterable array implementation based on the built-in [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) object.
The `ReverseIterableArray` object is a reverse-iterable array implementation based on the built-in [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) object.
Links:
- [**npmjs.com**/package/reverse-iterable-array](https://www.npmjs.com/package/reverse-iterable-array)
- [**github.com**/kleinfreund/reverse-iterable-array](https://github.com/kleinfreund/reverse-iterable-array)
- [kleinfreund.github.io/reverse-iterable-array](https://kleinfreund.github.io/reverse-iterable-array)
See also:
- `ReverseIterableMap`: [reverse-iterable-map](https://www.npmjs.com/package/reverse-iterable-map)
- `ReverseIterableSet`: [reverse-iterable-set](https://www.npmjs.com/package/reverse-iterable-set)
## Table of Contents

@@ -97,11 +108,16 @@

```js
const array = new ReverseIterableArray();
```
##### `Array`
```js
const array = new ReverseIterableArray([1, 2, 3]);
```
for (const value of array.reverseIterator()) {
console.log(value);
}
##### `NodeList`
[...array.reverseIterator()]
```js
const array = new ReverseIterableArray(...document.querySelectorAll('div'));
```

@@ -108,0 +124,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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