README
binjai
Install
npm i binjai
Usage
import { List } from "binjai/collection/List";
List([1, 2, 3, 4])
.filter(e => e % 2 === 0)
.flatMap(n => List([n, n + 1])
.toArray(true);
Typescript collections and more to come..
<script type="module">
import binjai from 'https://cdn.skypack.dev/binjai';
</script>
npm i binjai
import { List } from "binjai/collection/List";
List([1, 2, 3, 4])
.filter(e => e % 2 === 0)
.flatMap(n => List([n, n + 1])
.toArray(true);