# @sidetree/cas-ipfs

This package contains several implementations of [Content Addressable Storage](https://en.wikipedia.org/wiki/Content-addressable_storage) used in Sidetree.

It contains:
- `IpfsCas`: A CAS interface for IPFS
- `IpfsCasWithCache`: An efficient CAS interface that uses IPFS and a cache for faster read

## Usage

```
npm install --save @sidetree/cas-ipfs
```

## Development

```
npm install
npm run test
```
