Version 1.1

Added Jest tests and also a script to run from the command line using
Node.js: