@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"),
})

/@xmtp/fs-persistence/

    Package Sidebar

    Install

    npm i @xmtp/fs-persistence

    Weekly Downloads

    46

    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