@startier/ohrid-local-driver
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@startier/ohrid-local-driver

A driver for @startier/ohrid that executes methods locally.

[!WARNING]
This driver doesn't have any RPC or transport protocols associated with it. It should only be used for testing.

Usage

Install the package using npm (or anything compatible):

npm install @startier/ohrid-local-driver

Add the driver to services.json.

Global

{
  "driver": "@startier/ohrid-local-driver"
}

Service-specific

{
  "services": {
    "example": {
      "driver": "@startier/ohrid-local-driver",
      "settings": {}
    }
  }
}

Settings

{
    executeRemoteCalls?: boolean
}

executeRemoteCalls

When set to true remote calls are executed as if they were local instead of throwing an exception.

Readme

Keywords

none

Package Sidebar

Install

npm i @startier/ohrid-local-driver

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

17.1 kB

Total Files

9

Last publish

Collaborators

  • simeonmarkoski
  • mojsoski