• Joined on 2024-08-09

@sek1ro/iterables (0.2.1)

Published 2025-07-25 15:24:33 +03:00 by sek1ro

Installation

@sek1ro:registry=
npm install @sek1ro/iterables@0.2.1
"@sek1ro/iterables": "0.2.1"

About this package

iterables-js

A data structures library based on iterators, inspired by libstdc++

Operators

Operator Naming
+= add
-= sub
++obj inc
--obj dec
*= mul
/= div
%= mod
== eq
!= neq
< a.cmp(b) < 0
> a.cmp(b) > 0
<= a.cmp(b) <= 0
>= a.cmp(b) >= 0
&& and
= const & copy
= && move
*obj deref
&obj ref
obj[] get
obj[]=smth set
|| or
! not
& band
| bor
^ bxor
~ bnot
<< shl
>> shr
() call
, comma
obj++ X
obj-- X
-> X
+ X
- X
* X
/ X
% X
&= X
|= X
^= X
<<= X
>>= X

Dependencies

Development Dependencies

ID Version
@vitest/coverage-v8 ^3.1.1
rollup ^4.45.1
rollup-plugin-dts ^6.2.1
vitest ^3.1.1
Details
npm
2025-07-25 15:24:33 +03:00
1
Vlad Litvinov
LGPL-3.0-only
latest
6.3 KiB
Assets (1)
Versions (7) View all
0.2.1 2025-07-25
0.2.0 2025-07-23
0.1.4 2025-07-22
0.1.3 2025-07-17
0.1.2 2025-06-09