Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DJGoril27/script.db-io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 script.db-io

script.db-io is a simple JavaScript library for IPFS DAG storage. This library allows you to write data to IPFS and read data from IPFS. Additionally, it supports various data formats and codecs.

✨ Features

  • Provides easy-to-use interface for IPFS DAG storage.
  • Supports conversion between JSON, protobuf, and other formats.
  • Manages IPFS CIDs.
  • Utilizes the latest versions of multiformats.

🚀 Installation

To install project dependencies:

npm install

🛠️ Usage

import { read, write } from 'script.db-io'

// Create IPFS connection
const ipfs = ...

// Write data
const data = { key: 'value' }
const cid = await write(ipfs, 'dag-cbor', data)

// Read data
const readData = await read(ipfs, cid)
console.log(readData)

🧪 Testing

You can run tests using the npm test command.

📜 License

This project is licensed under the MIT License.

🤝 Contribution

Contributions are welcome! Please report suggestions or issues on GitHub Issues. You can also contribute by opening a pull request.

📧 Contact

If you have any questions or want to get in touch, feel free to reach us via email.


Developed by Cartel & Papaz Chavo

About

ScriptDB-io MakeFile based Database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors