Javascript Client Library
jayhack opened this issue · comments
First check
- I added a descriptive title to this issue.
- I used the GitHub search to find a similar request and didn't find it.
- I searched the Prefect documentation for this feature.
Prefect Version
2.x
Describe the current behavior
The Prefect dashboard interacts with the system from Javascript. There is also a REST API. There isn't a well documented Javascript client, though.
Describe the proposed behavior
A Typescript client with well defined data structures would greatly aid in integrating Prefect with Javascript back-ends (NodeJS, Deno) as well as web front-ends. This is a missing piece for integrating Prefect into stacks that are not just Python-based and would also ease integration in the browser.
Example Use
No response
Additional context
It is very common to have a NodeJS back-end on a web application. The ability to launch and synchronize jobs between the Javascript back-end and the Python runtime would be a huge help when coordinating jobs across the stack.