Standard library modules are mostly implemented in pure Nim (and some are wrappers for C libraries, meaning you can't import them at all). If you import the stdlib json, it's like you are reimplementing JSON in JavaScript. Same goes for tables, JS already has a Map type, it's better to wrap that than to reimplement maps.