0.0.0-test-69cc407 • Published 4 months ago

@stackql/stackqljs v0.0.0-test-69cc407

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

StackQL
GitHub Actions License

stackqljs

StackQL client library for Deno and Node.js that exposes all features StackQL.

Requirements

  • Written in TypeScript
  • Usable in Deno and Node.js (see pgwire for an example of a dual purpose package)
  • No dependencies
  • Works in server mode (as a pg wire protocol server client) as well as local mode where it is a wrapper for the stackql binary for the target platform
  • Exposes methods analagous to pystackql, including:
    • connect - connect to a StackQL server - if in server mode
    • upgrade - if in local mode, upgrade the local stackql binary from the latest release
    • execute - execute a query returns an array of rows (objects)
    • executeStmt - executes a statement and returns a string (like REGISTRY PULL or INSERT ...)
    • executeQueriesAsync - executes a list of queries and returns an array of rows (objects) - queries need to return the same columns/schema

Test

Requirement

deno task test <optional: test file path>

NPM Support

  • run deno run -A scripts/npm-build.ts
0.0.0-test-69cc407

4 months ago

0.0.0-test-aeb1c06

4 months ago

0.0.0-test-3fd9dc6

4 months ago

0.0.0-test-03b06b0

4 months ago

0.0.0-test-0083fd3

4 months ago

0.0.0-test-d34078e

4 months ago

0.0.0-test-cbf4347

4 months ago

0.0.0-test-806469d

4 months ago

0.0.0-test-df86ade

4 months ago

0.0.0-test-c45150d

4 months ago

0.0.0-test

5 months ago