nonsense

Streams of nonsense in realtime!

Usage no npm install needed!

<script type="module">
  import nonsense from 'https://cdn.skypack.dev/nonsense';
</script>

README

nonsense

Streams of nonsense in realtime!

Using markov chains on the letters.

example

var nonsense = require('nonsense')(4) //matching context

wordStream
  .pipe(nonsense)

at anytime, call nonsense.random() to get a randomly generated word. it will seem kinda like the words from the input stream.

word stream should be a stream of single words, with no extra whitespace.

see example/words.js for a runnable example.

License

MIT