Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ seamless-immutable

Immutable JS data structures which are backwards-compatible with normal Arrays and Objects.

```sh
npm install seamless-immutable
```

Use them in `for` loops, pass them to functions expecting vanilla JavaScript data structures, etc.

```javascript
const Immutable = require('seamless-immutable')

var array = Immutable(["totally", "immutable", {hammer: "Can’t Touch This"}]);

array[1] = "I'm going to mutate you!"
Expand Down