std-env icon indicating copy to clipboard operation
std-env copied to clipboard

QuickJS and JerryScript detection

Open ClassicOldSong opened this issue 10 months ago • 2 comments

Describe the feature

QuickJS and JerryScript (maybe also Duktape) are also used in actual JavaScript development. Is it feasible to add support for these runtimes?

Also console usually aren't provided directly from these runtimes, might also add a platform-agnostic console here?

Additional information

  • [ ] Would you be willing to help implement this feature?

ClassicOldSong avatar Aug 18 '23 12:08 ClassicOldSong

Thanks for opening issue! Do you have any info about how we can detect https://github.com/bellard/quickjs and https://github.com/jerryscript-project/jerryscript runtimes?

For console, are you thinking of a stub?

pi0 avatar Aug 18 '23 12:08 pi0

Currently no idea since I haven't thought about detecting different environments with a single package (but hey you made one!).

I'll keep an eye on this later on, but lacking console.log and everything console might be one diameter for the detection.

ClassicOldSong avatar Aug 19 '23 01:08 ClassicOldSong