0.4.4 • Published 8 months ago

@tigojs/cfs v0.4.4

Weekly downloads
1
License
MIT
Repository
github
Last release
8 months ago

@tigojs/cfs

Provide configuration files storage for tigo.

Usage

Install this plugin with @tigojs/cli:

tigo add cfs

The storage service can store .json, .xml and .yaml files, all the files in the storage can be edited from the online editor in tigo-panel.

Configuration

Here's a template:

// .tigorc.js
module.exports = {
  plugins: {
    cfs: {
      package: '@tigojs/cfs',
      config: {
        sqlEngine: '',  // SQL engine name (string), if remains empty or not set, plugin will use the first available one.
        kvEngine: '',  // KV engine name, if remains empty or not set, plugin will use the first available one.
        kvConfig: {
          storagePath: '',  // storage path for kv engine (local)
          connect: {},  // connection info for kv engine (network)
        },  // Configuration object that will be passed to KV engine
        cache: {
          max: 500,  // max items in lru cache
          maxAge: 60 * 60 * 1000,  // max age in lru cache
        },
      },
    },
  },
};

License

MIT

0.4.4

8 months ago

0.4.3

8 months ago

0.4.1

4 years ago

0.3.6

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.3.5

4 years ago

0.2.6

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.4

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.1

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.1.14

4 years ago

0.1.12

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.8

4 years ago

0.1.9

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.0

4 years ago