@orbit/immutable
Version:
Lightweight immutable library used by Orbit.js.
65 lines (40 loc) • 849 B
Markdown
# @orbit/immutable
A lightweight library of immutable data structures, including:
- `ImmutableMap`
- More to come?
Internally, this library relies upon a modernized version of Matt Bierner's
[HAMT](https://github.com/mattbierner/hamt).
### Installation
Install with yarn:
```
yarn add @orbit/immutable
```
Or with npm:
```
npm install @orbit/immutable
```
## Contributing
### Installation
To install dependencies:
```
yarn install
```
### Building
Distributions can be built to the `/dist` directory by running:
```
yarn build
```
### Testing
#### CI Testing
Test in CI mode by running:
```
yarn test
```
#### Browser Testing
Test within a browser
(at [http://localhost:8080/](http://localhost:8080/)) by running:
```
yarn start
```
## License
Copyright 2014-2021 Cerebris Corporation. MIT License (see LICENSE for details).