scmJS docs

In the source

For developers. The package is built from the editor's own modules, which is how it stays exactly the editor's code.

File Does
core/src/index.ts The whole public surface: one line per export, from the editor's modules
core/package.json The package; its version is written by the build from the editor's
scripts/build-core.mjs Builds core/dist/index.mjs (one module, mopaq left as a dependency) and core/dist/index.d.ts (one declarations file)
src/editor/mapFile.ts openMapBytes and writeMapBytes: opening and saving without the browser's pickers
tests/core.test.ts That nothing behind the entry runs UI code, that the command line imports only what the entry exports, and that the entry opens, checks, rewrites and reopens the test maps
@scm-js/replay Replays, a package of their own