Skip to content

ikreymer/js-ipfs-in-memory-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Create an in-memory only js-ipfs repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published