@slack-wrench/bolt-storage-file
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

Bolt File Storage

Bolt conversation store that uses your file system as a database.

This package is intended to be used in development to retain conversation state through restarts of your app.

Install

# Yarn
yarn add --dev @slack-wrench/bolt-storage-file

# npm
npm install --save-dev @slack-wrench/bolt-storage-file

Usage

import { App } from '@slack/bolt';
import FileStore from '@slack-wrench/bolt-storage-file';

const app = new App({ convoStore: new FileStore() });

Configuration

You can also pass a path for where you'd like the database to be stored in your file system.

new FileStore('/path/to/db');

Readme

Keywords

none

Package Sidebar

Install

npm i @slack-wrench/bolt-storage-file

Weekly Downloads

15

Version

1.3.0

License

Apache-2.0

Unpacked Size

370 kB

Total Files

12

Last publish

Collaborators

  • directctrl
  • barlock