@discorddungeons/iqlclient
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

ImageServer-TS

Package for interacting with ImageServer, written in TypeScript

Installation

npm i --save @discorddungeons/iqlclient

Usage

Create a new client:

import { IQLClient } from 'iqlclient'

const client = new IQLClient("https://example.com")

Create and send a new query:

import { IQLClient, IQLQuery } from 'iqlclient'

const client = new IQLClient("https://example.com")

const query = new IQLQuery().loadImage("image-url", "imageName").returnImage("imageName")

client.send(query).then(image => {
	// Do stuff with the image blob
})

Readme

Keywords

none

Package Sidebar

Install

npm i @discorddungeons/iqlclient

Weekly Downloads

2

Version

1.0.1

License

EUPL-1.2-or-later

Unpacked Size

37.7 kB

Total Files

26

Last publish

Collaborators

  • mackan90096