Skip to main content

Getting Started

CodeSandbox

This documentation site makes a lot of use of CodeSandbox TypeScript examples, where you can use the Rimbu library live in a browser environment. Try it out to quickly browse through many examples:

Open file below in new window with full type-check

Installation

Yarn/NPM/Bun/Deno

To install the library in your own project:

npm install @rimbu/core

or

yarn add @rimbu/core

or

bun add @rimbu/core

or

deno add npm:@rimbu/core

Import into and use immutable goodness in your code:

import { List, Stream } from '@rimbu/core';

const list = List.from(Stream.range({ start: 2, amount: 64 }));
console.log(list.toString());