v4.0.0
A rewrite of scambier/markov-strings made to utilize a relational SQL database rather than an in-memory object. The goal is to reduce memory usage, disk reads/writes, remove batch corpus generation, and increase performance.
This should be mostly functionally compatible with markov-strings v3, however the API usage varies. This version supports importing data exports from markov-strings v3 for easy migration.
New features:
- Database delete
- Phrase delete
Breaking changes:
- TypeORM setup required in parent project
- PRNG feature not supported by database queries
- Pretty much everything is
async
- Custom data in
ref
object moved toref.custom