In case documentation isn't updated, there are tests for standard library
imports for
[JS](https://github.com/nim-lang/Nim/blob/devel/tests/js/tstdlib_imports.nim)
and
[NimScript](https://github.com/nim-lang/Nim/blob/devel/tests/test_nimscript.nims),
but all these do is test that these modules
I aggregated the info from this thread in a page on the Nim wiki : [Standard
library and the JavaScript
backend](https://github.com/nim-lang/Nim/wiki/Standard-library-and-the-JavaScript-backend)
Thanks for all the input!
> Usually the ones that work on NimScript may work on JavaScript, and theres a
> list on the NimScript documentation.
That is a great hint, @juancarlospaco. Thanks!
Usually the ones that work on NimScript may work on JavaScript, and theres a
list on the NimScript documentation.
Just so you know - osproc wouldn't make sense to support with the JS backend
anyway, since Nim JS backend is made for the front-end stuff, not node.js
backend. Node.js support is there only for the test suite
No, many modules work like `bitops`, any module that does anything in that list
will most likely not be supported.
library which do not work with
the JS backend?
You can see about the JS supported features
[here.](https://nim-lang.org/docs/backends.html#backends-the-javascript-target)
The js backend is mainly aimed for the browser, so things like `osproc` clearly
cant be used.
I just re-read the page you referenced: Do I deduct correctly that this means
from the Standard Library _only_ **strutils** , **math** , and **times** are
compatible with JS?