skott-webapp
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

skott web application

This is the web application project embedded by skott to be used when --displayMode=webapp when using the CLI.

Note that this web application can be used without skott and is published as a standalone library on npm.

The application needs 3 endpoints to correctly work:

  • /api/analysis: endpoint returning SkottStructureWithMetadata payload. See src/skott.ts

  • /api/cycles: endpoint returning { cycles: string[][] } payload. See src/skott.ts

  • /api/subscribe: endpoint that provides Server-Sent Events support to hot refresh the application whenever an event is received.

Readme

Keywords

none

Package Sidebar

Install

npm i skott-webapp

Weekly Downloads

18,465

Version

2.1.1

License

MIT

Unpacked Size

1.66 MB

Total Files

21

Last publish

Collaborators

  • antoine-coulon