ipfs-in-memory-repo

0.1.0 • Public • Published

js-ipfs-in-memory-repo

A small utility library to create an offline, all in-memory IPFS repo in Javascript.

The returned ipfs object should be compatible with the core JS IPFS API, for FILES, DAG, and OBJECT Apis, and possibly others.

import { createInMemoryIPFS } from "ipfs-in-memory-repo";

...

const ipfs = await createInMemoryIPFS();

An optional name can be passed to createInMemoryIPFS(), which will be used to prevent duplicate repos with same name. By default, a random name is chosen.

Readme

Keywords

none

Package Sidebar

Install

npm i ipfs-in-memory-repo

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

3.46 kB

Total Files

4

Last publish

Collaborators

  • ikreymer