Socket
Socket
Sign inDemoInstall

tiq-db

Package Overview
Dependencies
9
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tiq-db

Database storage plugin for tiq


Version published
Maintainers
1
Install size
3.14 MB
Created

Readme

Source

tiq-db

This is a database storage plugin for tiq.

It uses the Knex library so it can be used to store tiq data in either SQLite, PostgreSQL or MySQL.

Setup

npm install -g tiq-db

Then, depending on the RDBMS you want to use, install one of the following:

npm install -g <sqlite3|pg|mysql>

Configuration

Here are the configuration options you can pass to this plugin:

  • client: The RDBMS client you chose. One of "sqlite3", "pg" or "mysql". [default: "sqlite3"]
  • connection.host: Host name or IP address to connect to. [default: "localhost"]
  • connection.user: Username used to connect to the host. [default: null]
  • connection.password: Password used to connect to the host. [default: null]
  • connection.database: Database name to use. [default: "tiq"]
  • connection.filename: The storage file to use. Only applicable to SQLite. [default: "$XDG_DATA_HOME/tiq/store.db"]

The options are passed as-is to Knex.initialize, so you can include additional options as needed.

License

MIT

Keywords

FAQs

Last updated on 19 May 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc