vmx / ipld-in-memory

🧠 IPLD in your RAM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ipld-in-memory

Build Status dependencies Status JavaScript Style Guide

IPLD in your RAM

This is the util to create an in memory IPLD instance that the ipld module used to export but as a separate module.

Install

npm install ipld-in-memory

Usage

const IPLD = require('ipld')
const inMemory = require('ipld-in-memory')

const ipld = await inMemory(IPLD)
// ipld is an instance of IPLD (https://www.npmjs.com/package/ipld) configured
// to use an in memory repo for storage!
})

Contribute

Feel free to dive in! Open an issue or submit PRs.

License

MIT © Protocol Labs, Inc.

About

🧠 IPLD in your RAM

License:MIT License


Languages

Language:JavaScript 100.0%