@funfunz/json-data-connector
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

Funfunz JSON Data Connector

Discord Build Status codecov node npm version PRs Welcome GitHub

Features

This connector use a JSON file for each entity to storage its entries.

Configuration

  • folderPath: absolute path of the folder where this connector should read/write JSON files

Example

const config = {
  connectors: {
    mainDatabase: {
      type: '@funfunz/json-data-connector',
      config: {
        folderPath: path.join(__dirname, 'storage') 
      },
    }
  }
}
const funfunz = new Funfunz({ config, ... })

Package Sidebar

Install

npm i @funfunz/json-data-connector

Weekly Downloads

4

Version

1.2.0

License

MIT

Unpacked Size

28 kB

Total Files

19

Last publish

Collaborators

  • jwebcoder
  • joaogsleite