@stackr/sdk
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

Stackr SDK [JS]

Workflow Coverage

Stackr Labs

The Stackr JavaScript core library contains all the modules required to setup and start building your applications as Micro-Rollups.

Documentation

Read the docs for details

Requirements

Node v16 or higher

Installation

Download and install the core module directly

npm i @stackr/sdk

Usage

Database configuration

  • For SQLite, you can use the following configuration and install the sqlite3 package

    "datastore": {
      "type": "sqlite",
      "uri": "path/to/db",
    }
  • For PostgreSQL, you can use the following configuration and install the pg package

    "datastore": {
      "type": "postgres",
      "uri": "postgresql://user:password@host:port/db",
    }

Package Sidebar

Install

npm i @stackr/sdk

Weekly Downloads

74

Version

0.6.0

License

BUSL-1.1

Unpacked Size

381 kB

Total Files

210

Last publish

Collaborators

  • aashutoshrathi
  • kkautuk