indexed-object
NOTE:
indexed-object
has been deprecated in favor of@esfx/indexed-object
. Please update your references.
The indexed-object
package provides a base class that allows for the definition of objects
that support integer indexes similar to native Arrays and Typed Arrays.
The underlying implementation uses a Proxy
to trap integer indexes in a fashion similar to
the Integer-Indexed Exotic Object
in the ECMAScript specification.
Installation
npm i indexed-object
Usage
; ;console.logbooleans; // falseconsole.logbooleans; // true