Skip to content

Releases: splatterxl/mrkv

v1.1.0

15 Jan 17:51
Compare
Choose a tag to compare

This release adds a limit option to GenerationOptions passed to any generation function.

const map = await loadArray([
  "i like apples",
  "apples are my favourite fruit",
  "i like fruit but chocolate bars are objectively better",
  "chocolate bars are delicious",
]);

generateFromMap(map, { limit: 40 });

The output may exceed this maximum length in rare cases but the library will stop generation after the string reaches the length defined in this option.


npm link: https://www.npmjs.com/package/mrkv/v/1.1.0

Initial Release

15 Jan 16:57
Compare
Choose a tag to compare

See the documentation for usage details.

npm link: https://npmjs.com/package/mrkv