git clone https://github.com/ijosh/tsdb.git
in a directory of your choice.
then make sure you have node and npm installed.
npm install
Will build node dependencies.
Then go to the tests
directory and run createTS.js and substitute your
timeseries object credentials to getTS.js and setTS.js.