@helia/strings

@helia/strings makes working with strings Helia simple & straightforward.

See the interface for all available operations.

Example

import { createHelia } from 'helia'
import { strings } from '@helia/strings'
import { CID } from 'multiformats/cid'

const str = strings(helia)
const cid = await str.put('hello world')
const string = await str.get(cid)

console.info(string)
// hello world

Index

Interfaces

Functions

Generated using TypeDoc