immutable-array.of
v0.1.0
Published
creates an object that represents a immutable array data structure
Downloads
5
Readme
immutable-array.of
immutable-array.of
exports a function that creates a plain object useful for immutable array operations like
immutable-array.push immutable-array.every immutable-array.reduce immutable-array.findIndexFrom
Install
$ npm install immutable-array.of --save
Usage
const of = require('immutable-array.of')
of([1, 2, 3, 4, 5]) {array: [1, 2, 3, 4, 5], length: 5}
Support
- Node.js >=6
- ES2015 transpilers
License
MIT