0.1.7 • Published 6 years ago

iterable-concat v0.1.7

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

iterable-concat

NOTE: iterable-concat was renamed to @extra-iterable/concat. NPM

Concatenate iterables, like Array.concat().

const concat = require('iterable-concat');
// concat(<iterable>...)
// -> <concatenated array>

concat([1, 2], [3, 4]);
// [1, 2, 3 ,4]
concat([1, 2], new Set().add(3).add(4));
// [1, 2, 3, 4]
concat(['a', 'b'], 'cd');
// ['a', 'b', 'c', 'd']
concat([['a', 1], ['b', 2]], new Map().set('c', 3).set('d', 4));
// [['a', 1], ['b', 2], ['c', 3], ['d', 4]]
0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago