@helia/strings makes working with strings Helia simple & straightforward.
@helia/strings
See the interface for all available operations.
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 Copy
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
Generated using TypeDoc
@helia/strings
makes working with strings Helia simple & straightforward.See the interface for all available operations.
Example