Skip to content
Merged
Changes from 1 commit
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
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@
[![codecov](https://img.shields.io/codecov/c/github/ipfs/helia.svg?style=flat-square)](https://codecov.io/gh/ipfs/helia)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/helia/main.yml?branch=main\&style=flat-square)](https://github.com/ipfs/helia/actions/workflows/main.yml?query=branch%3Amain)

## Usage

```
import { createHelia } from 'helia';

const ipfs = await createHelia();

const myImmutableAddress = ipfs.add(JSON.stringify({ foo: "bar" }));

console.log(ipfs.get(myImmutableAddress));
```

## Table of contents <!-- omit in toc -->

- [🥅 Purpose and goals](#-purpose-and-goals)
Expand Down