For guides on how to use version 2 please refer to the fp-ts
website
Supporting code for the Exploring fp-ts series.
The intro can be found here:
https://davetayls.me/blog/2018/05/19/fp-ts-00-exploring-fp-ts-series
Install the node dependencies
npm install
All the examples are inside the tests which can be run
npm test