@slay-pics/slay-q-rpc
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

@slay-pics/slay-q-rpc

npm version npm downloads bundle Codecov

Driver for slay-q-ingest RPC server. See Slay Q for more info.

Read the Docs

Usage

Install package:

# npm
npm install @slay-pics/slay-q @slay-pics/slay-q-rpc

# yarn
yarn add @slay-pics/slay-q @slay-pics/slay-q-rpc

# pnpm
pnpm install @slay-pics/slay-q @slay-pics/slay-q-rpc

# bun
bun install @slay-pics/slay-q @slay-pics/slay-q-rpc

Environment Variables

You can configure the driver by passing in options to the constructor, or alternatively you can specify the following environment variables:

  • SLAY_Q_WORKER_SECRET - Shared secret used to validate RPC requests
  • SLAY_Q_INGEST_ENDPOINT - URL to the slay-q ingest endpoint

Note that constructor options take precedents.

License

Published under MIT License.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.1
    22
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.1
    22
  • 0.3.0
    1
  • 0.2.1
    1
  • 0.2.0
    0

Package Sidebar

Install

npm i @slay-pics/slay-q-rpc

Weekly Downloads

24

Version

0.3.1

License

MIT

Unpacked Size

13.3 kB

Total Files

8

Last publish

Collaborators

  • slaypics