openspeedtest/Speed-Test

Feature Request: Provide core functionality as a library

NfNitLoop opened this issue · 1 comments

From the README it seems like your code is currently meant to be accessed by a web UI. But if it were packaged into an npm/jsr package, folks could use it server-side too. I'd love it if I could just call into a function to run the speed test with some parameters like:

  • Maximum time to test.
  • Things to test. (upload/download/etc.)

@NfNitLoop This is client-side JavaScript. I think we need to make significant modifications for it to run on a server.