flow-preview-service

0.0.2 • Public • Published

flow-preview-service

Service for creating flow preview screenshots

Installation

npm install flow-preview-service -g

Run

DEBUG=flow-preview-service:* flow-preview-service

API

stats

GET /

make preview

POST /process
Content-Type: application/json
Payload: { data: <SharedFlowData> }

success response

{
    "success": true,
    "result": {
        "type": "image/png",
        "base64": "data:image/png;base64,iVBORw0KGgoAAAA.."
    }
}

error response

{
    "success": false,
    "error": "Something went wrong"
}

Readme

Keywords

none

Package Sidebar

Install

npm i flow-preview-service

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • itoldya