An example can be seen under lib_hello.js.
Note that while doing a simple conversion is easy, things get harder if you want to take multi-file features in consideration, notably cross file reference internals.
This is because these features require interacting with the ID database, and we don't do that from the default
ourbigbook.convertAPI because different deployments will have very different implementations, notably:
- local Node.js run uses SQLite, an implementation can be seen in the ourbigbook file class
- the in-browser version that runs in the browser editor of the OurBigBook Web makes API calls to the server