stringreader
Simple string reader for JavaScript
Installation
npm install stringreader
Usage
var StringReader = ; var reader = 'Split this text by spaces.'; while !reader console;
This is largely based on a gist I made a couple of years ago.
License
MIT