🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@stackql/stackqljs

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stackql/stackqljs

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

latest
Source
npmnpm
Version
0.0.0-test-69cc407
Version published
Weekly downloads
38
245.45%
Maintainers
2
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 29 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts