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

0.5.1 • 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

78

Version

0.5.1

License

BUSL-1.1

Unpacked Size

397 kB

Total Files

200

Last publish

Collaborators

  • rampey
  • eshaan7
  • aashutoshrathi
  • kkautuk