The docs for custom engines are a bit hard to find, though it seems like a very important part of integrating tokenIO (if I need to write the keys into a SQL database for example).
https://github.com/tokenio/sdk-js/tree/master/core/src/security/engines
It might help to have a section in the main docs, as a little bonus it might help to have an example of how to implement a custom database.