@xmtp/fs-persistence
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Node FS Persistence

A simple implementation of XMTP Persistence interface using the file system

Usage

import { FsPersistence } from "@xmtp/fs-persistence"
import { Client } from "@xmtp/xmtp-js"

const client = await Client.create(someWallet, {
  // Specify the base folder to store your files
  basePersistence: new FsPersistence("/tmp/xmtp"),
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    35
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    35
  • 0.0.3
    0
  • 0.0.2
    0

Package Sidebar

Install

npm i @xmtp/fs-persistence

Weekly Downloads

35

Version

0.0.4

License

MIT

Unpacked Size

39 kB

Total Files

12

Last publish

Collaborators

  • alexxmtp
  • fabriguespe
  • nplasterer-xmtp
  • saul-xmtp
  • nick-xmtp
  • xmtp-eng-robot
  • galligan