yrs-lmdb is a persistence layer allowing to store Yrs documents and providing convenient utility functions to work with them, using LMDB for persistent backed.
Read the documentation for further examples.